Re: compiling perl on freebsd to support ithreads

[prev] [thread] [next] [Date index for 2005/04/26]

From: Philip M. Gollucci
Subject: Re: compiling perl on freebsd to support ithreads
Date: 03:13 on 26 Apr 2005
On Apr 25, 2005, at 10:21 PM, Foo Ji-Haw wrote:

> Hello guys,
>
> I know this is not exactly the best fit for this mailing list, but I 
> am trying to use FreeBSD (4.11 + 5.3) for mp2 work. Hope that 
> qualifies it!
you'll want
cd /usr/ports/lang/perl5.8
make WITH_THREADS=yes

this will not build on amd64 arch;
Also, this isn't going to work on 4.11.

finally on 5.3 you'll want to edit /etc/libmap.conf to make sure all 
involved libraries/apps
link against libpthread.a and not libc_r.

At some point right before the mp2rc5 release 
ithreads+httpd2.1.5-dev+worker mpm worked for me.  It got borked 
between now and then.  I haven't had time to isolate which party is at 
fault yet.

Also, in ports only mp2rc4 is available as the mp2rc5 commit/update was 
rolled back by the maintainer...... I'm haven't read enough to know why 
yet.

>
> The problem is that the perl that comes with FBSD is not compiled with 
> ithreads. I read that to run different modperl apps on virtual sites 
> without conflicting on namespace, I need to set PerlOptions +Parent. 
> But this only works for Perl with ithreads.
>
> I am not exactly a FreeBSD guru, and I really like to stick to Ports 
> if possible. Can someone advise me on any params I can add to make && 
> make install to enable ithreads?
>
> Thanks guys.

(message missing)

Fwd: [UPGRADE]: Apache::DBI 0.96 for mod_perl 2.0 RC5
Philip M. Gollucci 01:31 on 26 Apr 2005

compiling perl on freebsd to support ithreads
Foo Ji-Haw 02:21 on 26 Apr 2005

Re: compiling perl on freebsd to support ithreads
Philip M. Gollucci 03:13 on 26 Apr 2005

Re: compiling perl on freebsd to support ithreads
Philip M. Gollucci 06:52 on 26 Apr 2005

Re: compiling perl on freebsd to support ithreads
Michael Peters 13:09 on 26 Apr 2005

Re: compiling perl on freebsd to support ithreads
Philip M. Gollucci 14:12 on 26 Apr 2005

Re: compiling perl on freebsd to support ithreads
Jay Scherrer 14:40 on 27 Apr 2005

Re: compiling perl on freebsd to support ithreads
Jay Scherrer 15:21 on 27 Apr 2005

Generated at 10:25 on 04 May 2005 by mariachi v0.52