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

nph-build.cgi cant build

Quote Reply
nph-build.cgi cant build
I installed Link SQL Beta5 and it works alright , but i cant run nph-build.cgi and build the pages

Quote Reply
Re: nph-build.cgi cant build In reply to
Ditto.

I am hosted with VServers. Found a workaround to installing which I will share in a separate post but the build problem lingers. Any help would be appreciated.

Mark Brasche
http://SurfSafely.com/
Quote Reply
Re: nph-build.cgi cant build In reply to
Could you elaborate on the problem......

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: nph-build.cgi cant build In reply to
Here's the problem AND the fix.

beta 5 requires that the Time::HiRes perl module be installed on your server. Without it nph-build.cgi, nph-index.cgi and nph-email.cgi will not function. Attempting to run it only returns "Document contains no data" error.

The fix is to comment out the Time::HiRes line in each of these scripts with # or install the perl module. I'm opting for the latter but need to figure out how to install the new module. Straight forward it is not.


Mark Brasche
http://SurfSafely.com/
Quote Reply
Re: nph-build.cgi cant build In reply to
Straight forward it is.......

At the telnet prompt (as root).type... perl -MCPAN -e 'install Time::HiRes'

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: nph-build.cgi cant build In reply to
In Reply To:
Straight forward it is.......

At the telnet prompt (as root).type... perl -MCPAN -e 'install Time::HiRes'
Holy smokes! Well, it installed, took me through several dozen (or so it seemed) configuration settings, then finished with this:

Running make install
Warning: You do not have permissions to install into /usr/local/lib/perl5/site_p
erl/5.005/i386-bsdos at /usr/local/lib/perl5/5.00503/ExtUtils/Install.pm line 61
.
mkdir /usr/local/lib/perl5/site_perl/5.005/i386-bsdos/auto/Time: Permission deni
ed at /usr/local/lib/perl5/5.00503/ExtUtils/Install.pm line 114
*** Error code 2

Stop.
/usr/bin/make install -- NOT OK
You may have to su to root to install the package
{13} %

My VServers environment is a bit peculiar. Most install programs run from telnet can't tell that /usr/home/username is really the virtual root. My life would be SO much easier if they could simply make my top level directory in telnet / just as it is in FTP instead of /usr/home/username. The full path where I need it to install from telnet is /usr/home/myusername/usr/local/lib/perl5/5.005......

Any suggestions?

Mark Brasche
http://SurfSafely.com/
Quote Reply
Re: nph-build.cgi cant build In reply to
It has nothing to do with virtual paths....

Basically you have to be an administrator and have root access to install the module.

If you are then you login via telnet and type su then type in your password again with gives you root access.

You can then install the module.

If you dont have root acess then you will need to get you host to install the module for you.

Paul Wilson. Shocked
(Dont blame me if I'm wrong!)
Quote Reply
Re: nph-build.cgi cant build In reply to
Been there. Done that. I'll ask again but I'm not holding my breath.

Bottom line, it works now. I'll just have to live with 1 second increments in the output.

Thanks for the help.


Mark Brasche
http://SurfSafely.com/