Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Apache: Users

Solaris build w/LDAP support

 

 

Apache users RSS feed   Index | Next | Previous | View Threaded


JWilmoth at starbucks

Jun 20, 2008, 4:00 PM

Post #1 of 3 (375 views)
Permalink
Solaris build w/LDAP support

I'm trying to build 2.2.9 with support for ldap authentication on a
solaris 10 box, but am getting an error during the configure step that
says apr-util isn't able to find an LDAP library. I've installed the
latest openldap package from sunfreeware.com (details below) and used
the following options --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include.
I also tried the 2.0.63 version and got pretty much the same error. The
exact configure commands and the relevant output is below. Any
suggestions on how to let the build process know where the openldap
install is would be greatly appreciated.

Thanks,
Jon Wilmoth


PKGINST: SMColdap
NAME: openldap
CATEGORY: application
ARCH: sparc
VERSION: 2.4.10
BASEDIR: /usr/local
VENDOR: The OpenLDAP Group
PSTAMP: Steve Christensen
INSTDATE: Jun 18 2008 13:02
EMAIL: steve[at]smc.vnet.net
STATUS: completely installed
FILES: 1054 installed pathnames
12 shared pathnames
63 directories
22 executables
32209 blocks used (approx)


./configure --prefix=/usr/local/apache-2.2.9 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='access
actions alias asis auth authnz-ldap autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imagemap
include ldap log-config mime negotiation proxy proxy-ajp proxy-balancer
proxy-connect proxy-ftp proxy-http rewrite setenvif speling ssl status
unique-id userdir usertrack vhost-alias'


checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11398: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11399: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11993: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11994: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12588: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12589: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13183: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13184: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


./configure --prefix=/usr/local/apache-2.0.63 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='ssl ldap
auth-ldap access actions alias asis auth autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imap include
info log-config log-forensic mime mime-magic negotiation rewrite
setenvif speling status unique-id userdir usertrack vhost-alias'


...
checking for unistd.h... yes
checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7083: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7084: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7384: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7385: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7685: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7686: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7986: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7987: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


JWilmoth at starbucks

Jun 24, 2008, 9:47 AM

Post #2 of 3 (335 views)
Permalink
RE: Solaris build w/LDAP support [In reply to]

FYI...The resolution that worked me for building 2.2.9 & getting past
this issue included the following:

a) remove openldap 2.4.10 & install 2.3.35
b) prefix configure script with CPPFLPAGS=-DLDAP_DEPRECATED. The
configure script looks at an old function that isn't found w/out this.
c) use the "--with-ldap" option w/out any value
d) use the "--with-ldap-lib" option w/ the path to the ldap lib dir (as
documented) (e.g. --with-ldap-lib=/usr/local/lib)
e) use the "--with-ldap-include" option w/ the path to the ldap include
dir (as documented) (e.g. --with-ldap-include=/usr/local/include)


-----Original Message-----
From: Jon Wilmoth
Sent: Friday, June 20, 2008 4:00 PM
To: users[at]httpd.apache.org
Subject: [users[at]httpd] Solaris build w/LDAP support

I'm trying to build 2.2.9 with support for ldap authentication on a
solaris 10 box, but am getting an error during the configure step that
says apr-util isn't able to find an LDAP library. I've installed the
latest openldap package from sunfreeware.com (details below) and used
the following options --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include.
I also tried the 2.0.63 version and got pretty much the same error. The
exact configure commands and the relevant output is below. Any
suggestions on how to let the build process know where the openldap
install is would be greatly appreciated.

Thanks,
Jon Wilmoth


PKGINST: SMColdap
NAME: openldap
CATEGORY: application
ARCH: sparc
VERSION: 2.4.10
BASEDIR: /usr/local
VENDOR: The OpenLDAP Group
PSTAMP: Steve Christensen
INSTDATE: Jun 18 2008 13:02
EMAIL: steve[at]smc.vnet.net
STATUS: completely installed
FILES: 1054 installed pathnames
12 shared pathnames
63 directories
22 executables
32209 blocks used (approx)


./configure --prefix=/usr/local/apache-2.2.9 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='access
actions alias asis auth authnz-ldap autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imagemap
include ldap log-config mime negotiation proxy proxy-ajp proxy-balancer
proxy-connect proxy-ftp proxy-http rewrite setenvif speling ssl status
unique-id userdir usertrack vhost-alias'


checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11398: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11399: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11993: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11994: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12588: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12589: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13183: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13184: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


./configure --prefix=/usr/local/apache-2.0.63 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='ssl ldap
auth-ldap access actions alias asis auth autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imap include
info log-config log-forensic mime mime-magic negotiation rewrite
setenvif speling status unique-id userdir usertrack vhost-alias'


