Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem after upgrading to Perl 5.8.8

Status
Not open for further replies.

PaulReed

Technical User
Jun 15, 2008
61
US
I'm really new with Perl and Perl Modules... and I've really painted myself into a corner here, if anyone can help me out I'd really appreciate it.

After upgrading to Perl 5.8.8 from 5.8.0 the following happens...

1) When I try to finish installing Perl Modules I get to Apache::Cookie and I get this...

cpan[1]> install Apache::Cookie
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Sun, 03 Aug 2008 18:02:45 GMT
Running install for module 'Apache::Cookie'
Running make for G/GE/GEOFF/libapreq-1.33.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9715)
Scanning cache /root/.cpan/build for sizes
.................................................................-----------DONE
DEL(1/2): /root/.cpan/build/mod_perl-1.30-ecPAxP
DEL(2/2): /root/.cpan/build/mod_perl-1.30-wU5SXs
CPAN: Compress::Zlib loaded ok (v2.012)
libapreq-1.33/
libapreq-1.33/MANIFEST
libapreq-1.33/missing
libapreq-1.33/Makefile.PL
libapreq-1.33/libapreq.pod
libapreq-1.33/acinclude.m4
libapreq-1.33/lib/
libapreq-1.33/lib/Apache/
libapreq-1.33/lib/Apache/libapreq.pm
libapreq-1.33/INSTALL
libapreq-1.33/configure.in
libapreq-1.33/eg/
libapreq-1.33/eg/perl/
libapreq-1.33/eg/perl/file_upload.pl
libapreq-1.33/eg/perl/cookie.pl
libapreq-1.33/eg/c/
libapreq-1.33/eg/c/testapreq/
libapreq-1.33/eg/c/testapreq/Makefile.apxs
libapreq-1.33/eg/c/testapreq/mod_testapreq.c
libapreq-1.33/eg/c/testapreq/Makefile.tmpl
libapreq-1.33/eg/c/testapreq/mod_testapreq.module
libapreq-1.33/mkinstalldirs
libapreq-1.33/patches/
libapreq-1.33/patches/apache-1.3+apreq.patch
libapreq-1.33/patches/README
libapreq-1.33/configure
libapreq-1.33/typemap
libapreq-1.33/aclocal.m4
libapreq-1.33/ltmain.sh
libapreq-1.33/ToDo
libapreq-1.33/t/
libapreq-1.33/t/TEST.PL
libapreq-1.33/t/apreq/
libapreq-1.33/t/apreq/inherit.t
libapreq-1.33/t/apreq/big_input.t
libapreq-1.33/t/apreq/cookie.t
libapreq-1.33/t/apreq/request.t
libapreq-1.33/t/request-inherit.pl
libapreq-1.33/t/response/
libapreq-1.33/t/response/TestApReq/
libapreq-1.33/t/response/TestApReq/inherit.pm
libapreq-1.33/t/response/TestApReq/request.pm
libapreq-1.33/t/response/TestApReq/big_input.pm
libapreq-1.33/t/response/TestApReq/cookie.pm
libapreq-1.33/CREDITS
libapreq-1.33/README
libapreq-1.33/Makefile.in
libapreq-1.33/Request/
libapreq-1.33/Request/Request.xs
libapreq-1.33/Request/Makefile.PL
libapreq-1.33/Request/Request.pm
libapreq-1.33/c/
libapreq-1.33/c/Makefile.noperl
libapreq-1.33/c/apache_request.h
libapreq-1.33/c/apache_cookie.h
libapreq-1.33/c/Makefile.PL
libapreq-1.33/c/apache_multipart_buffer.h
libapreq-1.33/c/apache_request.c
libapreq-1.33/c/apache_multipart_buffer.c
libapreq-1.33/c/apache_cookie.c
libapreq-1.33/c/Makefile.in
libapreq-1.33/c/Makefile.am
libapreq-1.33/BUILD.sh
libapreq-1.33/config.sub
libapreq-1.33/META.yml
libapreq-1.33/Cookie/
libapreq-1.33/Cookie/Makefile.PL
libapreq-1.33/Cookie/Cookie.pm
libapreq-1.33/Cookie/Cookie.xs
libapreq-1.33/Makefile.am
libapreq-1.33/config.guess
libapreq-1.33/LICENSE
libapreq-1.33/install-sh
libapreq-1.33/depcomp
libapreq-1.33/INSTALL.MacOSX
libapreq-1.33/Changes
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build G/GE/GEOFF/libapreq-1.33.tar.gz

