Undefined subroutine CGI::upload, revisited

Hey,

I’m suffering from the “Undefined subroutine CGI::upload” issue.

I found http://lists.fsck.com/pipermail/rt-users/2001-November/005314.html, which
indicates CGI.pm is too old. Whats “Too old” ? Nothing complained when
doing a make testdeps…

adrian

Adrian Chadd " i WAS a lesbian…but now i love everyone :P"
adrian@creative.net.au

Adrian Chadd:

Hey,

Hey Adrian, long time no mail, etc.

indicates CGI.pm is too old. Whats “Too old” ?

Um, whatever it is that you’re running. :slight_smile:

Nothing complained when
doing a make testdeps…

I run 2.77 at work and 2.81 at home, and they both work fine.
grepping CPAN suggests it was introduced in 2.45

Simon

lathos: nothing can make up for the middle class dinner
party couple sex ARSE of Sade

Adrian Chadd:

Hey,

Hey Adrian, long time no mail, etc.

Yeah, ask me about it privately. :slight_smile:

indicates CGI.pm is too old. Whats “Too old” ?

Um, whatever it is that you’re running. :slight_smile:

$CGI::VERSION=‘2.46’;

Nothing complained when
doing a make testdeps…

I run 2.77 at work and 2.81 at home, and they both work fine.
grepping CPAN suggests it was introduced in 2.45

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?

Adrian

Adrian Chadd " i WAS a lesbian…but now i love everyone :P"
adrian@creative.net.au

Adrian Chadd adrian@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 :slight_smile:

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