rendler has asked for the wisdom of the Perl Monks concerning the following question:

I've spent about 9 hours fiddling with CPAN and Debian's dependency 'feature' to get 5.8.0 installed from CPAN and totally removed all of Debian's Perl packages and replacing those with dummy ones. It's all worked out so far. Even got Apache+mod_perl recompiled and sort of working. I needed to install Apache::Request and am getting the following errors:
gcc -c -I../c -I/usr/local/lib/perl5/site_perl/5.8.0/i586-linux-threa +d-multi/auto/Apache/include -I/usr/local/lib/perl5/site_perl/5.8.0/i5 +86-linux-thread-multi/auto/Apache/include/modules/perl -I/usr/local/l +ib/perl5/site_perl/5.8.0/i586-linux-thread-multi/auto/Apache/include/ +include -I/usr/local/lib/perl5/site_perl/5.8.0/i586-linux-thread-mult +i/auto/Apache/include/regex -I/usr/local/lib/perl5/site_perl/5.8.0/i5 +86-linux-thread-multi/auto/Apache/include/os/unix -march=pentium-mmx +-mcpu=pentium-mmx -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3 -D +VERSION=\"1.0\" -DXS_VERSION=\"1.0\" -fpic "-I/usr/local/lib/perl5/5. +8.0/i586-linux-thread-multi/CORE" Request.c In file included from /usr/local/lib/perl5/5.8.0/i586-linux-thread-mul +ti/CORE/op.h:480, from /usr/local/lib/perl5/5.8.0/i586-linux-thread-mul +ti/CORE/perl.h:2209, from /usr/local/lib/perl5/site_perl/5.8.0/i586-linux- +thread-multi/auto/Apache/include/modules/perl/mod_perl.h:83, from Request.xs:40: /usr/local/lib/perl5/5.8.0/i586-linux-thread-multi/CORE/reentr.h:602: +field `_crypt_struct' has incomplete typemake[1]: *** [Request.o] Err +or 1 make[1]: Leaving directory `/root/.cpan/build/libapreq-1.0/Request' make: *** [subdirs] Error 2 /usr/bin/make -- NOT OK
Another little problem is with POE::Component::IRC, which prior to the upgrade was working fine.
Argument ",----- SELECT BITS IN -----\n" isn't numeric in array elemen +t at /usr/local/lib/perl5/site_perl/5.8.0/POE/Kernel.pm line 1797. Argument ",----- SELECT BITS IN -----\n" isn't numeric in array elemen +t at macro substrate_do_timeslice (defined in /usr/local/lib/perl5/si +te_perl/5.8.0/POE/Kernel/Select.pm at line 211) invoked from /usr/loc +al/lib/perl5/site_perl/5.8.0/POE/Kernel.pm line 1429. Argument ",----- SELECT BITS IN -----\n" isn't numeric in array elemen +t at macro substrate_main_loop (defined in /usr/local/lib/perl5/site_ +perl/5.8.0/POE/Kernel/Select.pm at line 412) invoked from /usr/local/ +lib/perl5/site_perl/5.8.0/POE/Kernel.pm line 1429.
Thanks.

Replies are listed 'Best First'.
Re: 5.8.0 Module Problems
by rjray (Chaplain) on Jul 30, 2002 at 04:15 UTC

    I have found several modules that don't want to build right under a threaded 5.8.0. In my case, I tripped over Crypt::SSLeay and Net::SSLeay. In those two cases, it was a header from the openssl package. I determined that a pre-processor symbol was getting lost under the combination of threading and multi, but I'm too far behind the curve on what threading does/adds to the core to know how to further diagnose it.

    --rjray