FAQ
Hi,

I'm having trouble integrating mod_perl with the latest (2.4) versions of Apache - build fails as unable to locate APR directories

make[1]: Entering directory `/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl'
cc -I/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl -I/usr/local/west/perl/mod_perl-2.0.8/xs -I/usr/local/west/apache/apr/apr-1.5.0/include -I/usr/local/apache2/include -D_REENTRANT -D_GNU_SOURCE -fPIC -fno-strict-aliasing -pipe -fstack-protector -I/usr/local/include -I/usr/local/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE -DMOD_PERL -DMP_COMPAT_1X -DLINUX -O2 -fPIC \
         -c mod_perl.c && mv mod_perl.o mod_perl.lo
In file included from /usr/local/apache2/include/ap_config.h:25,
                  from /usr/local/apache2/include/httpd.h:44,
                  from modperl_apache_includes.h:27,
                  from mod_perl.h:20,
                  from mod_perl.c:17:
/usr/local/apache2/include/ap_hooks.h:40:23: error: apr_hooks.h: No such file or directory
/usr/local/apache2/include/ap_hooks.h:41:32: error: apr_optional_hooks.h: No such file or directory


Any help is appreciated.

Thanks,

-- Steve

Search Discussions

  • Steve Hay at Apr 18, 2014 at 5:35 pm

    On 18 April 2014 18:17, Wells, Steven S. wrote:
    Hi,



    I’m having trouble integrating mod_perl with the latest (2.4) versions of
    Apache – build fails as unable to locate APR directories



    make[1]: Entering directory
    `/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl'

    cc -I/usr/local/west/perl/mod_perl-2.0.8/src/modules/perl
    -I/usr/local/west/perl/mod_perl-2.0.8/xs
    -I/usr/local/west/apache/apr/apr-1.5.0/include -I/usr/local/apache2/include
    -D_REENTRANT -D_GNU_SOURCE -fPIC -fno-strict-aliasing -pipe
    -fstack-protector -I/usr/local/include
    -I/usr/local/lib/perl5/5.14.2/x86_64-linux-thread-multi/CORE -DMOD_PERL
    -DMP_COMPAT_1X -DLINUX -O2 -fPIC \

    -c mod_perl.c && mv mod_perl.o mod_perl.lo

    In file included from /usr/local/apache2/include/ap_config.h:25,

    from /usr/local/apache2/include/httpd.h:44,

    from modperl_apache_includes.h:27,

    from mod_perl.h:20,

    from mod_perl.c:17:

    /usr/local/apache2/include/ap_hooks.h:40:23: error: apr_hooks.h: No such
    file or directory

    /usr/local/apache2/include/ap_hooks.h:41:32: error: apr_optional_hooks.h: No
    such file or directory





    Any help is appreciated.
    The latest release of mod_perl doesn't yet support httpd-2.4, but we
    are working on it and getting close to making a new release that does.

    In the meantime you might like to try out the "httpd24threading" branch at

    https://svn.apache.org/repos/asf/perl/modperl/branches/httpd24threading

    which is largely working and is what will (hopefully soon) become mod_perl-2.09.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupmodperl @
categoriesmodperl, perl
postedApr 18, '14 at 5:18p
activeApr 18, '14 at 5:35p
posts2
users2
websiteperl.apache.org

2 users in discussion

Steve Hay: 1 post Wells, Steven S.: 1 post

People

Translate

site design / logo © 2018 Grokbase