[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] Undefined subroutine using a CGI Script on a Raq3
- Subject: Re: [cobalt-developers] Undefined subroutine using a CGI Script on a Raq3
- From: Balazs Nagy <bn@xxxxxxxxxxxxxx>
- Date: Tue May 9 15:48:44 2000
Michael wrote:
> Thanks for the comments. Considering that the code worked on my old server,
> I believe the problem is with the older version of Perl on the cobalt
> server.
>
> But I am very new to working with my own server and I have no idea where to
> get started on updating Perl. The only thing I've done with the Cobalt
> server is to install a .pkg file.
>
> Could you help me out a little or at least get me started in the right
> direction?
I recently updated my Raq2 "safely" to Perl 5.60:
get the latest Perl (it is usually named "stable.tar.gz") from perl.org or any
mirror
upload it to the server, as any user
untar it:
tar xvzf stable.tar.gz
[you will se a bunch of files scrolling down]
cd perl-5.6.0
rm -f config.sh Policy.sh
cd /usr/include && h2ph *.h sys/*.h
installhtml --help [this and the next line might not work]
cd pod && make tex && <process the latex files> [it's optional]
sh Configure -de [if you are asked any questions, accept default]
make
make test
su
Password: [give your admin passwort]
cp /usr/bin/perl /usr/bin/perl.5.00x [to save your old executable]
make install [this will install the new tree]
[at this point the cobalt scripts will not be available in the new tree, so you
need to fix this:]
cp -a /usr/lib/perl5/site_perl/Cobalt /usr/local/lib/perl5/site_perl/
this way you have your original perl in /usr/lib/perl5 in case you want to
revert, and you also have the new perl, and the new perl is the one used by
default.
Hope this helps.
Balage