I did a make install in my mod_perl source folder and everything worked perfectly with the libapreq2 installation.
I did the mod_perl installed a few weeks ago so that explains things. Your help is much appreciated. Its alyways the blindingly obvious things that catch me...cant see the wood for the trees etc. Cheers, Tom -----Original Message----- From: Philip M. Gollucci [mailto:[EMAIL PROTECTED] Sent: 20 April 2007 17:37 To: Tom Shaw Cc: modperl@perl.apache.org Subject: Re: libapreq2-2.08 installation troubles - missing mod_perl source files Did you actually "make install" in the mod_perl source tree ? > My configure line is: > ./configure --enable-perl-glue > --with-apache2-apxs="/usr/local/apache2/bin/apxs" > --with-perl="/usr/local/bin/perl" I use this typically ./configure \ --prefix=$SOFTWARE/apreq/2.08/5.8.8-2.2.4-prefork-2.0.3 \ --with-perl=$SOFTWARE/perl/5.8.8/bin/perl \ --with-apache2-apxs=$SOFTWARE/httpd/2.2.4/prefork/bin/apxs \ --enable-perl-glue \ --enable-maintainer-mode Also, fixed in svn for 2.09 is an bug for autoconf 2.60 Other versions work fine. I believe you are hitting the autoconf bug based on the below combined with forgetting to do a make install in the mod_perl tree. Changes: Build [Philip M. Gollucci] code around |#_!!_#| autoconf 2.60 bug. http://svn.apache.org/viewvc?view=rev&revision=439245 > cc -c -I/usr/local/src/libapreq2-2.08/glue/perl/xs > -I/usr/local/src/libapreq2-2.08/include > -I/usr/local/src/libapreq2-2.08/glue/perl/xsbuilder > -I/usr/local/apache2/include -I/usr/local/apache2/include -D_REENTRANT > -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing -pipe > -I/usr/local/include > -I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE -DMOD_PERL > -DMP_COMPAT_1X -DLINUX=2 -D_LARGEFILE64_SOURCE -O2 -DVERSION=\"2.08\" > -DXS_VERSION=\"2.08\" -fpic > "-I/usr/local/lib/perl5/5.8.8/i686-linux-thread-multi/CORE" Apache2.c > In file included from Apache2.xs:39: > /usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/apreq_xs_postperl.h:21:34: > error: modperl_perl_unembed.h: No such file or directory > /usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/apreq_xs_postperl.h:24:33: > error: modperl_common_util.h: No such file or directory > In file included from Apache2.xs:45: > /usr/local/src/libapreq2-2.08/glue/perl/xsbuilder/APR/Request/Apache2/APR__R > equest__Apache2.h:1:22: error: mod_perl.h: No such file or directory > Apache2.c: In function 'XS_APR__Request__Apache2_handle': > Apache2.c:66: warning: initialization makes pointer from integer without a -- ------------------------------------------------------------------------ Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708 Consultant / http://p6m7g8.net/Resume/resume.shtml Senior Software Engineer - TicketMaster - http://ticketmaster.com 1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB B89E 1324 9B4F EC88 A0BF Work like you don't need the money, love like you'll never get hurt, and dance like nobody's watching.