原文地址:http://permalink.gmane.org/gmane.linux.lfs.beyond.support/43608
LFS 6.5, 6.7, 6.8 and SVN-20111210.
Building pcre-8.30 was a little difficult.
First attempt, grep stopped working, with message:
"grep: error while loading shared libraries: libpcre.so.0: cannot open shared object file: No such file
or directory".
Boot failed, to my scare...
I had to make the symlink:
"ln -v -sf libpcre.so.1.0.0 /lib/libpcre.so.0"
in order to boot and have a working grep back.
Build still failed:
<<
ln -s pcre_assign_jit_stack.3 /usr/share/man/man3/pcre16_assign_jit_stack.3
ln: failed to create symbolic link "/usr/share/man/man3/pcre16_assign_jit_stack.3": Arquivo existe
make[3]: ** [install-data-hook] Erro 1
make[3]: Saindo do diretório `/media/dados/home/fernando/tmp/paco-build-2012.02.11/pcre-8.30'
make[2]: ** [install-data-am] Erro 2
>>
Build succeeded when the symlink was made after the removal of previous build, and, before starting build,
I removed previous entries for man:
<<
mkdir -vp /home/fernando/usr-share-man-man3-pcre16 &&
mv -v /usr/share/man/man3/pcre16* /home/fernando/usr-share-man-man3-pcre16
>>
I believe these issues are due to the use of paco. I have:
INSTALLCOMMAND="ln -v -sf libpcre.so.1.0.0 /lib/libpcre.so.0 &&
make install" &&
./configure \
--prefix=/usr \
--disable-static \
--libdir=/lib \
--docdir=/usr/share/doc/pcre-8.30 \
--enable-utf8 \
--enable-unicode-properties \
--enable-pcregrep-libz \
--enable-pcregrep-libbz2 \
--enable-jit &&
time make -j4 &&
if [ $PIPESTATUS = 0 ]; then
paco -r --batch pcre-8.21 || continue &&
paco -U pcre-8.21 || continue &&
paco -lp pcre-8.30 "$INSTALLCOMMAND" &&
echo "`date` pcre-8.30 $SOURCEDIR/pcre-8.30.tar.bz2" >> \
/usr/src/packages.log &&
ldconfig
fi &&
[]s,
Fernando