The new LFS SVN, since the new build methoud was introduced, I was
able to build under 64-bit. After it was finished, I decided to add
some software to it, which went fine, until I got to openldap. It uses
a Perl library as part of its building process, but somehow the
libraries of that Perl seem not to compile with the -fPIC option and
that causes openldap to fail (it will exit, saying to recompile the
specific Perl library with -fPIC).
I was able to fix be replacing the configure command of SVN 20081219 with:
CFLAGS="-fPIC" sh Configure -des -Dprefix=/usr \
                  -Dvendorprefix=/usr           \
                  -Dman1dir=/usr/share/man/man1 \
                  -Dman3dir=/usr/share/man/man3 \
                  -Dpager="/usr/bin/less -isR"
and then following as normal seems to make openldap build against that library.
Ohh, and mysql has the same problem. In CBLFS (and maybe BLFS too) you
need to add -fPIC to the list of C_EXTRA_FLAGS, or a part of KDE4 will
fail.

Regards,

Rick Houkes
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to