I've tried every which way and still can't get mod_perl to compile.

I'm running Perl v5.6.1 built for i586-linux.  I downloaded Apache 2.0.39 and 
extracted it into /usr/local where it created httpd-2.0.39.  

I have Apache 2.0.39 built with SSL and DSO, and it's in 
/usr/local/Apache-2.0.39.  It's working.  I'm willing to recompile it again 
but it seems to be a lost cause :-))  In one piece of documentation it says 
that the Makefile.PL is looking for the *.h files in the Apache source tree.

Trying to get mod_perl in I type:

perl Makefile.PL APACHE_SRC=/usr/local/httpd-2.0.39/include DO_HTTPD=1 \ 
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1

I'm asked "...where I can find you apache src"

I type in  /usr/local/httpd-2.0.39/include

and get:

Apache Version 1.3.0 required, aborting......

I've also tried:

perl Makefile.PL APACHE_SRC=/usr/local/httpd-2.0.39 DO_HTTPD=1 \ 
USE_APACI=1 PREP_HTTPD=1 EVERYTHING=1

and got the same error message.


Ok, so lets try building mod_perl as a DSO outside the Apache Source Tree via 
APXS just as the documentation says.  

perl Makefile.PL USE_APXS=1 WITH APXS=/usr/local/Apache-2.0.39/bin \ 
EVERYTHING=1

Nope.  Get:

mod_perl.c:1735: request for member `val' in something not a structure or 
union
mod_perl.c:1735: request for member `key' in something not a structure or 
union
mod_perl.c:1735: request for member `key' in something not a structure or 
union
mod_perl.c:1735: request for member `key' in something not a structure or 
union
make[1]: *** [mod_perl.lo] Error 1
make[1]: Leaving directory `/usr/local/mod_perl-1.27/apaci'
make: *** [apxs_libperl] Error 2
linux:/usr/local/mod_perl-1.27 #

I've also tried:

perl Makefile.PL USE_APXS=1 WITH APXS=/usr/local/Apache-2.0.39/bin \ 
EVERYTHING=1 SSL_BASE=/usr/local/ssl

Same error message.

I'm not sure what else to do anymore.  Anyone have any ideas?

I have to head to the Bosnia AO tommorrow and won't be back until Friday, 19 
July.  If anyone has any ideas could you please post here and to my email.

Thanks!
Eric

Reply via email to