Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Build nph-build with telnet

Quote Reply
Build nph-build with telnet
Does anyone know what this means when I try to build via telnet. No problems building through the admin.

Links.pm: Can't locate Links.pm in @INC (@INC contains: admin /usr/lib/perl5/5.00503/i386-linux /usr/lib/perl5/5.00503 /usr/lib/perl5/site_perl/5.005/i386-linux /usr/lib/perl5/site_perl/5.005 .) at /home/dnsindex/cgi-bin/links/check.cgi line 11.
BEGIN failed--compilation aborted at /home/dnsindex/cgi-bin/links/check.cgi line 11.


Thanks,

Kevin
Quote Reply
Re: Build nph-build with telnet In reply to
You need to change the nph-build.cgi to have the full path to your links admin directory.

Not just 'admin' but /my/full/path/to/admin

(It's the same path you entered in Links.pm).

Perl being run from telnet doesn't know where the 'start' is unless you tell it.

Also, when running from telnet, the script will be run as you, not as the webserver. You might find permissions problems on your pages directory.

You might want to "chmod -R 777 /links/path/pages" to allow it to write the pages. Security issues are up to you Smile (but if no one else has access to your server, 777 on a webserver HTML sub-tree is not too bad).