mod_perl + perl 5.8 with thread support

Mathieu Arnold mat at FreeBSD.org
Tue Feb 22 01:17:18 PST 2005


+-Le 21/02/2005 17:03 -0500, Bruno Lavoie a dit :
| Hello,
| 
| i need to have modperl::perlrun  (Perl 5.8 ) with iThreads support
| because i'm building a server on wich developpers will work, and each of
| these developers need a unique @INC path
|   -->
| http://perl.apache.org/docs/2.0/user/config/config.html#Modifying_C__INC_
| _on_a_Per_VirtualHost
| 
|  i can build successfully perl with thread support (-DWITH_THREADS) ,
| after that i build mod_perl, successfully too!
| 
| the problem is when i start apache :
| 
| bash-2.05b# /usr/local/etc/rc.d/apache2.sh restart
| Performing sanity check on apache2 configuration:
| Syntax error on line 243 of /usr/local/etc/apache2/httpd.conf:
| Cannot load /usr/local/libexec/apache2/mod_perl.so into server:
| /usr/local/libexec/apache2/mod_perl.so: Undefined symbol
| "pthread_cond_signal"
| bash-2.05b#

I do think that if you want to have a threaded mod_perl, you'll need a
threaded apache, that is, you'll have to recompile it with WITH_MPM=worker.

-- 
Mathieu Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-ports/attachments/20050222/261815fa/attachment.bin


More information about the freebsd-ports mailing list