perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fred Moyer <f...@redhotpenguin.com>
Subject Re: mod_perl 2.0 fails on make
Date Fri, 15 Aug 2008 18:46:08 GMT
Charlie Reddington wrote:
> System stats:
> 
> OS = Fedora Core 6 x86_64
> Apache = 2.2.9 - latest stable
> Perl = 5.8.8
> Mod_Perl = 2.0 - Pulled the latest from svn as of today aug15
> 
> Hi, I am trying to build a static modperl into apache. I'm using this 
> for the modperl line.
> 
> perl Makefile.PL MP_USE_STATIC=1 \ 
> MP_AP_PREFIX=/home/charlier/httpd-2.2.9 \ 
> MP_AP_CONFIGURE="--prefix=/usr/local/apache --enable-ssl 
> --enable-rewrite --enable-so --with-included-apr --enable-cgi 
> --enable-autoindex --enable-pie"
> 
> This step goes fine, with no issues at all.
> 
> When I run 'make'. It goes pretty fair but it ends with this.
> 
> modperl_exports.c:1169: error: `modperl_thx_interp_get' undeclared here 
> (not in a function)
> modperl_exports.c:1173: error: `modperl_thx_interp_set' undeclared here 
> (not in a function)
> make[1]: *** [modperl_exports.o] Error 1
> make[1]: Leaving directory `/home/charlier/modperl-2.0/src/modules/perl'
> make: *** [modperl_lib] Error 2
> 
> Is there any known fix to work around this?

Try with the 2.0.4 stable version of mod_perl.  Also I would suggest 
building mod_perl as a shared object (dynamically, not statically), so 
would say remove the MP_USE_STATIC=1.  I've seen people get it to work 
but almost everyone I know builds mod_perl as a loadable module instead 
of into the httpd binary.

> 
> Charlie
> 


Mime
View raw message