Please install mod_perl: 1.25 < version < 1.99
(Can't locate mod_perl.pm in @INC (@INC contains: Apache-Test/lib /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at Makefile.PL line 27.
) at Makefile.PL line 28.
BEGIN failed--compilation aborted at Makefile.PL line 36.
Warning: No success on command[/usr/local/bin/perl Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
GEOFF/libapreq-1.33.tar.gz
/usr/local/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/root/.cpan/build/libapreq-1.33-77CYwI/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
GEOFF/libapreq-1.33.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 512

2) When trying to install mod_perl it can't find "apache src directory" and neither can I.)

3) Searching for mod_perl.pm I find it here, and I update the $PERL5LIB env variable with this...
export PERL5LIB=/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi

I get the following error...

cpan[1]> install Apache::Cookie
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Sun, 03 Aug 2008 18:02:45 GMT
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
perl: relocation error: /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi/auto/Compress/Raw/Zlib/Zlib.so: undefined symbol: Perl_Gthr_key_ptr
 
Since you're in a corner, here are a couple of possible ideas to consider (if you haven't already tried these)
- Replace PERL5LIB to what it originally had - I'm thinking this will resolve you're 3rd point.
- Append "/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi" to @INC - this may deal with your "Can't locate mod_perl.pm" error at the end of your 1st point.
 
Thanks PinkeyNBrain,
I tried to locate @INC and I can't seem to find it... I'm running CentOS?

Thanks,
PaulReed
 
@INC is a variable within the perl script. Check your Makefile.PL (around line 27 ?!) and add the following line
Code:
push(@INC, '/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi');
 
Hi PinkeyNBrain,
I really appreciate your help but I don't know what Makefile.PL you're referring too... I'm really new at this.
 
Hi PinkeyNBrain,
I figured out what Makefile.PL you talking about, I'm going to try it now... I'll let you know.

Thanks
 
Try this one:
- Since your error message is saying that the @INC var is looking through
(Can't locate mod_perl.pm in @INC (@INC contains: Apache-Test/lib /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl .) at Makefile.PL line 27.

and if I'm reading your (original) 3rd point correctly, you are finding the mod_perl.pm under
/usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi

How about trying to put a copy of the mod_perl.pm under /usr/local/lib/perl5/site_perl (i.e. one of the directories @INC is considering valid)
 
Thanks PinkeyNBrain, I did cp mod_perl.pm over to that directory... this is what I got after I did that.

install Apache::Cookie
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.012)
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 05 Aug 2008 17:02:51 GMT
CPAN: HTTP::Date loaded ok (v5.810)
............................................................................DONE
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Running install for module 'Apache::Cookie'
Running make for G/GE/GEOFF/libapreq-1.33.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9715)
libapreq-1.33/
libapreq-1.33/MANIFEST
libapreq-1.33/missing
libapreq-1.33/Makefile.PL
libapreq-1.33/libapreq.pod
libapreq-1.33/acinclude.m4
libapreq-1.33/lib/
libapreq-1.33/lib/Apache/
libapreq-1.33/lib/Apache/libapreq.pm
libapreq-1.33/INSTALL
libapreq-1.33/configure.in
libapreq-1.33/eg/
libapreq-1.33/eg/perl/
libapreq-1.33/eg/perl/file_upload.pl
libapreq-1.33/eg/perl/cookie.pl
libapreq-1.33/eg/c/
libapreq-1.33/eg/c/testapreq/
libapreq-1.33/eg/c/testapreq/Makefile.apxs
libapreq-1.33/eg/c/testapreq/mod_testapreq.c
libapreq-1.33/eg/c/testapreq/Makefile.tmpl
libapreq-1.33/eg/c/testapreq/mod_testapreq.module
libapreq-1.33/mkinstalldirs
libapreq-1.33/patches/
libapreq-1.33/patches/apache-1.3+apreq.patch
libapreq-1.33/patches/README
libapreq-1.33/configure
libapreq-1.33/typemap
libapreq-1.33/aclocal.m4
libapreq-1.33/ltmain.sh
libapreq-1.33/ToDo
libapreq-1.33/t/
libapreq-1.33/t/TEST.PL
libapreq-1.33/t/apreq/
libapreq-1.33/t/apreq/inherit.t
libapreq-1.33/t/apreq/big_input.t
libapreq-1.33/t/apreq/cookie.t
libapreq-1.33/t/apreq/request.t
libapreq-1.33/t/request-inherit.pl
libapreq-1.33/t/response/
libapreq-1.33/t/response/TestApReq/
libapreq-1.33/t/response/TestApReq/inherit.pm
libapreq-1.33/t/response/TestApReq/request.pm
libapreq-1.33/t/response/TestApReq/big_input.pm
libapreq-1.33/t/response/TestApReq/cookie.pm
libapreq-1.33/CREDITS
libapreq-1.33/README
libapreq-1.33/Makefile.in
libapreq-1.33/Request/
libapreq-1.33/Request/Request.xs
libapreq-1.33/Request/Makefile.PL
libapreq-1.33/Request/Request.pm
libapreq-1.33/c/
libapreq-1.33/c/Makefile.noperl
libapreq-1.33/c/apache_request.h
libapreq-1.33/c/apache_cookie.h
libapreq-1.33/c/Makefile.PL
libapreq-1.33/c/apache_multipart_buffer.h
libapreq-1.33/c/apache_request.c
libapreq-1.33/c/apache_multipart_buffer.c
libapreq-1.33/c/apache_cookie.c
libapreq-1.33/c/Makefile.in
libapreq-1.33/c/Makefile.am
libapreq-1.33/BUILD.sh
libapreq-1.33/config.sub
libapreq-1.33/META.yml
libapreq-1.33/Cookie/
libapreq-1.33/Cookie/Makefile.PL
libapreq-1.33/Cookie/Cookie.pm
libapreq-1.33/Cookie/Cookie.xs
libapreq-1.33/Makefile.am
libapreq-1.33/config.guess
libapreq-1.33/LICENSE
libapreq-1.33/install-sh
libapreq-1.33/depcomp
libapreq-1.33/INSTALL.MacOSX
libapreq-1.33/Changes
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build G/GE/GEOFF/libapreq-1.33.tar.gz

