Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Links 1.1 - Perl 5.001 Error yet Perl 5.001+ is installed

Quote Reply
Links 1.1 - Perl 5.001 Error yet Perl 5.001+ is installed
I keep getting this error in the admin.cgi on the require 5.001; #Make sure we have at least perl 5.001 line...Yet I do have at least that, probably the newest version...

Error including libraries: Can't locate 5.001000000000000334 in @INC at /usr/local/etc/httpd/cgi-bin/gs/admin/admin.cgi line 40.

Make sure they exist, permissions are set properly, and paths are set correctly.

****

Also, I commented this line out so the following error probably doesn't mean anything but I'll post it anyway...I'm not really sure.

Error including libraries: syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 133, next 2 tokens "=>"
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 192, next 2 tokens "=>"
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 211, next 2 tokens "my ("
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 220, next 2 tokens "use Time"
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 223, next 2 tokens "timelocal("
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 223, next 2 tokens "$year)"
syntax error in file /usr/local/etc/httpd/cgi-bin/gs/admin/links.cfg at line 227, next token "}"

Make sure they exist, permissions are set properly, and paths are set correctly.


**

Can someone help me PLEEEAAAZZE?

Sincerely,

Christine Chaney
Quote Reply
Re: Links 1.1 - Perl 5.001 Error yet Perl 5.001+ is installed In reply to
You may have a new version of perl installed on your system, but the next two tokens error indicates that you are pointing to an older version of perl (usually perl 4)!!

Find out what version the default path you are using points to, then find out what the path to the latest version is.

Usually it is:

/usr/bin/perl
/usr/local/bin/perl

If you have telnet, try "which perl"

--Mark


------------------
You can reach my by ICQ at UID# 8602162

Quote Reply
Re: Links 1.1 - Perl 5.001 Error yet Perl 5.001+ is installed In reply to
It worked.. THANK YOU!

Both versions of Perl were installed...
/usr/bin/perl Perl 4.0 (I guess)
/usr/local/bin/perl Perl 5.001

I am part of a virtual server that installs these programs for you, and I was using the old perl without knowing it...