On 2/25/19 8:02 PM, Bruce Dubbs via blfs-dev wrote:
On 2/25/19 7:51 PM, Douglas R. Reno via blfs-dev wrote:
Hi guys,
Building FreeType2 on my VMWare box and saw an extra command that I
didn't notice before:
"make install &&
cp builds/unix/freetype-config /usr/bin"
Is this actually required? Here's a snippet out of my script:
./configure --prefix=/usr --enable-freetype-config
--disable-static &&
make &&
echo "BLFS Start INSTALL" &&
$SUDO make DESTDIR=$DEST install &&
$SUDO install -v -m755 -d
$DEST/usr/share/doc/freetype-${VERSION} &&
$SUDO cp -v -R docs/* $DEST/usr/share/doc/freetype-${VERSION}
}
} 2>&1 | tee -a $LOG
Here's a grep in /usr/bin for freetype:
renodr [ /sources ]$ ls /usr/bin | grep freetype
freetype-config
Is this command actually required, or should we remove it?
I do not see where freetype-config is installed in my log.
We do not have a -v in the cp command so it wouldn't show up in the log.
I'd say that we need it.
I did notice that freetype-config.1 is installed into
/usr/share/doc/freetype-2.9.1. We should probably move that to
/usr/share/man/man1/.
renodr [ /sources ]$ cat /usr/src/logs/freetype-2.9.1.log | grep
freetype-config
./configure '--prefix=/usr' '--enable-freetype-config'
'--disable-static'
rm -f builds/unix/freetype-config builds/unix/freetype-config.tmp
/sources/freetype-2.9.1/freetype-2.9.1/builds/unix/freetype-config.in \
> builds/unix/freetype-config.tmp
chmod +x builds/unix/freetype-config.tmp
chmod go-w builds/unix/freetype-config.tmp
mv builds/unix/freetype-config.tmp builds/unix/freetype-config
/usr/bin/install -c -m 755 ./builds/unix/freetype-config \
/usr/bin/freetype-config
/usr/bin/install -c -m 644
/sources/freetype-2.9.1/freetype-2.9.1/docs/freetype-config.1 \
/usr/share/man/man1/freetype-config.1
'docs/freetype-config.1' ->
'/usr/share/doc/freetype-2.9.1/freetype-config.1'
I do agree on moving the man page, but can you check your script and
make sure that you have the --enable-freetype-config flag passed?
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page