[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
ERROR from evaluation of /root/.cpan/build/libapreq-1.33-Rze9ey/c/Makefile.PL: Can't locate Apache/src.pm in @INC (@INC contains: /root/.cpan/build/libapreq-1.33-Rze9ey/blib/lib /root/.cpan/build/libapreq-1.33-Rze9ey/blib/arch /root/.cpan/build/libapreq-1.33-Rze9ey Apache-Test/lib /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /root/.cpan/build/libapreq-1.33-Rze9ey .) at ./Makefile.PL line 10.
Warning: No success on command[/usr/local/bin/perl Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
GEOFF/libapreq-1.33.tar.gz
/usr/local/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/root/.cpan/build/libapreq-1.33-Rze9ey/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
GEOFF/libapreq-1.33.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 512




I moved src.pm to /usr/local/lib/perl5/site_perl with mod_perl.pm but for some reason it didn't find it... I'm getting this.





install Apache::Cookie
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.012)
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 05 Aug 2008 17:02:51 GMT
CPAN: HTTP::Date loaded ok (v5.810)
............................................................................DONE
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Running install for module 'Apache::Cookie'
Running make for G/GE/GEOFF/libapreq-1.33.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9715)
libapreq-1.33/
libapreq-1.33/MANIFEST
libapreq-1.33/missing
libapreq-1.33/Makefile.PL
libapreq-1.33/libapreq.pod
libapreq-1.33/acinclude.m4
libapreq-1.33/lib/
libapreq-1.33/lib/Apache/
libapreq-1.33/lib/Apache/libapreq.pm
libapreq-1.33/INSTALL
libapreq-1.33/configure.in
libapreq-1.33/eg/
libapreq-1.33/eg/perl/
libapreq-1.33/eg/perl/file_upload.pl
libapreq-1.33/eg/perl/cookie.pl
libapreq-1.33/eg/c/
libapreq-1.33/eg/c/testapreq/
libapreq-1.33/eg/c/testapreq/Makefile.apxs
libapreq-1.33/eg/c/testapreq/mod_testapreq.c
libapreq-1.33/eg/c/testapreq/Makefile.tmpl
libapreq-1.33/eg/c/testapreq/mod_testapreq.module
libapreq-1.33/mkinstalldirs
libapreq-1.33/patches/
libapreq-1.33/patches/apache-1.3+apreq.patch
libapreq-1.33/patches/README
libapreq-1.33/configure
libapreq-1.33/typemap
libapreq-1.33/aclocal.m4
libapreq-1.33/ltmain.sh
libapreq-1.33/ToDo
libapreq-1.33/t/
libapreq-1.33/t/TEST.PL
libapreq-1.33/t/apreq/
libapreq-1.33/t/apreq/inherit.t
libapreq-1.33/t/apreq/big_input.t
libapreq-1.33/t/apreq/cookie.t
libapreq-1.33/t/apreq/request.t
libapreq-1.33/t/request-inherit.pl
libapreq-1.33/t/response/
libapreq-1.33/t/response/TestApReq/
libapreq-1.33/t/response/TestApReq/inherit.pm
libapreq-1.33/t/response/TestApReq/request.pm
libapreq-1.33/t/response/TestApReq/big_input.pm
libapreq-1.33/t/response/TestApReq/cookie.pm
libapreq-1.33/CREDITS
libapreq-1.33/README
libapreq-1.33/Makefile.in
libapreq-1.33/Request/
libapreq-1.33/Request/Request.xs
libapreq-1.33/Request/Makefile.PL
libapreq-1.33/Request/Request.pm
libapreq-1.33/c/
libapreq-1.33/c/Makefile.noperl
libapreq-1.33/c/apache_request.h
libapreq-1.33/c/apache_cookie.h
libapreq-1.33/c/Makefile.PL
libapreq-1.33/c/apache_multipart_buffer.h
libapreq-1.33/c/apache_request.c
libapreq-1.33/c/apache_multipart_buffer.c
libapreq-1.33/c/apache_cookie.c
libapreq-1.33/c/Makefile.in
libapreq-1.33/c/Makefile.am
libapreq-1.33/BUILD.sh
libapreq-1.33/config.sub
libapreq-1.33/META.yml
libapreq-1.33/Cookie/
libapreq-1.33/Cookie/Makefile.PL
libapreq-1.33/Cookie/Cookie.pm
libapreq-1.33/Cookie/Cookie.xs
libapreq-1.33/Makefile.am
libapreq-1.33/config.guess
libapreq-1.33/LICENSE
libapreq-1.33/install-sh
libapreq-1.33/depcomp
libapreq-1.33/INSTALL.MacOSX
libapreq-1.33/Changes
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build G/GE/GEOFF/libapreq-1.33.tar.gz

