Re: [users@httpd] Compiling Apache 2.2.0 on Solaris 10 withmod_authnz_ldap support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes.

"./configure" 
"--enable-so" 
"--with-layout=Apache" 
"--enable-ssl"
"--prefix=/usr/local/apache-2.2.2" 
"--enable-speling" 
"--enable-rewrite"
"--with-ldap"
"--enable-ldap"
"--enable-authnz-ldap"
"--with-libraries=/usr/lib:/usr/local/lib"
"--with-ldap-sdk=openldap" 
"--with-ldap-lib=/usr/local/openldap/lib"
"--with-ldap-include=/usr/local/openldap/include"

-- 
Kyle

----- Original Message -----
From: Mark Reynolds <reynolds@xxxxxxx>
Date: Thursday, May 25, 2006 3:39 pm
Subject: Re: [users@httpd] Compiling Apache 2.2.0 on Solaris 10
withmod_authnz_ldap support

> When you run configure, do you have all three? (See httpd-
> 2.2.2/modules/ldap/README.ldap)
>   --with-ldap 
>   --enable-ldap 
>   --enable-authnz-ldap
> 
> I was seeing a similar issue until I added '--with-ldap' to the 
> configure.
> 
> kckepple@xxxxxxxxxxxx wrote:
> > 
> > I am having the exact same problem seen here:
> > http://mail-archives.apache.org/mod_mbox/httpd-
>
users/200601.mbox/%3c6beddb200601251141h4a59dbcat925ac19d0c346fc1@xxxxxxxxxxxxxx%3e>