...
checking for unistd.h... yes
checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7083: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7084: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7384: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7385: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7685: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7686: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7986: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7987: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org


TEiseler at gmx

Oct 13, 2008, 1:11 PM

Post #3 of 3 (143 views)
Permalink
RE: Solaris build w/LDAP support [In reply to]

Hi,

the prolem is fixed with the new apr and apr-util. Just download them from
http://apr.apache.org/download.cgi and untar them into the corresponding
apache source tree (httpd-NN/srclib/apr httpd-NN/srclib/apr-util). Then
it will work as intended xD.



-----Original Message-----



FYI...The resolution that worked me for building 2.2.9 & getting past
this issue included the following:

a) remove openldap 2.4.10 & install 2.3.35
b) prefix configure script with CPPFLPAGS=-DLDAP_DEPRECATED. The
configure script looks at an old function that isn't found w/out this.
c) use the "--with-ldap" option w/out any value
d) use the "--with-ldap-lib" option w/ the path to the ldap lib dir (as
documented) (e.g. --with-ldap-lib=/usr/local/lib)
e) use the "--with-ldap-include" option w/ the path to the ldap include
dir (as documented) (e.g. --with-ldap-include=/usr/local/include)


-----Original Message-----
From: Jon Wilmoth
Sent: Friday, June 20, 2008 4:00 PM
To: users[at]httpd.apache.org
Subject: [users[at]httpd] Solaris build w/LDAP support

I'm trying to build 2.2.9 with support for ldap authentication on a
solaris 10 box, but am getting an error during the configure step that
says apr-util isn't able to find an LDAP library. I've installed the
latest openldap package from sunfreeware.com (details below) and used
the following options --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include.
I also tried the 2.0.63 version and got pretty much the same error. The
exact configure commands and the relevant output is below. Any
suggestions on how to let the build process know where the openldap
install is would be greatly appreciated.

Thanks,
Jon Wilmoth


PKGINST: SMColdap
NAME: openldap
CATEGORY: application
ARCH: sparc
VERSION: 2.4.10
BASEDIR: /usr/local
VENDOR: The OpenLDAP Group
PSTAMP: Steve Christensen
INSTDATE: Jun 18 2008 13:02
EMAIL: steve[at]smc.vnet.net
STATUS: completely installed
FILES: 1054 installed pathnames
12 shared pathnames
63 directories
22 executables
32209 blocks used (approx)


./configure --prefix=/usr/local/apache-2.2.9 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='access
actions alias asis auth authnz-ldap autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imagemap
include ldap log-config mime negotiation proxy proxy-ajp proxy-balancer
proxy-connect proxy-ftp proxy-http rewrite setenvif speling ssl status
unique-id userdir usertrack vhost-alias'


checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11398: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11399: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11993: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 11994: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12588: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 12589: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13183: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.2.9/srclib/apr-util/configure: line 13184: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


./configure --prefix=/usr/local/apache-2.0.63 --with-ldap=/usr/local
--with-ldap-lib=/usr/local/lib --with-ldap-include=/usr/local/include
--with-ssl=/usr/local/ssl --enable-so --enable-mods-shared='ssl ldap
auth-ldap access actions alias asis auth autoindex cern-meta cgi cgid
charset-lite dav dav-fs dir env expires ext-filter headers imap include
info log-config log-forensic mime mime-magic negotiation rewrite
setenvif speling status unique-id userdir usertrack vhost-alias'


...
checking for unistd.h... yes
checking for ldap support...
setting APRUTIL_INCLUDES to "-I/usr/local/include"
setting APRUTIL_LDFLAGS to "-L/usr/local/lib"
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7083: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7084: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7384: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7385: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7685: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7686: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7986: unset:
`ac_cv_lib_/usr/local_ldap_init': not a valid identifier
/home/svcacct/httpd-2.0.63/srclib/apr-util/configure: line 7987: unset:
`ac_cv_lib_/usr/local___ldap_init': not a valid identifier
checking for ldap_init in -l/usr/local... (cached) no
configure: error: could not find an LDAP library
configure failed for srclib/apr-util


---------------------------------------------------------------------
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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]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[at]httpd.apache.org
" from the digest: users-digest-unsubscribe[at]httpd.apache.org
For additional commands, e-mail: users-help[at]httpd.apache.org





_____

Ich verwende die kostenlose Version von SPAMfighter
<http://www.spamfighter.com/lde> , die bisher
1493 Spammails entfernt und mir so eine Menge Zeit gespart hat.
Rund 5,4 Millionen Leute nutzen SPAMfighter schon.
Bezahlende Anwender haben diesen Hinweis nicht in ihren E-Mails.

Apache users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.