[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
ERROR from evaluation of /root/.cpan/build/libapreq-1.33-GCB9eS/c/Makefile.PL: Can't locate Apache/src.pm in @INC (@INC contains: /root/.cpan/build/libapreq-1.33-GCB9eS/blib/lib /root/.cpan/build/libapreq-1.33-GCB9eS/blib/arch /root/.cpan/build/libapreq-1.33-GCB9eS Apache-Test/lib /usr/local/lib/perl5/5.8.8/i686-linux /usr/local/lib/perl5/5.8.8 /usr/local/lib/perl5/site_perl/5.8.8/i686-linux /usr/local/lib/perl5/site_perl/5.8.8 /usr/local/lib/perl5/site_perl /root/.cpan/build/libapreq-1.33-GCB9eS .) at ./Makefile.PL line 10.
Warning: No success on command[/usr/local/bin/perl Makefile.PL]
Warning (usually harmless): 'YAML' not installed, will not store persistent state
GEOFF/libapreq-1.33.tar.gz
/usr/local/bin/perl Makefile.PL -- NOT OK
Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Could not read '/root/.cpan/build/libapreq-1.33-GCB9eS/META.yml'. Falling back to other methods to determine prerequisites
Failed during this command:
GEOFF/libapreq-1.33.tar.gz : writemakefile NO '/usr/local/bin/perl Makefile.PL' returned status 512


Is there a way I can start all over? I mean start all over with installing all the Perl Modules again where all would be under Perl 5.8.8?

Thanks,
 
Instead of putting src.pm under:
/usr/local/lib/perl5/site_perl

Try:
/usr/local/lib/perl5/site_perl/Apache/src.pm

since that is what it appears to be looking for. Careful about moving (mv) your files. You may want to just make copies (cp). There may be some other lingering routine that wants to find the 'moved' file in it's original location.

As for backing everything out, there most likely is. But that is a level of voodoo that I wont try to offer assistance with because I'm not very familiar with it.
 
PiinkeyNBrain I meant I cp it, my mistake. I did what you suggested and put it at /usr/local/lib/perl5/site_perl/Apache/src.pm.

I got this...

install Apache::Cookie
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.012)
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 05 Aug 2008 17:02:51 GMT
CPAN: HTTP::Date loaded ok (v5.810)
............................................................................DONE
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Running install for module 'Apache::Cookie'
Running make for G/GE/GEOFF/libapreq-1.33.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9715)
libapreq-1.33/
libapreq-1.33/MANIFEST
libapreq-1.33/missing
libapreq-1.33/Makefile.PL
libapreq-1.33/libapreq.pod
libapreq-1.33/acinclude.m4
libapreq-1.33/lib/
libapreq-1.33/lib/Apache/
libapreq-1.33/lib/Apache/libapreq.pm
libapreq-1.33/INSTALL
libapreq-1.33/configure.in
libapreq-1.33/eg/
libapreq-1.33/eg/perl/
libapreq-1.33/eg/perl/file_upload.pl
libapreq-1.33/eg/perl/cookie.pl
libapreq-1.33/eg/c/
libapreq-1.33/eg/c/testapreq/
libapreq-1.33/eg/c/testapreq/Makefile.apxs
libapreq-1.33/eg/c/testapreq/mod_testapreq.c
libapreq-1.33/eg/c/testapreq/Makefile.tmpl
libapreq-1.33/eg/c/testapreq/mod_testapreq.module
libapreq-1.33/mkinstalldirs
libapreq-1.33/patches/
libapreq-1.33/patches/apache-1.3+apreq.patch
libapreq-1.33/patches/README
libapreq-1.33/configure
libapreq-1.33/typemap
libapreq-1.33/aclocal.m4
libapreq-1.33/ltmain.sh
libapreq-1.33/ToDo
libapreq-1.33/t/
libapreq-1.33/t/TEST.PL
libapreq-1.33/t/apreq/
libapreq-1.33/t/apreq/inherit.t
libapreq-1.33/t/apreq/big_input.t
libapreq-1.33/t/apreq/cookie.t
libapreq-1.33/t/apreq/request.t
libapreq-1.33/t/request-inherit.pl
libapreq-1.33/t/response/
libapreq-1.33/t/response/TestApReq/
libapreq-1.33/t/response/TestApReq/inherit.pm
libapreq-1.33/t/response/TestApReq/request.pm
libapreq-1.33/t/response/TestApReq/big_input.pm
libapreq-1.33/t/response/TestApReq/cookie.pm
libapreq-1.33/CREDITS
libapreq-1.33/README
libapreq-1.33/Makefile.in
libapreq-1.33/Request/
libapreq-1.33/Request/Request.xs
libapreq-1.33/Request/Makefile.PL
libapreq-1.33/Request/Request.pm
libapreq-1.33/c/
libapreq-1.33/c/Makefile.noperl
libapreq-1.33/c/apache_request.h
libapreq-1.33/c/apache_cookie.h
libapreq-1.33/c/Makefile.PL
libapreq-1.33/c/apache_multipart_buffer.h
libapreq-1.33/c/apache_request.c
libapreq-1.33/c/apache_multipart_buffer.c
libapreq-1.33/c/apache_cookie.c
libapreq-1.33/c/Makefile.in
libapreq-1.33/c/Makefile.am
libapreq-1.33/BUILD.sh
libapreq-1.33/config.sub
libapreq-1.33/META.yml
libapreq-1.33/Cookie/
libapreq-1.33/Cookie/Makefile.PL
libapreq-1.33/Cookie/Cookie.pm
libapreq-1.33/Cookie/Cookie.xs
libapreq-1.33/Makefile.am
libapreq-1.33/config.guess
libapreq-1.33/LICENSE
libapreq-1.33/install-sh
libapreq-1.33/depcomp
libapreq-1.33/INSTALL.MacOSX
libapreq-1.33/Changes
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build G/GE/GEOFF/libapreq-1.33.tar.gz

