httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Wilmoth" <JWilm...@starbucks.com>
Subject [users@httpd] Solaris build w/LDAP support
Date Fri, 20 Jun 2008 23:00:24 GMT
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@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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message