You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Chip Turner <ct...@redhat.com> on 2002/05/30 22:15:23 UTC

Best compile options for perl 5.8 for mod_perl 1.x and 2.x

Subject pretty much says it all.  What are the requisite 5.8 compile
options, besudes ithreads, for proper functioning with either mod_perl
branch?  Or ones that should be avoided?

Chip

-- 
Chip Turner                   cturner@redhat.com
                              Red Hat, Inc.

Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

Posted by Rafael Garcia-Suarez <ra...@hexaflux.com>.
Steven Lembark wrote:
> 
> Also worth using large file support if you habitually
> munge > 2GB files.

Which is the default on linux.

-- 
Rafael Garcia-Suarez


Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

Posted by Steven Lembark <le...@wrkhors.com>.
> ./Configure -des -Dprefix=/home/stas/perl/ithread \
> -Dusethreads -Duseshrplib

Also worth using large file support if you habitually
munge > 2GB files.

--
Steven Lembark                               2930 W. Palmer
Workhorse Computing                       Chicago, IL 60647
                                            +1 800 762 1582

Re: Best compile options for perl 5.8 for mod_perl 1.x and 2.x

Posted by Stas Bekman <st...@stason.org>.
Chip Turner wrote:
> Subject pretty much says it all.  What are the requisite 5.8 compile
> options, besudes ithreads, for proper functioning with either mod_perl
> branch?  Or ones that should be avoided?

it may be different on your OS (read the INSTALL doc), but on linux 2.4 
I compile with all the defaults (-des):

./Configure -des -Dprefix=/home/stas/perl/ithread \
-Dusethreads -Duseshrplib

and I add: -Doptimize='-g'

so I can debug problems (don't put it in for production use)

-Duseshrplib builds a shared libperl

Also you don't need -Dusethreads (which is a bit slower) if you don't 
plan on using perl threads and threaded Apache mpms (i.e. when you use 
prefork)

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com