[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
Could not read '/root/.cpan/build/libapreq-1.33-tfPItG/META.yml'. Falling back to other methods to determine prerequisites
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33-tfPItG/c'
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_request.c
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_cookie.c
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_multipart_buffer.c
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o && : ../blib/arch/auto/libapreq/libapreq.a
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_multipart_buffer.h ../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.33-tfPItG/c'
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33-tfPItG/Request'
cp Request.pm ../blib/lib/Apache/Request.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Request.xs > Request.xsc && mv Request.xsc Request.c
Error: 'Apache::Table' not in typemap in Request.xs, line 400
make[1]: *** [Request.c] Error 1
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.33-tfPItG/Request'
make: *** [subdirs] Error 2
GEOFF/libapreq-1.33.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
GEOFF/libapreq-1.33.tar.gz : make NO


 
Seems like the install keeps asking about Digest::SHA.

Always possible it will cure some evils along the way.
 
PinkeyNBrain,

I don't know what that is other than it looks like another module, what should I do?
 
PinkeyNBrain,

I ran it, and got this... do I need to do anything at the 2> prompt> ?


install Digest::SHA
CPAN: Storable loaded ok (v2.15)
Going to read /root/.cpan/Metadata
Database was generated on Tue, 05 Aug 2008 17:02:51 GMT
Running install for module 'Digest::SHA'
Running make for M/MS/MSHELOR/Digest-SHA-5.47.tar.gz

CPAN: checksum security checks disabled because Digest::SHA not installed.
Please consider installing the Digest::SHA module.

CPAN: Time::HiRes loaded ok (v1.9715)
Scanning cache /root/.cpan/build for sizes
.............................................................---------------DONE
DEL(1/2): /root/.cpan/build/libapreq-1.33-orLXJ8
DEL(2/2): /root/.cpan/build/libapreq-1.33-s8VLE6
CPAN: Compress::Zlib loaded ok (v2.012)
Digest-SHA-5.47/
Digest-SHA-5.47/lib/
Digest-SHA-5.47/lib/Digest/
Digest-SHA-5.47/lib/Digest/SHA.pm
Digest-SHA-5.47/README
Digest-SHA-5.47/src/
Digest-SHA-5.47/src/hmac.h
Digest-SHA-5.47/src/hmacxtra.c
Digest-SHA-5.47/src/sha.h
Digest-SHA-5.47/src/shaxtra.c
Digest-SHA-5.47/src/sha64bit.h
Digest-SHA-5.47/src/sha64bit.c
Digest-SHA-5.47/src/hmac.c
Digest-SHA-5.47/src/sha.c
Digest-SHA-5.47/Makefile.PL
Digest-SHA-5.47/examples/
Digest-SHA-5.47/examples/dups
Digest-SHA-5.47/META.yml
Digest-SHA-5.47/Changes
Digest-SHA-5.47/shasum
Digest-SHA-5.47/typemap
Digest-SHA-5.47/MANIFEST
Digest-SHA-5.47/t/
Digest-SHA-5.47/t/nistbyte.t
Digest-SHA-5.47/t/nistbit.t
Digest-SHA-5.47/t/rfc2202.t
Digest-SHA-5.47/t/bitbuf.t
Digest-SHA-5.47/t/hmacsha.t
Digest-SHA-5.47/t/podcover.t
Digest-SHA-5.47/t/methods.t
Digest-SHA-5.47/t/sha224.t
Digest-SHA-5.47/t/dumpload.t
Digest-SHA-5.47/t/sha384.t
Digest-SHA-5.47/t/sha1.t
Digest-SHA-5.47/t/sha512.t
Digest-SHA-5.47/t/gg.t
Digest-SHA-5.47/t/allfcns.t
Digest-SHA-5.47/t/gglong.t
Digest-SHA-5.47/t/pod.t
Digest-SHA-5.47/t/woodbury.t
Digest-SHA-5.47/t/fips198.t
Digest-SHA-5.47/t/ireland.t
Digest-SHA-5.47/t/base64.t
Digest-SHA-5.47/t/sha256.t
Digest-SHA-5.47/SHA.xs
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build M/MS/MSHELOR/Digest-SHA-5.47.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Digest::SHA
Could not read '/root/.cpan/build/Digest-SHA-5.47-yKaNCz/META.yml'. Falling back to other methods to determine prerequisites
cp lib/Digest/SHA.pm blib/lib/Digest/SHA.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap SHA.xs > SHA.xsc && mv SHA.xsc SHA.c
cc -c -I. -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"5.47\" -DXS_VERSION=\"5.47\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" -DSHA_PERL_MODULE -DSHA_STO_CLASS=static SHA.c
Running Mkbootstrap for Digest::SHA ()
chmod 644 SHA.bs
rm -f blib/arch/auto/Digest/SHA/SHA.so
cc -shared -L/usr/local/lib SHA.o -o blib/arch/auto/Digest/SHA/SHA.so \
\

chmod 755 blib/arch/auto/Digest/SHA/SHA.so
cp SHA.bs blib/arch/auto/Digest/SHA/SHA.bs
chmod 644 blib/arch/auto/Digest/SHA/SHA.bs
cp shasum blib/script/shasum
/usr/local/bin/perl "-MExtUtils::MY" -e "MY->fixin(shift)" blib/script/shasum
Manifying blib/man1/shasum.1
Manifying blib/man3/Digest::SHA.3
MSHELOR/Digest-SHA-5.47.tar.gz
/usr/bin/make -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
t/allfcns.....ok
t/base64......ok
t/bitbuf......ok
t/dumpload....ok
t/fips198.....ok
t/gg..........ok
t/gglong......ok
t/hmacsha.....ok
t/ireland.....ok
t/methods.....ok
t/nistbit.....ok
t/nistbyte....ok
t/pod.........skipped: Test::pod 1.00 required for testing POD
t/podcover....skipped: Test::pod::Coverage 0.08 required for testing POD coverage
t/rfc2202.....ok
t/sha1........ok
t/sha224......ok
t/sha256......ok
t/sha384......ok
t/sha512......ok
t/woodbury....ok
All tests successful.
Files=21, Tests=120, 0 wallclock secs ( 0.04 usr 0.03 sys + 0.30 cusr 0.12 csys = 0.49 CPU)
Result: PASS
MSHELOR/Digest-SHA-5.47.tar.gz
/usr/bin/make test -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make install
Prepending /root/.cpan/build/Digest-SHA-5.47-yKaNCz/blib/arch /root/.cpan/build/Digest-SHA-5.47-yKaNCz/blib/lib to PERL5LIB for 'install'
Installing /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/Digest/SHA/SHA.so
Installing /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/Digest/SHA/SHA.bs
Files found in blib/arch: installing files in blib/lib into architecture dependent library tree
Installing /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/Digest/SHA.pm
Installing /usr/local/share/man/man1/shasum.1
Installing /usr/local/share/man/man3/Digest::SHA.3
Installing /usr/local/bin/shasum
Writing /usr/local/lib/perl5/site_perl/5.8.8/i686-linux/auto/Digest/SHA/.packlist
Appending installation info to /usr/local/lib/perl5/5.8.8/i686-linux/perllocal.pod
MSHELOR/Digest-SHA-5.47.tar.gz
/usr/bin/make install -- OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
 
Instead of typing - install Apache::Cookie
Try - install Digest::SHA

(Assuming that is successful)
Then try - install Apache::Cookie


Getting late at this end - my domestic CEO will be at it. Will reconvene tomorrow.
 
PinkeyNBrain... I know what you mean, I have one of those too :) Is it expensive to rewrite some perl scripts? Btw, where are you?

