You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Bj...@eventim.de on 2008/01/08 13:29:24 UTC

[users@httpd] make error

Hello together,

i try to make apache 2.2.6 (i368) under 10.3.

my configure: 

./configure --disable-ldap 

When i start make, i get the following  error (the same without --disable-ldap)



file included from /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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:
/root/src/httpd-2.2.6/include/util_ldap.h:82: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:83: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:84: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:85: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:90: error: expected specifier-qualifier-list before 'LDAP'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/root/src/httpd-2.2.6/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/httpd-2.2.6/server'



thanks for help
bjoern



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


AW: [users@httpd] make error

Posted by Bj...@eventim.de.
I think the problem was the installed suse apache bin, after i removed this with yast, it works :-)

bjoern


 

-----Ursprüngliche Nachricht-----
Von: Axel-Stephane SMORGRAV [mailto:Axel-Stephane.SMORGRAV@europe.adp.com] 
Gesendet: Dienstag, 8. Januar 2008 13:48
An: users@httpd.apache.org
Betreff: RE: [users@httpd] make error

Did you at some point build httpd with LDAP support?

In that case have you tried "make distclean" or building from a fresh distribution? 


-ascs
 
-----Message d'origine-----
De : BjoernArne.Ramann@eventim.de [mailto:BjoernArne.Ramann@eventim.de] 
Envoyé : mardi 8 janvier 2008 13:29
À : users@httpd.apache.org
Objet : [users@httpd] make error

Hello together,

i try to make apache 2.2.6 (i368) under 10.3.

my configure: 

./configure --disable-ldap 

When i start make, i get the following  error (the same without --disable-ldap)



file included from /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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:
/root/src/httpd-2.2.6/include/util_ldap.h:82: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:83: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:84: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:85: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:90: error: expected specifier-qualifier-list before 'LDAP'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/root/src/httpd-2.2.6/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/httpd-2.2.6/server'



thanks for help
bjoern



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


RE: [users@httpd] make error

Posted by Axel-Stephane SMORGRAV <Ax...@europe.adp.com>.
Did you at some point build httpd with LDAP support?

In that case have you tried "make distclean" or building from a fresh distribution? 


-ascs
 
-----Message d'origine-----
De : BjoernArne.Ramann@eventim.de [mailto:BjoernArne.Ramann@eventim.de] 
Envoyé : mardi 8 janvier 2008 13:29
À : users@httpd.apache.org
Objet : [users@httpd] make error

Hello together,

i try to make apache 2.2.6 (i368) under 10.3.

my configure: 

./configure --disable-ldap 

When i start make, i get the following  error (the same without --disable-ldap)



file included from /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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 /root/src/httpd-2.2.6/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:
/root/src/httpd-2.2.6/include/util_ldap.h:82: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:83: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:84: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:85: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/root/src/httpd-2.2.6/include/util_ldap.h:90: error: expected specifier-qualifier-list before 'LDAP'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/root/src/httpd-2.2.6/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/src/httpd-2.2.6/server'



thanks for help
bjoern



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org



---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org