Operating System - Linux
1830247 Members
2349 Online
110000 Solutions
New Discussion

Unable to build apache 2.2.4 on SUSE 10 IA64.

 
GnanaShekar
Regular Advisor

Unable to build apache 2.2.4 on SUSE 10 IA64.

Hi,

I am trying to build apache 2.2.4 on a SUSE 10 server.

gsubrama@lcialnx5:/nfs/vol2/homes2/gsubrama> more /etc/SuSE-release
SUSE Linux Enterprise Server 10 (ia64)
VERSION = 10

However, I am getting the following error. Please suggest.

/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 /tmp/apache/httpd-2.2.4/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 /tmp/apache/httpd-2.2.4/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:
/tmp/apache/httpd-2.2.4/include/util_ldap.h:78: error: 'LDAP_DEREF_NEVER' undeclared here (not in a function)
/tmp/apache/httpd-2.2.4/include/util_ldap.h:79: error: 'LDAP_DEREF_SEARCHING' undeclared here (not in a function)
/tmp/apache/httpd-2.2.4/include/util_ldap.h:80: error: 'LDAP_DEREF_FINDING' undeclared here (not in a function)
/tmp/apache/httpd-2.2.4/include/util_ldap.h:81: error: 'LDAP_DEREF_ALWAYS' undeclared here (not in a function)
/tmp/apache/httpd-2.2.4/include/util_ldap.h:86: error: expected specifier-qualifier-list before 'LDAP'
make[2]: *** [exports.lo] Error 1
make[2]: Leaving directory `/tmp/apache/httpd-2.2.4/server'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/apache/httpd-2.2.4/server'
make: *** [all-recursive] Error 1
gsubrama@lcialnx5:/tmp/apache/httpd-2.2.4>
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Unable to build apache 2.2.4 on SUSE 10 IA64.

Shalom,

I'm guessing the system is LDAP integrated:

Support for LDAP v2.0 toolkits has been removed from apr-util. Please use an LDAP v3.0 toolkit.

Following this advice would be a good idea.

I would review the pre-requisite requirements on the apache site as far as compliers, you are apparently not meeting those requirements.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
GnanaShekar
Regular Advisor

Re: Unable to build apache 2.2.4 on SUSE 10 IA64.

Hi,

Installed openldap2-devel with its dependencies cyrus-sasl-devel & openssl-devel . I could build the apache later without any problem.

Thanks.