> > I have tried the solution listed in a followup, but that has not 
> worked> for me. I am trying to compile apache 2.2.2 with ldap 
> support on Solaris
> > 2.9 but get this error during make:
> > 
> > make[1]: Entering directory `/admin/httpd-2.2.2'
> > /admin/httpd-2.2.2/srclib/apr/libtool --silent --mode=compile gcc 
> -g -O2
> > -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> > -D_LARGEFILE64_SOURCE  -I/usr/local/include
> > -I/usr/local/BerkeleyDB/include -I/usr/local/ssl/include
> > -I/admin/httpd-2.2.2/srclib/pcre -I. -I/admin/httpd-2.2.2/os/unix
> > -I/admin/httpd-2.2.2/server/mpm/prefork
> > -I/admin/httpd-2.2.2/modules/http -I/admin/httpd-
> 2.2.2/modules/filters> -I/admin/httpd-2.2.2/modules/proxy -
> I/admin/httpd-2.2.2/include
> > -I/admin/httpd-2.2.2/modules/generators
> > -I/admin/httpd-2.2.2/modules/mappers
> > -I/admin/httpd-2.2.2/modules/database
> > -I/admin/httpd-2.2.2/srclib/apr/include
> > -I/admin/httpd-2.2.2/srclib/apr-util/include
> > -I/usr/local/openldap/include -I/usr/local/include
> > -I/admin/httpd-2.2.2/modules/proxy/../generators
> > -I/admin/httpd-2.2.2/modules/ssl -I/admin/httpd-
> 2.2.2/modules/dav/main> -prefer-non-pic -static -c modules.c && 
> touch modules.lo
> > gcc -g -O2 -pthreads    -DSOLARIS2=9 -D_POSIX_PTHREAD_SEMANTICS
> > -D_REENTRANT -D_LARGEFILE64_SOURCE  -I/usr/local/include
> > -I/usr/local/BerkeleyDB/include -I/usr/local/ssl/include
> > -I/admin/httpd-2.2.2/srclib/pcre -I. -I/admin/httpd-2.2.2/os/unix
> > -I/admin/httpd-2.2.2/server/mpm/prefork
> > -I/admin/httpd-2.2.2/modules/http -I/admin/httpd-
> 2.2.2/modules/filters> -I/admin/httpd-2.2.2/modules/proxy -
> I/admin/httpd-2.2.2/include
> > -I/admin/httpd-2.2.2/modules/generators
> > -I/admin/httpd-2.2.2/modules/mappers
> > -I/admin/httpd-2.2.2/modules/database
> > -I/admin/httpd-2.2.2/srclib/apr/include
> > -I/admin/httpd-2.2.2/srclib/apr-util/include
> > -I/usr/local/openldap/include -I/usr/local/include
> > -I/admin/httpd-2.2.2/modules/proxy/../generators
> > -I/admin/httpd-2.2.2/modules/ssl -I/admin/httpd-
> 2.2.2/modules/dav/main> -c /admin/httpd-2.2.2/server/buildmark.c
> > /admin/httpd-2.2.2/srclib/apr/libtool --silent --mode=link gcc -g 
> -O2
> > -pthreads     -L/usr/local/openldap/lib  -L/usr/local/lib
> > -L/usr/local/BerkeleyDB/lib -L/usr/local/ssl/lib -R/usr/local/lib
> > -R/usr/local/BerkeleyDB/lib -R/usr/local/ssl/lib -o httpd  
> modules.lo> buildmark.o -export-dynamic server/libmain.la
> > modules/aaa/libmod_authn_file.la modules/aaa/libmod_authn_default.la
> > modules/aaa/libmod_authz_host.la 
> modules/aaa/libmod_authz_groupfile.la> 
> modules/aaa/libmod_authz_user.la modules/aaa/libmod_authz_default.la
> > modules/aaa/libmod_auth_basic.la modules/filters/libmod_include.la
> > modules/filters/libmod_filter.la 
> modules/loggers/libmod_log_config.la> 
> modules/metadata/libmod_env.la modules/metadata/libmod_setenvif.la
> > modules/ssl/libmod_ssl.la modules/http/libmod_http.la
> > modules/http/libmod_mime.la modules/generators/libmod_status.la
> > modules/generators/libmod_autoindex.la 
> modules/generators/libmod_asis.la> modules/generators/libmod_cgi.la 
> modules/mappers/libmod_negotiation.la> 
> modules/mappers/libmod_dir.la modules/mappers/libmod_actions.la
> > modules/mappers/libmod_speling.la modules/mappers/libmod_userdir.la
> > modules/mappers/libmod_alias.la modules/mappers/libmod_rewrite.la
> > modules/mappers/libmod_so.la server/mpm/prefork/libprefork.la
> > os/unix/libos.la -lm /admin/httpd-2.2.2/srclib/pcre/libpcre.la
> > /admin/httpd-2.2.2/srclib/apr-util/libaprutil-1.la -lldap -llber -
> lexpat> -liconv /admin/httpd-2.2.2/srclib/apr/libapr-1.la -luuid -
> lsendfile -lrt
> > -lsocket -lnsl -lpthread -ldl
> > Undefined                       first referenced
> >  symbol                             in file
> > apr_ldap_info                       
> server/.libs/libmain.a(exports.o)> apr_ldap_init                    
>   server/.libs/libmain.a(exports.o)
> > apr_ldap_url_parse_ext              
> server/.libs/libmain.a(exports.o)> apr_ldap_ssl_deinit              
>   server/.libs/libmain.a(exports.o)
> > apr_ldap_is_ldapi_url               
> server/.libs/libmain.a(exports.o)> apr_ldap_is_ldaps_url            
>   server/.libs/libmain.a(exports.o)
> > apr_ldap_set_option                 
> server/.libs/libmain.a(exports.o)> apr_ldap_get_option              
>   server/.libs/libmain.a(exports.o)
> > apr_ldap_is_ldap_url                
> server/.libs/libmain.a(exports.o)> apr_ldap_ssl_init                
>   server/.libs/libmain.a(exports.o)
> > apr_ldap_url_parse                  
> server/.libs/libmain.a(exports.o)> ld: fatal: Symbol referencing 
> errors. No output written to .libs/httpd
> > collect2: ld returned 1 exit status
> > make[1]: *** [httpd] Error 1
> > make[1]: Leaving directory `/admin/httpd-2.2.2'
> > make: *** [all-recursive] Error 1
> > 
> > Configure runs successfully, but I am able to see a few erors in
> > config.log: http://valdosta.edu/~kckepple/config.log specifically:
> > Undefined                       first referenced
> >  symbol                             in file
> > sqrt                                /var/tmp//ccgftUtH.o
> > ld: fatal: Symbol referencing errors. No output written to conftest
> > and a few similar to this. Seems a bit odd there are two slashes 
> after tmp.
> > 
> > using this command and setting these env vars:
> > CC="gcc"; export CC
> > CPPFLAGS="-I/usr/local/include -I/usr/local/BerkeleyDB/include
> > -I/usr/local/ssl/include"; export CPPFLAGS
> > LDFLAGS="-L/usr/local/lib -L/usr/local/BerkeleyDB/lib
> > -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/BerkeleyDB/lib
> > -R/usr/local/ssl/lib"; export LDFLAGS
> > 
> > "./configure" "--enable-so" "--with-layout=Apache" "--enable-ssl"
> > "--prefix=/usr/local/apache-2.2.2" "--enable-speling" "--enable-
> rewrite"> "--with-ldap" "--enable-ldap" "--enable-authnz-ldap"
> > "--with-libraries=/usr/lib:/usr/local/lib" "--with-ldap-
> sdk=openldap"> "--with-ldap-lib=/usr/local/openldap/lib"
> > "--with-ldap-include=/usr/local/openldap/include"
> > 
> > I have also tried removing "--enable-ldap" "--enable-authnz-ldap" 
> to no
> > success. As well as seprately comileing apx and apx-util and using
> > --with-apr= and --with-apr-util = to the correct directories
> > 
> > env
> > PWD=/admin/httpd-2.2.2
> > TZ=US/Eastern
> > HOSTNAME=lyre.valdosta.edu
> > 
>
LD_LIBRARY_PATH=/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/lang:/usr/local:/usr/ucb:/usr/local/lib:/usr/lib:/usr/sfw/lib:/usr/lib/netsvc/yp:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/lang::/usr/local:/usr/ucb:/usr/local/lib:/usr/lib:/usr/sfw/lib:/usr/include:/usr/local/include/usr/include:/usr/local/include:/usr/local/ssl/include:/usr/local/ssl/:.:>
CC=gcc
> > JGRASP_HOME=/usr/local/jgrasp
> > GNOME_PATH=/opt/gnome
> > USER=root
> > MACHTYPE=sparc-sun-solaris2.9
> > SSH2_SFTP_LOG_FACILITY=-1
> > MAIL=/var/mail/root
> > OLDPWD=/
> > CPPFLAGS=-I/usr/local/include -I/usr/local/BerkeleyDB/include
> > -I/usr/local/ssl/include
> > EDITOR=vim
> > LOGNAME=root
> > SHLVL=1
> > LDFLAGS=-L/usr/local/lib -L/usr/local/BerkeleyDB/lib
> > -L/usr/local/ssl/lib -R/usr/local/lib -R/usr/local/BerkeleyDB/lib
> > -R/usr/local/ssl/lib
> > SHELL=/usr/bin/bash
> > JDK_HOME=/usr/j2se/bin
> > HOSTTYPE=sparc
> > OSTYPE=solaris2.9
> > HISTSIZE=1000
> > HOME=/
> > TERM=xterm
> > 
>
PATH=/opt/gnome/bin:/usr/local/bin:/bin:/usr/bin:/usr/sbin:/usr/ccs/bin:/usr/lang:/usr/local:/usr/ucb:/usr/local/lib:/usr/lib:/usr/sfw/lib:/usr/lib/netsvc/yp>
_=/bin/env
> > 
> > I have been able to build and install apache without ldap.
> > 
> > Thanks
> > 
> > --
> > Kyle
> > 
> > ------------------------------------------------------------------
> ---
> > 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@xxxxxxxxxxxxxxxx
> >    "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
> > For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
> 

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux