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
Try adding:

use lib '/path/to/cgi-bin/links/admin';

just in front of:

use CGI ();

at the top of nph-build.cgi. I believe that's the same problem that some people have had, myself included, building through telnet.

Dan

edit: Hmm, I see I provided a duplicate response to a duplicate thread. Wink


[This message has been edited by Dan Kaplan (edited April 30, 2000).]
Quote Reply
Re: Build nph-build with telnet In reply to
Better late than never.... Wink

I had to take the day off after figuring out a demonicly designed logic bug Smile



Quote Reply
Re: Build nph-build with telnet In reply to
It's days like that that you don't know whether to be happy with yourself because you figured it out or disappointed because you spent so long on it...

Dan
Quote Reply
Re: Build nph-build with telnet In reply to
There's a third option... you organize a 'surprise' for the guy who wrote it .....

<heh><heh>....
Quote Reply
Re: Build nph-build with telnet In reply to
Thanks for your answers.

It doesn't give me an error but says some message like enter name value pair.

I'll wait for the new version for the cron jobs as it works on a web based format.

Kevin
http://dnsindex.com
Quote Reply
Re: Build nph-build with telnet In reply to
You need to hit ctrl-D when it says that. That's the CGI.pm waiting for you to enter the environment variables.

Quote Reply
Re: Build nph-build with telnet In reply to
Or just type:

nph-build.cgi do=1

and it will not ask you.

I am passing on what Alex told me.

------------------
Jian Liu
Indiana University Libraries