perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alan Boudreault <aboudrea...@mapgears.com>
Subject Re: Compilation problem
Date Wed, 15 Apr 2009 19:03:23 GMT
Unfortunatly, both solutions didn't work.

Alan

On April 15, 2009 02:50:13 pm Fred Moyer wrote:
> On Wed, Apr 15, 2009 at 11:46 AM, Fred Moyer <fred@redhotpenguin.com> wrote:
> > On Wed, Apr 15, 2009 at 11:20 AM, Alan Boudreault
> >
> > <aboudreault@mapgears.com> wrote:
> >> Hi,
> >>
> >> I'm trying to compile libapreq2 perl module, and i got an error. The
> >> perl header are properly installed in
> >> /usr/include/apache2/modules/perl/. I'm using OpenSuse 11.1.
> >>
> >>
> >> ./configure --enable-perl-glue --with-apache2-apxs=/usr/sbin/apxs2
> >
> > Try this:
> >
> > ./configure --includedir=/usr/include/apache2/modules/perl
> > --enable-perl-glue --with-apache2-apxs=/usr/sbin/apxs2
>
> Sorry, that should have probably been:
>
> CFLAGS=-I/usr/include/apache2/modules/perl ./configure
> --enable-perl-glue --with-apache2-apxs=/usr/sbin/apxs2
>
> I believe the previous  post installs the libapreq include files in
> that directory.
>
> >> ------------------------------------------
> >> ./libapreq2-2.12/glue/perl/xsbuilder/apreq_xs_postperl.h:22:34: error:
> >> modperl_perl_unembed.h: No such file or directory
> >> ./libapreq2-2.12/glue/perl/xsbuilder/apreq_xs_postperl.h:25:33: error:
> >> modperl_common_util.h: No such file or directory
> >> In file included from Apache2.xs:45:
> >> ./libapreq2-2.12/glue/perl/xsbuilder/APR/Request/Apache2/APR__Request__A
> >>pache2.h:1:26: error: modperl_perl.h: No such file or directory
> >> Apache2.c: In function ‘XS_APR__Request__Apache2_handle’:
> >> Apache2.c:75: warning: implicit declaration of function
> >> ‘modperl_xs_sv2request_rec’
> >> Apache2.c:75: warning: initialization makes pointer from integer without
> >> a cast
> >> make[6]: *** [Apache2.o] Error 1
> >> make[6]: Leaving directory
> >> `/home/aboudreault/libapreq2-2.12/glue/perl/xs/APR/Request/Apache2'
> >> make[5]: *** [subdirs] Error 2
> >> make[5]: Leaving directory
> >> `/home/aboudreault/libapreq2-2.12/glue/perl/xs/APR/Request'
> >> make[4]: *** [subdirs] Error 2
> >> make[4]: Leaving directory
> >> `/home/aboudreault/libapreq2-2.12/glue/perl/xs/APR' make[3]: ***
> >> [subdirs] Error 2
> >> make[3]: Leaving directory
> >> `/home/aboudreault/libapreq2-2.12/glue/perl/xs' make[2]: *** [subdirs]
> >> Error 2
> >> make[2]: Leaving directory `/home/aboudreault/libapreq2-2.12/glue/perl'
> >> make[1]: *** [perl_glue] Error 2
> >> make[1]: Leaving directory `/home/aboudreault/libapreq2-2.12/glue'
> >> make: *** [all-recursive] Error 1
> >>
> >> Any hint plz ?
> >>
> >> Regards,
> >> Alan
> >>
> >> --
> >> Alan Boudreault
> >> Mapgears
> >> http://www.mapgears.com

-- 
--
Alan Boudreault
Mapgears
http://www.mapgears.com

Mime
View raw message