I ran Apache::Cookie and got this... it's still not right but it seems a bit better?


install Apache::Cookie
Going to read /root/.cpan/sources/authors/01mailrc.txt.gz
CPAN: Compress::Zlib loaded ok (v2.012)
............................................................................DONE
Going to read /root/.cpan/sources/modules/02packages.details.txt.gz
Database was generated on Tue, 05 Aug 2008 17:02:51 GMT
CPAN: HTTP::Date loaded ok (v5.810)
............................................................................DONE
Going to read /root/.cpan/sources/modules/03modlist.data.gz
............................................................................DONE
Running install for module 'Apache::Cookie'
Running make for G/GE/GEOFF/libapreq-1.33.tar.gz
CPAN: Digest::SHA loaded ok (v5.47)
Checksum for /root/.cpan/sources/authors/id/G/GE/GEOFF/libapreq-1.33.tar.gz ok
libapreq-1.33/
libapreq-1.33/MANIFEST
libapreq-1.33/missing
libapreq-1.33/Makefile.PL
libapreq-1.33/libapreq.pod
libapreq-1.33/acinclude.m4
libapreq-1.33/lib/
libapreq-1.33/lib/Apache/
libapreq-1.33/lib/Apache/libapreq.pm
libapreq-1.33/INSTALL
libapreq-1.33/configure.in
libapreq-1.33/eg/
libapreq-1.33/eg/perl/
libapreq-1.33/eg/perl/file_upload.pl
libapreq-1.33/eg/perl/cookie.pl
libapreq-1.33/eg/c/
libapreq-1.33/eg/c/testapreq/
libapreq-1.33/eg/c/testapreq/Makefile.apxs
libapreq-1.33/eg/c/testapreq/mod_testapreq.c
libapreq-1.33/eg/c/testapreq/Makefile.tmpl
libapreq-1.33/eg/c/testapreq/mod_testapreq.module
libapreq-1.33/mkinstalldirs
libapreq-1.33/patches/
libapreq-1.33/patches/apache-1.3+apreq.patch
libapreq-1.33/patches/README
libapreq-1.33/configure
libapreq-1.33/typemap
libapreq-1.33/aclocal.m4
libapreq-1.33/ltmain.sh
libapreq-1.33/ToDo
libapreq-1.33/t/
libapreq-1.33/t/TEST.PL
libapreq-1.33/t/apreq/
libapreq-1.33/t/apreq/inherit.t
libapreq-1.33/t/apreq/big_input.t
libapreq-1.33/t/apreq/cookie.t
libapreq-1.33/t/apreq/request.t
libapreq-1.33/t/request-inherit.pl
libapreq-1.33/t/response/
libapreq-1.33/t/response/TestApReq/
libapreq-1.33/t/response/TestApReq/inherit.pm
libapreq-1.33/t/response/TestApReq/request.pm
libapreq-1.33/t/response/TestApReq/big_input.pm
libapreq-1.33/t/response/TestApReq/cookie.pm
libapreq-1.33/CREDITS
libapreq-1.33/README
libapreq-1.33/Makefile.in
libapreq-1.33/Request/
libapreq-1.33/Request/Request.xs
libapreq-1.33/Request/Makefile.PL
libapreq-1.33/Request/Request.pm
libapreq-1.33/c/
libapreq-1.33/c/Makefile.noperl
libapreq-1.33/c/apache_request.h
libapreq-1.33/c/apache_cookie.h
libapreq-1.33/c/Makefile.PL
libapreq-1.33/c/apache_multipart_buffer.h
libapreq-1.33/c/apache_request.c
libapreq-1.33/c/apache_multipart_buffer.c
libapreq-1.33/c/apache_cookie.c
libapreq-1.33/c/Makefile.in
libapreq-1.33/c/Makefile.am
libapreq-1.33/BUILD.sh
libapreq-1.33/config.sub
libapreq-1.33/META.yml
libapreq-1.33/Cookie/
libapreq-1.33/Cookie/Makefile.PL
libapreq-1.33/Cookie/Cookie.pm
libapreq-1.33/Cookie/Cookie.xs
libapreq-1.33/Makefile.am
libapreq-1.33/config.guess
libapreq-1.33/LICENSE
libapreq-1.33/install-sh
libapreq-1.33/depcomp
libapreq-1.33/INSTALL.MacOSX
libapreq-1.33/Changes
CPAN: File::Temp loaded ok (v0.16)

