Re: Apache compilation
Thanks for your reply.
I use as you tell me :
./configure --prefix=/etc/apache2/ --enable-rewrite --enable-module --with-suexec-docroot=/srv/www/htdocs/ --with-apr=/usr/bin/apr-config --with-apr-util=/usr/bin/apu-config
And create a symbolic link for libtool :
ln -s /usr/bin/libtool /usr/share/apache2/build/libtool
Then without error in configure command I get this message about ldap with make :
In file included from exports.c:33:
/usr/include/apache2/apr_ldap.h:126:18: error: lber.h: No such file or directory
/usr/include/apache2/apr_ldap.h:127:18: error: ldap.h: No such file or directory
In file included from exports.c:101:
/usr/src/httpd-2.0.63/include/util_ldap.h:72: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function)
/usr/src/httpd-2.0.63/include/util_ldap.h:73: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/usr/src/httpd-2.0.63/include/util_ldap.h:74: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function)
/usr/src/httpd-2.0.63/include/util_ldap.h:75: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/usr/src/httpd-2.0.63/include/util_ldap.h:80: error: expected specifier-qualifier-list before 'LDAP'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/usr/src/httpd-2.0.63/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/httpd-2.0.63/server'
make: *** [all-recursive] Error 1
Any idea ???
|