mod_perl 2.0 fails on make
mod_perl 2.0 fails on make
am 15.08.2008 16:44:49 von Charlie Reddington
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?
Charlie
Re: mod_perl 2.0 fails on make
am 15.08.2008 20:46:08 von Fred Moyer
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
>
Re: mod_perl 2.0 fails on make
am 15.08.2008 21:22:45 von torsten.foertsch
On Fri 15 Aug 2008, Fred Moyer wrote:
> > 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. =A0Also I would suggest
> building mod_perl as a shared object (dynamically, not statically),
> so would say remove the MP_USE_STATIC=3D1. =A0I'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.
Agreed, the static build is a bit neglected. But without MP_USE_STATIC=20
also the current SVN version should work.
Torsten
=2D-
Need professional mod_perl support?
Just hire me: torsten.foertsch@gmx.net
Re: mod_perl 2.0 fails on make
am 16.08.2008 10:50:05 von Philip Gollucci
Fred Moyer wrote:
> 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.
Ditto, static has been foobar for a long while now in 2.x
--
------------------------------------------------------------ ------------
Philip M. Gollucci (philip@ridecharge.com)
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70 3F8C 75B8 8FFB DB9B 8C1C
Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.