You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Mark Hamer <mh...@us.ibm.com> on 2012/03/21 21:33:22 UTC

[users@httpd] Receiving the following errors during make process.....

 Hello all

Have you guys seen these types of errors during the build process of 
apache?    If so what could be causing it.     I also list my configure 
options as well.


./configure --prefix=/opt/apache2 --enable-mods-shared=most --with-ssl 
--enable-ssl --with-ssl=/usr/local/updated_openssl --with-authnz-ldap 
--enable-authnz-ldap --enable-ldap --with-proxy --enable-proxy


Below is what I get during the make phase.....

In file included from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
                 from exports.c:38:
/usr/include/apr-1/apr_ldap.h:67:18: error: lber.h: No such file or 
directory
/usr/include/apr-1/apr_ldap.h:68:18: error: ldap.h: No such file or 
directory
/usr/include/apr-1/apr_ldap.h:97:2: error: #error Support for LDAP v2.0 
toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
In file included from /usr/include/apr-1/apr_ldap.h:120,
                 from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
                 from exports.c:38:
/usr/include/apr-1/apr_ldap_init.h:112: error: expected declaration 
specifiers or â...â before âLDAPâ
In file included from /usr/include/apr-1/apr_ldap.h:121,
                 from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
                 from exports.c:38:
/usr/include/apr-1/apr_ldap_option.h:204: error: expected declaration 
specifiers or â...â before âLDAPâ
/usr/include/apr-1/apr_ldap_option.h:226: error: expected declaration 
specifiers or â...â before âLDAPâ
In file included from exports.c:38:
/tests/apache2/httpd-2.2.21/include/util_ldap.h:89: error: 
âLDAP_DEREF_NEVERâ undeclared here (not in a function)
/tests/apache2/httpd-2.2.21/include/util_ldap.h:90: error: 
âLDAP_DEREF_SEARCHINGâ undeclared here (not in a function)
/tests/apache2/httpd-2.2.21/include/util_ldap.h:91: error: 
âLDAP_DEREF_FINDINGâ undeclared here (not in a function)
/tests/apache2/httpd-2.2.21/include/util_ldap.h:92: error: 
âLDAP_DEREF_ALWAYSâ undeclared here (not in a function)
/tests/apache2/httpd-2.2.21/include/util_ldap.h:97: error: expected 
specifier-qualifier-list before âLDAPâ
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/tests/apache2/httpd-2.2.21/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tests/apache2/httpd-2.2.21/server'
make: *** [all-recursive] Error 1

Re: [users@httpd] Receiving the following errors during make process.....

Posted by Igor Cicimov <ic...@gmail.com>.
Try with the apache built in apr and apr-utils. Consult the documentation
for the correct switches.
 On Mar 22, 2012 7:34 AM, "Mark Hamer" <mh...@us.ibm.com> wrote:

>
>
>
>  Hello all
>
> Have you guys seen these types of errors during the build process of
> apache?    If so what could be causing it.     I also list my configure
> options as well.
>
>
> *./configure --prefix=/opt/apache2 --enable-mods-shared=most --with-ssl
> --enable-ssl --with-ssl=/usr/local/updated_openssl --with-authnz-ldap
> --enable-authnz-ldap --enable-ldap --with-proxy --enable-proxy*
>
>
> *Below is what I get during the make phase.....*
>
> In file included from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
>                  from exports.c:38:
> /usr/include/apr-1/apr_ldap.h:67:18: error: lber.h: No such file or
> directory
> /usr/include/apr-1/apr_ldap.h:68:18: error: ldap.h: No such file or
> directory
> /usr/include/apr-1/apr_ldap.h:97:2: error: #error Support for LDAP v2.0
> toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.
> In file included from /usr/include/apr-1/apr_ldap.h:120,
>                  from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
>                  from exports.c:38:
> /usr/include/apr-1/apr_ldap_init.h:112: error: expected declaration
> specifiers or â...â before âLDAPâ
> In file included from /usr/include/apr-1/apr_ldap.h:121,
>                  from /tests/apache2/httpd-2.2.21/include/util_ldap.h:31,
>                  from exports.c:38:
> /usr/include/apr-1/apr_ldap_option.h:204: error: expected declaration
> specifiers or â...â before âLDAPâ
> /usr/include/apr-1/apr_ldap_option.h:226: error: expected declaration
> specifiers or â...â before âLDAPâ
> In file included from exports.c:38:
> /tests/apache2/httpd-2.2.21/include/util_ldap.h:89: error:
> âLDAP_DEREF_NEVERâ undeclared here (not in a function)
> /tests/apache2/httpd-2.2.21/include/util_ldap.h:90: error:
> âLDAP_DEREF_SEARCHINGâ undeclared here (not in a function)
> /tests/apache2/httpd-2.2.21/include/util_ldap.h:91: error:
> âLDAP_DEREF_FINDINGâ undeclared here (not in a function)
> /tests/apache2/httpd-2.2.21/include/util_ldap.h:92: error:
> âLDAP_DEREF_ALWAYSâ undeclared here (not in a function)
> /tests/apache2/httpd-2.2.21/include/util_ldap.h:97: error: expected
> specifier-qualifier-list before âLDAPâ
> make[2]: *** [exports.lo] Error 1
> make[2]: Leaving directory `/tests/apache2/httpd-2.2.21/server'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/tests/apache2/httpd-2.2.21/server'
> make: *** [all-recursive] Error 1