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

Newbie tearing hair out -help!

Quote Reply
Newbie tearing hair out -help!
The follicles are falling. I'm trying to install, but am in a terrible blind muddle due to getting the following server message, and would be wimperingly grateful for any help:

Error including libraries: Can't locate /cgi-bin/links/cgi-bin/admin/db.pl in @INC (@INC contains: /usr/lib/perl5/i386-linux/5.00404 /usr/lib/perl5 /usr/lib/perl5/site_perl/i386-linux /usr/lib/perl5/site_perl .) at admin.cgi line 28.

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

Now, I've re-uploaded the dp.pl to no effect. As an utter newbie, maybe it's my necessary cfg file changes that are wrong? Here's what I've put there...

(n.b. given that my cgi-bin is at 'http://www.mysite.com/cgi-bin' and all files in there are in a directory called 'links' - unchanged in their positions from the original Gossamer-Threads zip download.) O.K. Now, given that, is the following correct?...

# PATH and URL of Admin CGI directory. No Trailing Slash.
$db_script_path = "/cgi-bin/links/cgi-bin/admin";
$db_dir_url = "http://www.mysite.com/cgi-bin/links/cgi-bin/admin";

# URL of User CGI directory. No Trailing Slash.
$db_cgi_url = "http://www.mysite.com/cgi-bin";

# PATH and URL of Pages to be built. No Trailing Slash.
$build_root_path = "/links/pages";
$build_root_url = "http://www/mysite.com/cgi-bin/links/pages";

All suggestions gratefully received! Mike
Quote Reply
Re: Newbie tearing hair out -help! In reply to
Two problems:

1) Your paths are not correct for the following variables:

$db_script_path
$build_root_path

They should be the following:

Code:
$db_script_path = "/ABSOLUTE/PATH/TO/cgi-bin/links/cgi-bin/admin";
$build_root_path = "/ABSOLUTE/PATH/TO/cgi-bin/links/cgi-bin/admin";

Change /ABSOLUTE/PATH/TO/ to the complete absolute path where your files are located.

2) Also, make sure that you are using the ABSOLUTE PATH to your links.cfg file in the admin.cgi script, like the following:

Code:
require "/ABSOLUTE/PATH/TO/cgi-bin/links/admin/links.cfg";

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.
Quote Reply
Re: Newbie tearing hair out -help! In reply to
I answered your Duplicate Topic.

Wink

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.