perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: Reference to: mod_perl2 bug report [message #924360]
Date Tue, 27 Sep 2005 14:46:45 GMT
Hi,

ityndall@ctc.net wrote:
> http://www.issociate.de/board/post/244105/mod_perl2_bug_report.html

 >1. Problem Description:
 >
 >I'm trying to install mod_perl2, but i've got a problem.
 >
 >I've successfully compiled apache 2.054, mod_perl2, and the next step
 >is running 'make test' command into for mod_perl.
 >
 >During the tests i've an error:
 >
 >/home/asm/apache2054/bin/bin/httpd -d /usr/home/asm/soft/Apache/mod_perl-2.0.1/t -f 
 >/usr/home/asm/soft/Apache/mod_perl-2.0.1/t/conf/httpd.conf -D APACHE2 -D PERL_USEITHREADS
 >using Apache/2.0.54 (prefork MPM)
 >
 >waiting 120 seconds for server to start: .Syntax error on line 12 of 
 >/usr/home/asm/soft/Apache/mod_perl-2.0.1/t/conf/httpd.conf:
 >Cannot load /usr/home/asm/soft/Apache/mod_perl-2.0.1/src/modules/perl/mo d_perl.so into
server: 
 >/usr/home/asm/soft/Apache/mod_perl-2.0.1/src/modules/perl/mo d_perl.so: Undefined symbol
"apr_os_thread_current"
 >
 >
 >Could you help me to solve this problem ?

1.) I hope this is a typo in the e-mail and not your config
mo d_perl.so  SHOULD BE mod_perl.so check your httpd.conf.

2.)see my recent SVN commit about MP_TRACE=1 and/or MP_MAINTAINER=1
http://svn.apache.org/viewcvs.cgi/perl/modperl/trunk/src/modules/perl/modperl_util.h?rev=291189&view=log

3.) make sure you have _NO_ instances of ap[ru]-[10]-config anywhere in your path... particularly
any installed via
the ports system.

There are 3 #defines /cases in mp code that come into play
a.) USE_ITHREADS  1 or 0 depending on if your perl is ithread enabled
b.) APR_HAS_THREADS 1 or 0 depending on if your apr is thread enabled
c.) #define MP_THREADED = USE_ITHREADS && APR_HAS_THREADS

Since you hit this error run time, I'm betting its not #2, but more likely #3

HTH




-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Mime
View raw message