Summary: | emerge mod_perl shows threaded build for PERL 5.8.0-r12 with -threads | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Jeff Hayes <jeff.hayes> |
Component: | [OLD] Server | Assignee: | Gentoo Perl team <perl> |
Status: | RESOLVED FIXED | ||
Severity: | critical | CC: | chutz+bugs.gentoo.org, perl |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Jeff Hayes
2003-11-08 10:29:57 UTC
umm .. i guess i should mention why this was a problem for me :-/ i want to run apache2 on this machine .. with PERL in its threaded version I have to build apache for threads also .. which I do not want to do. and some of the PERL things that I use break when PERL is threaded anyway. So .. how does it happen that PERL is ignoring the USE flag that is supposed to make it build as I want it to? at this moment I cannot move my web server to the new machine as i cannot install mod_perl .. thus the Critical rating on this bug Posix threads (pthreads) is not the same as threading in perl. Your perl is not built with threading - says so in the output you pasted ;) That's the first two cents. Looking at the rest. Another historic bug for the apache team to look at please ;-) $ perl -V | grep thread
This should show you that your perl is not threaded.
ldd /usr/bin/perl
ldd /usr/sbin/apache*
These both show linking against pthreads, which is just what the mod_perl ebuild warns about.
<quote>
>>> Source unpacked.
Will configure via APXS (apxs=/usr/sbin/apxs)
************* WARNING *************
Your Perl is linked with -lpthread, make sure that your httpd is built with LIBS=-lpthread
************* WARNING *************
</quote>
Since the bug is related to threaded perl, it should probably be marked as invalid?
apxs is probably the thing mentioned before the warning.
Closing because OP never made comment out after we made the distinction between perl threads and pthreads. |