Re: [lfs-support] Failure Building Cyrus and OpenLDAP
On 1/4/20 7:15 PM, Alan Feuerbacher wrote: On 1/4/2020 12:59 PM, Xi Ruoyao wrote: On 2020-01-04 10:56 -0700,Alan Feuerbacher wrote: I'm not sure if this should go to the lfs or blfs support list, since I'm still in the chroot environment at the end of the LFS book, but am installing several programs that are useful when I eventually get systemd running. I'm building some helpful BLFS programs using Beyond Linux® From Scratch (systemd Edition) - Version 2020-01-03 At this point I'm trying to build Cyrus SASL-2.1.27 and OpenLDAP-2.4.48. According to this hint: http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl This page was wrote 14 years ago! http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl?action=history I believe it's outdated and we should remove this URL from the book. (Well, back in 2006 I was using Windoge XP and didn't know Linux :) I agree! I removed that page. -- Bruce Though I don't use OpenLDAP, I think the correct method is to build and install Cyrus SASL w/o OpenLDAP, then build and install OpenLDAP, then rebuild Cyrus SASL. (Just like how we deals Freetype and Harfbuzz.) That's what I just did, and it seems to work fine. Alan -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Failure Building Cyrus and OpenLDAP
On 1/4/2020 12:59 PM, Xi Ruoyao wrote: On 2020-01-04 10:56 -0700,Alan Feuerbacher wrote: I'm not sure if this should go to the lfs or blfs support list, since I'm still in the chroot environment at the end of the LFS book, but am installing several programs that are useful when I eventually get systemd running. I'm building some helpful BLFS programs using Beyond Linux® From Scratch (systemd Edition) - Version 2020-01-03 At this point I'm trying to build Cyrus SASL-2.1.27 and OpenLDAP-2.4.48. According to this hint: http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl This page was wrote 14 years ago! http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl?action=history I believe it's outdated and we should remove this URL from the book. (Well, back in 2006 I was using Windoge XP and didn't know Linux :) I agree! Though I don't use OpenLDAP, I think the correct method is to build and install Cyrus SASL w/o OpenLDAP, then build and install OpenLDAP, then rebuild Cyrus SASL. (Just like how we deals Freetype and Harfbuzz.) That's what I just did, and it seems to work fine. Alan -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
Re: [lfs-support] Failure Building Cyrus and OpenLDAP
On 2020-01-04 10:56 -0700,Alan Feuerbacher wrote: > I'm not sure if this should go to the lfs or blfs support list, > since I'm still in the chroot environment at the end of the LFS > book, but am installing several programs that are useful when > I eventually get systemd running. > > > I'm building some helpful BLFS programs using Beyond > Linux® From Scratch (systemd Edition) - Version 2020-01-03 > > At this point I'm trying to build Cyrus SASL-2.1.27 and > OpenLDAP-2.4.48. According to this hint: > http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl This page was wrote 14 years ago! http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl?action=history I believe it's outdated and we should remove this URL from the book. (Well, back in 2006 I was using Windoge XP and didn't know Linux :) Though I don't use OpenLDAP, I think the correct method is to build and install Cyrus SASL w/o OpenLDAP, then build and install OpenLDAP, then rebuild Cyrus SASL. (Just like how we deals Freetype and Harfbuzz.) -- Xi Ruoyao School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style
[lfs-support] Failure Building Cyrus and OpenLDAP
I'm not sure if this should go to the lfs or blfs support list, since I'm still in the chroot environment at the end of the LFS book, but am installing several programs that are useful when I eventually get systemd running. I'm building some helpful BLFS programs using Beyond Linux® From Scratch (systemd Edition) - Version 2020-01-03 At this point I'm trying to build Cyrus SASL-2.1.27 and OpenLDAP-2.4.48. According to this hint: http://wiki.linuxfromscratch.org/blfs/wiki/cyrus-sasl You first build Cyrus, then OpenLDAP, then Cyrus again with some differences. The hint says to do this: # ./configure ... --with-ldap --enable-ldapdb Build just the plugins and their necessary dependencies: make -C include && make -C sasldb && make -C plugins # The last line fails with this message: # (lfs chroot) root:/sources/cyrus-sasl-2.1.27# make -C plugins make: Entering directory '/sources/cyrus-sasl-2.1.27/plugins' depbase=`echo sasldb.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../common -I../include -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -g -O2 -MT sasldb.lo -MD -MP -MF $depbase.Tpo -c -o sasldb.lo sasldb.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../common -I../include -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -g -O2 -MT sasldb.lo -MD -MP -MF .deps/sasldb.Tpo -c sasldb.c -fPIC -DPIC -o .libs/sasldb.o depbase=`echo sasldb_init.lo | sed 's|[^/]*$|.deps/&|;s|\.lo$||'`;\ /bin/sh ../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../common -I../include -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -g -O2 -MT sasldb_init.lo -MD -MP -MF $depbase.Tpo -c -o sasldb_init.lo sasldb_init.c &&\ mv -f $depbase.Tpo $depbase.Plo libtool: compile: gcc -DHAVE_CONFIG_H -I. -I.. -I../include -I../lib -I../sasldb -I../common -I../include -DOBSOLETE_CRAM_ATTR=1 -DOBSOLETE_DIGEST_ATTR=1 -Wall -W -g -O2 -MT sasldb_init.lo -MD -MP -MF .deps/sasldb_init.Tpo -c sasldb_init.c -fPIC -DPIC -o .libs/sasldb_init.o make: *** No rule to make target '../common/libplugin_common.la', needed by 'libsasldb.la'. Stop. make: Leaving directory '/sources/cyrus-sasl-2.1.27/plugins' # I don't know what to make of this failure. Alan -- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page Do not top post on this list. A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? http://en.wikipedia.org/wiki/Posting_style