[rt-users] Undefined subroutine CGI::upload, revisited
Justin Hawkins
justin at internode.com.au
Thu Sep 5 22:02:59 EDT 2002
Adrian Chadd <adrian at creative.net.au> writes:
> Hm. Well, FreeBSD-4.6.1 is running 5.00503. I'm dead sure I've updated the
> CGI via CPAN.. oh ..
>
> Removing previously used /root/.cpan/build/CGI.pm-2.81
>
> CPAN.pm: Going to build L/LD/LDS/CGI.pm-2.81.tar.gz
>
> Can't locate 5.60 in @INC (@INC contains: /usr/libdata/perl/5.00503/mach /usr/libdata/perl/5.00503 /usr/local/lib/perl5/site_perl/5.005/i386-freebsd /usr/local/lib/perl5/site_perl/5.005 .) at Makefile.PL line 2.
>
> Hmm. Any suggestions?
Yes.
CGI is one of the few I had to upgrade manually on my FreeBSD
system. When I say manually, I mean copying the CGI.pm from the latest
distribution over the top of the system one.
For reasons that I do not recall, doing a proper 'perl Makefile.PL &&
make && make install' did not work. Probably something very similar to
what happened to you up there :-)
The other option is to upgrade your system perl via the ports.
See http://www.perlmonks.org/index.pl?node_id=192255 for a mass of
useful information on that path. It is however a large step to do on a
production machine.
- Justin
--
Justin Hawkins
Internode Professional Access
More information about the rt-users
mailing list