[Fedora-directory-users] FC3 - Back to cyrus-sasl

Jason Kullo Sam kullo at lws.bia.edu
Wed Sep 28 22:12:35 UTC 2005


Ok...guess I have to get this build going after all. Getting halfway 
through the make, then failing with the following error. Doh!

Attacked the cyrus install again. Did a make clean, then changed my mind 
and deleted entire folder and started all over with it. For some reason, 
the sasl make seemed to go this time(maybe I just needed to blow the 
folder out last time)...but, the make on ldapserver still failed. See 
below for log(snipped out bits of spam...) On the bright side...I'm 
actually learning lots! =D
====================================================================
[root at genie ds]# gunzip -c cyrus-sasl-2.1.20.tar.gz | tar xf -
tar: Read 2048 bytes from -
[root at genie ds]# cd cyrus-sasl-2.1.20
[root at genie cyrus-sasl-2.1.20]# CFLAGS="-O2" ./configure 
--enable-gssapi=/usr/kerberos/include/--enable-static --without-des 
--without-openssl
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
-------------------- SNIP Successful Config
updating cache .././config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating saslauthd.h
config.status: executing depfiles commands
Configuration Complete. Type 'make' to build.
[root at genie cyrus-sasl-2.1.20]# 

##########################
Onto the make...
##########################

Configuration Complete. Type 'make' to build.
[root at genie cyrus-sasl-2.1.20]# gmake
gmake  all-recursive
gmake[1]: Entering directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20'
Making all in include
gmake[2]: Entering directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20/include'
if gcc -DHAVE_CONFIG_H -I. -I. -I..     -Wall -W -O2 -MT makemd5.o -MD 
-MP -MF ".deps/makemd5.Tpo" \
  -c -o makemd5.o `test -f 'makemd5.c' || echo './'`makemd5.c; \
then mv ".deps/makemd5.Tpo" ".deps/makemd5.Po"; \
else rm -f ".deps/makemd5.Tpo"; exit 1; \
fi
/bin/sh ../libtool --mode=link gcc  -Wall -W -O2   -o makemd5  
makemd5.o  -lresolv
mkdir .libs

------------------- SNIP Make spam ----------------------------

if gcc -DHAVE_CONFIG_H 
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/local/etc/saslauthd.conf\" -I. -I. 
-I.. -I. -I. -I. -I./include -I./include -I./../include    -O2 -MT 
saslauthd-main.o -MD -MP -MF ".deps/saslauthd-main.Tpo" \
  -c -o saslauthd-main.o `test -f 'saslauthd-main.c' || echo 
'./'`saslauthd-main.c; \
then mv ".deps/saslauthd-main.Tpo" ".deps/saslauthd-main.Po"; \
else rm -f ".deps/saslauthd-main.Tpo"; exit 1; \
fi
if gcc -DHAVE_CONFIG_H 
-DSASLAUTHD_CONF_FILE_DEFAULT=\"/usr/local/etc/saslauthd.conf\" -I. -I. 
-I.. -I. -I. -I. -I./include -I./include -I./../include    -O2 -MT md5.o 
-MD -MP -MF ".deps/md5.Tpo" \
  -c -o md5.o `test -f 'md5.c' || echo './'`md5.c; \
then mv ".deps/md5.Tpo" ".deps/md5.Po"; \
else rm -f ".deps/md5.Tpo"; exit 1; \
fi
gcc  -O2   -o saslauthd  mechanisms.o auth_dce.o auth_getpwent.o 
auth_krb5.o auth_krb4.o auth_pam.o auth_rimap.o auth_shadow.o auth_sia.o 
auth_sasldb.o lak.o auth_ldap.o cache.o utils.o ipc_unix.o ipc_doors.o 
saslauthd-main.o md5.o -lcrypt -lresolv      -lresolv
gmake[3]: Leaving directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20/saslauthd'
gmake[2]: Leaving directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20/saslauthd'
gmake[2]: Entering directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20'
gmake[2]: Leaving directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20'
gmake[1]: Leaving directory 
`/root/Desktop/dsbuild-static/ds/cyrus-sasl-2.1.20'
[root at genie cyrus-sasl-2.1.20]#       

#######################################
Seems to have compiled right that time for some reason...weird...
#######################################
  
[root at genie cyrus-sasl-2.1.20]# cd ..
[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/
[root at genie 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'

-------------------------- SNIP Make Spam

.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]# ls ../cyrus-sasl-2.1.20/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 ldapserver]#                             




More information about the Fedora-directory-users mailing list