[Fedora-directory-users] FC3 - ldapserver make Prb

Richard Megginson rmeggins at redhat.com
Wed Sep 28 20:10:25 UTC 2005


Jason Kullo Sam wrote:

> Hrm...nope...looks like just libsasl2.la there...

Try make clean, then remake again following the directions 
http://directory.fedora.redhat.com/wiki/Building#Cyrus_SASL

>
> =================
> [root at genie cyrus-sasl-2.1.20]# ls lib
> auxprop.c    client.lo  dlopen.o       Makefile.in       saslutil.o
> auxprop.lo   client.o   external.c     md5.c             server.c
> auxprop.o    common.c   external.lo    md5.lo            server.lo
> canonusr.c   common.lo  external.o     md5.o             server.o
> canonusr.lo  common.o   getaddrinfo.c  NTMakefile        seterror.c
> canonusr.o   config.c   getnameinfo.c  plugin_common.lo  seterror.lo
> checkpw.c    config.lo  getsubopt.c    plugin_common.o   seterror.o
> checkpw.lo   config.o   libsasl2.la    saslint.h         snprintf.c
> checkpw.o    dlopen.c   Makefile       saslutil.c        staticopen.h
> client.c     dlopen.lo  Makefile.am    saslutil.lo       windlopen.c
> [root at genie cyrus-sasl-2.1.20]#         =========================
> Richard Megginson wrote:
>
>> Do you have libsasl2.a in your cyrus-sasl-2.1.20/lib directory?
>>
>> Jason Kullo Sam wrote:
>>
>>> Ok...cyrus-sasl failed...but apparently the needed libraries were 
>>> installed.
>>> All other components successfully installed, then when I try to make 
>>> the source, I get the following:
>>>
>>> PS- After some googling, I found someone who was having the same 
>>> problem with just a straight ldap install. They had to fix it with 
>>> CPPFLAGS...but I have no idea how to try this fix as part of this 
>>> make...(I wasn't smart enough to beat the makefile and find where 
>>> the actual call for that comes from...) Thanks again guys
>>> =============================
>>> [root at genie ds]# ls
>>> 09.23                              icu-2.4.tgz
>>> 09.27                              ldapserver
>>> cyrus-sasl-2.1.20                  mozilla
>>> cyrus-sasl-2.1.20.tar.gz           mozilla-components.tar.gz
>>> db-4.2.52.NC                       net-snmp-5.2.1
>>> db-4.2.52.NC.tar.gz                net-snmp-5.2.1.tar.gz
>>> fedora-adminutil-devel-7.1         patch.4.2.52.1
>>> fedora-adminutil-devel-7.1.tar.gz  patch.4.2.52.2
>>> fedora-setuputil-devel-7.1         patch.4.2.52.3
>>> fedora-setuputil-devel-7.1.tar.gz  patch.4.2.52.4
>>> icu
>>> [root at genie ds]# cd ldapserver ; gmake USE_PERL_FROM_PATH=1 
>>> BUILD_DEBUG=optimize
>>> if test ! -d Linux; then mkdir Linux; fi;
>>> /usr/bin/perl buildnum.pl -p Linux
>>> NSOS_RELEASE is: 2.6
>>> /usr/bin/perl pumpkin.pl 120 pumpkin.dat
>>> The components are up to date
>>>
>>>
>>> ==== Starting LDAP Server ==========
>>>
>>> gmake BUILD_OPT=1 NO_JAVA=1  nsCommon
>>> gmake[1]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver'
>>> cd config;              gmake BUILD_OPT=1 NO_JAVA=1 export 
>>> SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=1 NS_PRODUCT=DIRECTORY_SERVER 
>>> VERSION= NS_USE_NATIVE= NSPR_BASENAME=libnspr21 DIST= 
>>> OBJDIR=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd 
>>> FASTTIME_HEADER_DEST=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd/include 
>>> FASTTIME_TARGET_DEST=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd 
>>> NSINSTALL=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd/nsinstall 
>>>
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/config'
>>> gmake[2]: Nothing to be done for `export'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/config'
>>> gmake[1]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver'
>>> cd config;           gmake BUILD_OPT=1 NO_JAVA=1  install 
>>> SERVER_BUILD=1 XCFLAGS= USE_PTHREADS=1 NS_PRODUCT=DIRECTORY_SERVER 
>>> VERSION= NS_USE_NATIVE= NSPR_BASENAME=libnspr21 DIST= 
>>> OBJDIR=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd 
>>> FASTTIME_HEADER_DEST=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd/include 
>>> FASTTIME_TARGET_DEST=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd 
>>> NSINSTALL=/root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd/nsinstall 
>>>
>>> gmake[1]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/config'
>>> gmake[1]: Nothing to be done for `install'.
>>> gmake[1]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/config'
>>> gmake BUILD_OPT=1 NO_JAVA=1  BUILD_MODULE=DIRECTORY 
>>> LDAP_NO_LIBLCACHE=1 httpdLib
>>> gmake[1]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver'
>>>
>>>
>>>
>>> ==== Starting Server LIBS for: DIRECTORY ==========
>>>
>>> cd lib/base;            gmake BUILD_OPT=1 NO_JAVA=1 -w
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/base'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/base'
>>> cd lib/ldaputil;        gmake BUILD_OPT=1 NO_JAVA=1 -w
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/ldaputil'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/ldaputil'
>>> cd lib/libaccess;       gmake BUILD_OPT=1 NO_JAVA=1 -w
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libaccess'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libaccess'
>>> cd lib/libadmin;        gmake BUILD_OPT=1 NO_JAVA=1 -w
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libadmin'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libadmin'
>>> cd lib/libsi18n;        gmake BUILD_OPT=1 NO_JAVA=1 -w
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libsi18n'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/lib/libsi18n'
>>> ==== Finished Server LIBS for: DIRECTORY ==========
>>>
>>> gmake[1]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver'
>>> cd httpd/src; gmake BUILD_OPT=1 NO_JAVA=1  LDAP_NO_LIBLCACHE=1 
>>> BUILD_MODULE=DIRECTORY all
>>> gmake[1]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/httpd/src'
>>> cd 
>>> /root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd 
>>> ; \
>>> /usr/bin/gcc -fwritable-strings -shared -o 
>>> /root/Desktop/dsbuild-static/ds/ldapserver/built/Linux-domestic-optimize-normal-slapd/libns-dshttpd"7""1".so 
>>> \
>>>              ./lib/libadmin/authdb.o ./lib/libadmin/error.o 
>>> ./lib/libadmin/template.o ./lib/libadmin/util.o 
>>> ./lib/libaccess/access_plhash.o ./lib/libaccess/aclcache.o 
>>> ./lib/libaccess/aclerror.o ./lib/libaccess/acleval.o 
>>> ./lib/libaccess/aclflush.o ./lib/libaccess/aclspace.o 
>>> ./lib/libaccess/acl.tab.o ./lib/libaccess/acltools.o 
>>> ./lib/libaccess/aclutil.o ./lib/libaccess/acl.yy.o 
>>> ./lib/libaccess/authdb.o ./lib/libaccess/lasdns.o 
>>> ./lib/libaccess/lasgroup.o ./lib/libaccess/lasip.o 
>>> ./lib/libaccess/lastod.o ./lib/libaccess/lasuser.o 
>>> ./lib/libaccess/ldapacl.o ./lib/libaccess/method.o 
>>> ./lib/libaccess/nsautherr.o ./lib/libaccess/nseframe.o 
>>> ./lib/libaccess/oneeval.o ./lib/libaccess/register.o 
>>> ./lib/libaccess/symbols.o ./lib/libaccess/usi.o 
>>> ./lib/libaccess/usrcache.o ./lib/base/crit.o ./lib/base/dnsdmain.o 
>>> ./lib/base/dns.o ./lib/base/ereport.o ./lib/base/file.o 
>>> ./lib/base/fsmutex.o ./lib/base/lexer.o ./lib/base/net.o 
>>> ./lib/base/nscperror.o ./lib/base/plist.o ./lib/base/pool.o 
>>> ./lib/base/rwlock.o ./lib/base/shexp.o ./lib/base/system.o 
>>> ./lib/base/systhr.o ./lib/base/util.o ./lib/ldaputil/certmap.o 
>>> ./lib/ldaputil/cert.o ./lib/ldaputil/dbconf.o 
>>> ./lib/ldaputil/encode.o ./lib/ldaputil/errors.o 
>>> ./lib/ldaputil/init.o ./lib/ldaputil/ldapauth.o 
>>> ./lib/ldaputil/ldapdb.o ./lib/ldaputil/vtable.o 
>>> ./lib/libsi18n/acclanglist.o ./lib/libsi18n/coreres.o 
>>> ./lib/libsi18n/getlang.o ./lib/libsi18n/getstrprop.o 
>>> ./lib/libsi18n/makstrdb.o ./lib/libsi18n/propset.o 
>>> ./lib/libsi18n/reshash.o ./lib/libsi18n/txtfile.o
>>> gmake[1]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/httpd/src'
>>> cd ldap; gmake BUILD_OPT=1 NO_JAVA=1  LDAP_NO_LIBLCACHE=1 
>>> BUILD_MODULE=DIRECTORY all
>>> gmake[1]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap'
>>> cd include; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/include'
>>> gmake[2]: Nothing to be done for `all'.
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/include'
>>> cd libraries; gmake BUILD_OPT=1 NO_JAVA=1 -w buildDirectory
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries'
>>> cd libavl; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[3]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/libavl'
>>> gmake[3]: Nothing to be done for `all'.
>>> gmake[3]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/libavl'
>>> cd libldif; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[3]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/libldif'
>>> gmake[3]: Nothing to be done for `all'.
>>> gmake[3]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/libldif'
>>> cd liblitekey; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[3]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/liblitekey'
>>> gmake[3]: Nothing to be done for `all'.
>>> gmake[3]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries/liblitekey'
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/libraries'
>>> cd servers; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[2]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers'
>>> cd slapd; gmake BUILD_OPT=1 NO_JAVA=1 -w all
>>> gmake[3]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers/slapd'
>>> gmake BUILD_OPT=1 NO_JAVA=1 -f libmakefile -w all
>>> gmake[4]: Entering directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers/slapd'
>>> gmake[4]: Nothing to be done for `all'.
>>> gmake[4]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers/slapd'
>>> /usr/bin/gcc -fwritable-strings -c -Wall -DNO_DBM -DLINUX -DLINUX2_2 
>>> -DLINUX2_4 -fPIC -D_REENTRANT -DNO_NODELOCK 
>>> -DPUMPKIN_HOUR=1138296124 -DNO_LIBLCACHE -DXP_UNIX -DLinux -O2 
>>> -DMCC_HTTPD -DNS_DOMESTIC -DNET_SSL -DCLIENT_AUTH -DSERVER_BUILD 
>>> -DNSPR20  -DNS_DS -DSPAPI20 -DBUILD_NUM=\"2005.271.1722\" 
>>> -DUPGRADEDB -DLINUX -DLINUX2_0 -DLINUX2_2 -DLinux 
>>> -DLDAP_DEBUG        -DLDAP_REFERRALS     -DLDAP_LDBM -DLDAP_LDIF 
>>> -DLDBM_USE_DBBTREE   -DSLAPD_PASSWD_SHA1 -DLDAP_SSLIO_HOOKS 
>>> -D__DBINTERFACE_PRIVATE -DNO_LIBLCACHE  -DNS_DIRECTORY -O  
>>> -I../../../ldap/include  
>>> -I../../../built/Linux-domestic-optimize-normal-slapd/include 
>>> -I../../../../db-4.2.52.NC/built -I. -I../../../include/libaccess 
>>> -I../../../lib -DLDAP_DONT_USE_SMARTHEAP -I../../../include 
>>> -I../../../include 
>>> -I../../../../mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/include 
>>> -I../../../../mozilla/dist/public/dbm 
>>> -I../../../../mozilla/dist/public/nss 
>>> -I../../../../mozilla/dist/public/svrcore -I../../../nspr20/lib 
>>> -I../../../../mozilla/dist/public/ldap 
>>> -I../../../../cyrus-sasl-2.1.20/include saslbind.c -o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/saslbind.o 
>>>
>>> cc1: note: -fwritable-strings is deprecated; see documentation for 
>>> details
>>> /usr/bin/gcc -fwritable-strings -c -Wall -DNO_DBM -DLINUX -DLINUX2_2 
>>> -DLINUX2_4
>>>
>>> ---------------------- SNIP SOME MAKE SPAM 
>>> --------------------------------
>>>
>>> cc1: note: -fwritable-strings is deprecated; see documentation for 
>>> details
>>> /usr/bin/g++ -fwritable-strings  
>>> -L../../../built/Linux-domestic-optimize-normal-slapd/lib   
>>> -Wl,-rpath,../bin/slapd/lib:.:../lib:../../lib:../../../lib:../../../../lib 
>>> -o 
>>> ../../../built/release/slapd/Linux-domestic-optimize-normal-slapd/bin/slapd/server/ns-slapd 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/abandon.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/bind.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/compare.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/config.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/connection.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/daemon.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/sasl_io.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/detach.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/globals.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/house.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/init.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/monitor.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/saslbind.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/search.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/strdup.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/tempnam.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/unbind.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/extendop.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/rootdse.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/configdse.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/pw_mgmt.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/auth.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/psearch.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/conntable.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/stubs.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/protect_db.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/fileio.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/lite_entries.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/getopt_ext.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/start_tls_extop.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/passwd_extop.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/fedse.o 
>>> ../../../built/Linux-domestic-optimize-normal-slapd/servers/obj/main.o   
>>> -L../../../built/release/slapd/Linux-domestic-optimize-normal-slapd/bin/slapd/server 
>>> -lslapd -lldapu 
>>> -L../../../../mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -lssl3 
>>> -lnss3 -lsoftokn3 -L../../../../mozilla/dist/lib -lssldap50 -lldap50 
>>> -lprldap50 
>>> -L../../../../mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -lplc4 
>>> -lplds4 -lnspr4  
>>> -L../../../../mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib -ldbm 
>>> -lavl -lldif -llitekey  -ldl  
>>> -L../../../../mozilla/dist/Linux2.6_x86_glibc_PTH_OPT.OBJ/lib 
>>> -lsvrcore -L../../../../cyrus-sasl-2.1.20/lib -lsasl2 
>>> -L/usr/kerberos/lib -lgssapi_krb5 -lcrypt -lpthread  
>>> -L../../../../db-4.2.52.NC/built/.libs -ldb-4.2
>>> /usr/bin/ld: cannot find -lsasl2
>>> collect2: ld returned 1 exit status
>>> gmake[3]: *** 
>>> [../../../built/release/slapd/Linux-domestic-optimize-normal-slapd/bin/slapd/server/ns-slapd] 
>>> Error 1
>>> gmake[3]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers/slapd'
>>> gmake[2]: *** [_slapd] Error 2
>>> gmake[2]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap/servers'
>>> gmake[1]: *** [ldapprogs] Error 2
>>> gmake[1]: Leaving directory 
>>> `/root/Desktop/dsbuild-static/ds/ldapserver/ldap'
>>> gmake: *** [buildDirectory] Error 2
>>> [root at genie ldapserver]#                  -- Fedora-directory-users 
>>> mailing list
>>> Fedora-directory-users at redhat.com
>>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>
>>
>>
>> ------------------------------------------------------------------------
>>
>> -- 
>> Fedora-directory-users mailing list
>> Fedora-directory-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/fedora-directory-users
>>  
>>
>
> -- 
> Fedora-directory-users mailing list
> Fedora-directory-users at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-directory-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3312 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.fedoraproject.org/pipermail/389-users/attachments/20050928/154f00ee/attachment.bin>


More information about the 389-users mailing list