On 06/17/2013 12:05 PM, lux-integ wrote:
> 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
> 
> 
> 
> make ends like so
> ########################
> 
> 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
> ------------------------------------
> 
> I tried  the blfs recipe for  cyrus-sasl-2.1.26 on another   machine with 
> gcc-4.4.2, eglibc-2.11  and it works  so I have a hunch it is either a 
> glibc-2.17  or gcc-4.8 problem.  So does anyone know of patches for cyrus-
> sasl-2.1.26 for gcc-4.8 and or glibc-2.17
> 
> thanks in advance
> LI
> 

I've used Glibc (NOT Eglibc) 2.17 and GCC 4.8.1 when I tested the
instructions. It worked just fine. That's what you get when you don't
follow the instructions.

Post your config.log from cyrus-sasl-2.6.26/ directory and saslauthd
subdirectory.
-- 
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