CPAN.pm: Going to build G/GE/GEOFF/libapreq-1.33.tar.gz

[ info] generating script t/TEST
Checking if your kit is complete...
Looks good
Writing Makefile for libapreq
mkdir ../blib
mkdir ../blib/arch
mkdir ../blib/arch/auto
mkdir ../blib/arch/auto/libapreq
Writing Makefile for Apache::Request
Writing Makefile for Apache::Cookie
Writing Makefile for libapreq
Could not read '/root/.cpan/build/libapreq-1.33-wKJ02j/META.yml'. Falling back to other methods to determine prerequisites
cp lib/Apache/libapreq.pm blib/lib/Apache/libapreq.pm
cp libapreq.pod blib/lib/libapreq.pod
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33-wKJ02j/c'
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_request.c
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_cookie.c
cc -c -I/etc/httpd/include -I/etc/httpd/include -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -DVERSION=\"\" -DXS_VERSION=\"\" -fpic "-I/usr/local/lib/perl5/5.8.8/i686-linux/CORE" apache_multipart_buffer.c
rm -rf ../blib/arch/auto/libapreq/libapreq.a
/usr/bin/ar cr ../blib/arch/auto/libapreq/libapreq.a apache_request.o apache_cookie.o apache_multipart_buffer.o && : ../blib/arch/auto/libapreq/libapreq.a
chmod 755 ../blib/arch/auto/libapreq/libapreq.a
cp apache_multipart_buffer.h ../blib/arch/auto/libapreq/include/apache_multipart_buffer.h
cp apache_cookie.h ../blib/arch/auto/libapreq/include/apache_cookie.h
cp apache_request.h ../blib/arch/auto/libapreq/include/apache_request.h
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.33-wKJ02j/c'
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33-wKJ02j/Request'
cp Request.pm ../blib/lib/Apache/Request.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.8.8/ExtUtils/typemap Request.xs > Request.xsc && mv Request.xsc Request.c
Error: 'Apache::Table' not in typemap in Request.xs, line 400
make[1]: *** [Request.c] Error 1
make[1]: Leaving directory `/root/.cpan/build/libapreq-1.33-wKJ02j/Request'
make: *** [subdirs] Error 2
GEOFF/libapreq-1.33.tar.gz
/usr/bin/make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
Can't test without successful make
Running make install
Make had returned bad status, install seems impossible
Failed during this command:
GEOFF/libapreq-1.33.tar.gz : make NO
 
Expense - Depends on perspective. By looking at these posts, you spent most of yesterday getting this to work ... some may call the loss of an entire day expensive. I'll venture to say that in your case, one piece of the puzzle is out of place and it's causing a domino effect. The "install Apache::Cookie" command would most likely work without fault had one or two key pieces had been in place first.

Where - An hour east of the time stamps in these posts - Wisconsin.

Next - There seems to be two points where things are going awry:
1) It can't find /root/.cpan/build/libapreq-1.33-wKJ02j/META.yml
The dir seems to be there as it cd's into it, but the META.yml file is missing. Do a 'find' command and see if it shows up anywhere. If so, copy it over. This one however doesn't seem to be a show stopper. It may smooth out other issues, but time will tell.

2) I last see the install doing the following:
Code:
make[1]: Entering directory `/root/.cpan/build/libapreq-1.33-wKJ02j/Request'
 ... snip ...
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap  Request.xs > Request.xsc && mv Request.xsc Request.c
I'll guess that under the above indicated dir, there is a Request.xs file which apparently doesn't have an Apache::Table. Without being able to sit behind your monitor, I'm starting to reach the end of what I can offer. Try editing the file and see what looks reasonable. Perhaps see if there is another version of the file lingering around that may possibly have a section you can copy&paste into your Request.xs file to patch it in.

The command above is dumping its output to "Request.xsc" and then moving that file to Request.c ... apparently another input file for the next 'make' command, which promptly bombs out.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top