GentlePeopleInTheKnow

I am following the instruction in the blfs book for cyrus-sasl-2.1.26 
http://www.linuxfromscratch.org/blfs/view/svn/postlfs/cyrus-sasl.html
but running into problems.  It  wont compile

The host has 2-core amd64cpu, gcc-4.8.1, eglibc-2.17, openssl-1.0.1.e 
automake-1.13.3, autoconf-2.69

Here is briefly  what I tried:-

---------------------------
################################
   Applying patch cyrus-sasl-2.1.26-fixes-1.patch 
################################

patching file cmulocal/sasl2.m4
patching file config/kerberos_v4.m4
patching file configure.in
patching file include/sasl.h
patching file java/CyrusSasl/Makefile.am
patching file lib/auxprop.c
patching file lib/dlopen.c
patching file lib/Makefile.am
patching file Makefile.am
patching file plugins/Makefile.am
patching file pwcheck/Makefile.am
patching file pwcheck/pwcheck_getspnam.c
patching file sample/Makefile.am
patching file saslauthd/configure.in
patching file saslauthd/Makefile.am
patching file sasldb/Makefile.am
patching file utils/Makefile.am
patching file Versions



######################################
  running autoreconf 
######################################

aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `../cmulocal'.
libtoolize: copying file `../cmulocal/libtool.m4'
libtoolize: copying file `../cmulocal/ltoptions.m4'
libtoolize: copying file `../cmulocal/ltsugar.m4'
libtoolize: copying file `../cmulocal/ltversion.m4'
libtoolize: copying file `../cmulocal/lt~obsolete.m4'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:19: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.  For more info, see:
configure.in:19: 
http://www.gnu.org/software/automake/manual/automake.html#Modernize-
AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `cmulocal'.
libtoolize: copying file `cmulocal/libtool.m4'
libtoolize: copying file `cmulocal/ltoptions.m4'
libtoolize: copying file `cmulocal/ltsugar.m4'
libtoolize: copying file `cmulocal/ltversion.m4'
libtoolize: copying file `cmulocal/lt~obsolete.m4'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:64: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.  For more info, see:
configure.in:64: 
http://www.gnu.org/software/automake/manual/automake.html#Modernize-
AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
java/CyrusSasl/Makefile.am:46: warning: wildcard ../lib/*.lo: non-POSIX 
variable name
java/CyrusSasl/Makefile.am:46: (probably a GNU make extension)
java/CyrusSasl/Makefile.am:52: warning: patsubst %.class,CyrusSasl.%,$^: non-
POSIX variable name
java/CyrusSasl/Makefile.am:52: (probably a GNU make extension)
~/cyrus-sasl-2.1.26/saslauthd ~/cyrus-sasl-2.1.26
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
libtoolize: putting auxiliary files in AC_CONFIG_AUX_DIR, `config'.
libtoolize: copying file `config/ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `../cmulocal'.
libtoolize: copying file `../cmulocal/libtool.m4'
libtoolize: copying file `../cmulocal/ltoptions.m4'
libtoolize: copying file `../cmulocal/ltsugar.m4'
libtoolize: copying file `../cmulocal/ltversion.m4'
libtoolize: copying file `../cmulocal/lt~obsolete.m4'
aclocal: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
configure.in:19: warning: AM_INIT_AUTOMAKE: two- and three-arguments forms are 
deprecated.  For more info, see:
configure.in:19: 
http://www.gnu.org/software/automake/manual/automake.html#Modernize-
AM_005fINIT_005fAUTOMAKE-invocation
automake: warning: autoconf input should be named 'configure.ac', not 
'configure.in'
~/cyrus-sasl-2.1.26


#####################################
  excerpt from  ./configure spew
#####################################

checking DB library to use... berkeley
checking if Berkeley DB handle is kept open in SASLDB... no
checking for dlopen in -ldl... yes
checking /dev/random to use... /dev/random
checking for nm... /usr/bin/nm -B
checking for underscore before symbols... no
checking for syslog... yes
checking security/pam_appl.h usability... yes
checking security/pam_appl.h presence... yes
checking for security/pam_appl.h... yes
checking pam/pam_appl.h usability... no
checking pam/pam_appl.h presence... no
checking for pam/pam_appl.h... no
checking for pam_start... no
checking if I should include saslauthd... /var/run/saslauthd
checking to include Courier authdaemond support... /dev/null
checking if I should include pwcheck... no
checking if I should include the alwaystrue verifier... no
checking if we should enable sasl_checkapop... enabled
checking CRAM-MD5... enabled
checking size of long... 8
checking what directory libraries are found in... lib64
checking for RSAPublicEncrypt in -lrsaref... no
checking openssl/evp.h usability... yes
checking openssl/evp.h presence... yes
checking for openssl/evp.h... yes
checking for EVP_DigestInit in -lcrypto... yes
checking for OpenSSL... yes
checking for des_cbc_encrypt in -lcrypto... no
checking for DES_cbc_encrypt in -lcrypto... yes
checking openssl/des.h usability... yes
checking openssl/des.h presence... yes
checking for openssl/des.h... yes
checking DIGEST-MD5... enabled
checking SCRAM... enabled

-----
----
configure: running /bin/sh ./configure --disable-option-checking '--
prefix=/usr/local'  '--sysconfdir=/etc' '--with-bdb-libdir=/usr/include' '--
with-bdb-incdir=/usr/lib' '--with-openssl=/usr/local' '--with-
saslauthd=/var/run/saslauthd' '--with-dbpath=/var/lib/sasl/sasldb2' 'CC=gcc' 
'CFLAGS= -O2 -pipe -m64 -fPIC' 'LDFLAGS=-L/usr/lib   -L/usr/local/lib' 
'CPPFLAGS=-I/usr/include   -I/usr/local/include' --cache-
file=.././config.cache --srcdir=.
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-unknown-linux-gnu
checking host system type... (cached) x86_64-unknown-linux-gnu
checking for a BSD-compatible install... (cached) /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p
checking for gawk... (cached) gawk
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating libsasl2.pc
config.status: creating include/Makefile
config.status: creating sasldb/Makefile
config.status: creating plugins/Makefile
config.status: creating lib/Makefile
config.status: creating utils/Makefile
config.status: creating doc/Makefile
config.status: creating sample/Makefile
config.status: creating java/Makefile
config.status: creating java/CyrusSasl/Makefile
config.status: creating java/Test/Makefile
config.status: creating java/javax/Makefile
config.status: creating java/javax/security/Makefile
config.status: creating java/javax/security/auth/Makefile
config.status: creating java/javax/security/auth/callback/Makefile
config.status: creating pwcheck/Makefile
config.status: creating man/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
=== configuring in saslauthd (/home/dokli/cyrus-sasl-2.1.26/saslauthd)




###########################
   running make 
########################

make  all-recursive
make[1]: Entering directory `/home/dokli/cyrus-sasl-2.1.26'
Making all in include
make[2]: Entering directory `/home/dokli/cyrus-sasl-2.1.26/include'
gcc -DHAVE_CONFIG_H -I. -I..   -I/usr/include   -I/usr/local/include -
I/usr/lib -DOBSOLETE_CRAM_ATTR=1  -Wall -W  -O2 -pipe -m64 -fPIC -MT makemd5.o 
-MD -MP -MF .deps/makemd5.Tpo -c -o makemd5.o makemd5.c
mv -f .deps/makemd5.Tpo .deps/makemd5.Po
/bin/sh ../libtool  --tag=CC   --mode=link gcc  -Wall -W  -O2 -pipe -m64 -fPIC  
-L/usr/lib   -L/usr/local/lib -o makemd5 makemd5.o  -lresolv  
libtool: link: gcc -Wall -W  -O2 -pipe -m64 -fPIC -o makemd5 makemd5.o  -
L/usr/lib -L/usr/local/lib -lresolv
rm -f md5global.h
./makemd5 md5global.h
make[2]: Leaving directory `/home/dokli/cyrus-sasl-2.1.26/include'
Making all in sasldb
make[2]: Entering directory `/home/dokli/cyrus-sasl-2.1.26/sasldb'
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -
I../include -I../include -I/usr/lib -I/usr/include   -I/usr/local/include -
I/usr/lib -DOBSOLETE_CRAM_ATTR=1  -Wall -W  -O2 -pipe -m64 -fPIC -MT 
allockey.lo -MD -MP -MF .deps/allockey.Tpo -c -o allockey.lo allockey.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -
I/usr/lib -I/usr/include -I/usr/local/include -I/usr/lib -
DOBSOLETE_CRAM_ATTR=1 -Wall -W  -O2 -pipe -m64 -fPIC -MT allockey.lo -MD -MP -
MF .deps/allockey.Tpo -c allockey.c  -fPIC -DPIC -o .libs/allockey.o
mv -f .deps/allockey.Tpo .deps/allockey.Plo
/bin/sh ../libtool  --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..  -
I../include -I../include -I/usr/lib -I/usr/include   -I/usr/local/include -
I/usr/lib -DOBSOLETE_CRAM_ATTR=1  -Wall -W  -O2 -pipe -m64 -fPIC -MT 
db_berkeley.lo -MD -MP -MF .deps/db_berkeley.Tpo -c -o db_berkeley.lo 
db_berkeley.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../include -
I/usr/lib -I/usr/include -I/usr/local/include -I/usr/lib -
DOBSOLETE_CRAM_ATTR=1 -Wall -W  -O2 -pipe -m64 -fPIC -MT db_berkeley.lo -MD -
MP -MF .deps/db_berkeley.Tpo -c db_berkeley.c  -fPIC -DPIC -o 
.libs/db_berkeley.o
mv -f .deps/db_berkeley.Tpo .deps/db_berkeley.Plo
make[2]: *** No rule to make target `-L/usr/include', needed by 
`libsasldb.la'.  Stop.
make[2]: Leaving directory `/home/dokli/cyrus-sasl-2.1.26/sasldb'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dokli/cyrus-sasl-2.1.26'
make: *** [all] Error 2

--------------------------------------
emm
 -I/usr/lib  and
`-L/usr/include'
does'nt look right to me
( as   sayeth the bishop to the lady of the night )

help would be appreciated

sincerely
LI
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to