Fernando de Oliveira wrote:
Decided to write this for a pair of reasons.
I may be doing something wrong, because some observations are different
from the book, or it was forgotten when the book was changed.
I will not strip anything, for eventual necessity of debugging.
I'm systematically getting larger sizes with DESTDIR or similar than the
book.
Differences from the book are three:
1. tzdata2015g
2. linux-4.2.3
• gmp-6.0.0a
3. Modified gmp to new William Harrington's instructions.
Those do not seem to be significant.
I had some doubt, reading the doc pointed out by William, if it should
be host, not build that should be used in configure, but decided to
trust William's, much better and longer experience:
http://lists.linuxfromscratch.org/pipermail/blfs-support/2015-October/077151.html
[ `uname -m` = i686 ] && BUILD_CHOST=i686-unknown-linux-gnu ||
[ `uname -m` = x86_64 ] && BUILD_CHOST=x86_64-unknown-linux-gnu &&
echo && echo "BUILD_CHOST = $BUILD_CHOST" && echo &&
CONFIGURE="./configure \
--prefix=/usr \
--build=$BUILD_CHOST \
--enable-cxx \
--disable-static \
--docdir=/usr/share/doc/${PACKAGE}" &&
unset BUILD_CHOST &&
===================================================================
In the book: Installed Libraries: libgmp.{a,so} and libgmpxx.{a,so}
But we don't install the static libraries.
===================================================================
That's an artifact that I missed. It should be, of course, just
libgmp.so and libgmpxxso.
I don't know if I wrong or if that is intentional.
The observation can be extended to:
• mpfr-3.1.3
• mpc-1.0.3
I agree that I need to review these. Would you create a ticket please.
I am busy moving servers right now.
• gcc-5.2.0
build with tests reduced to little over 24 SBU, with -j4.
I did it at -j1 for timing:
[gcc-5.2.0]
Build time is: 127 minutes and 16 seconds
Build time in seconds is: 7636
Approximate SBU time is: 82.1
Disk usage before unpacking the package: 1572516 KB or 1535.660 MB
Disk usage before deleting the source and build dirs: 4803796 KB or
4691.207 MB
Required space to build the package: 3231280 KB or 3155.547 MB
Installed files disk usage: 518816 KB or 506.656 MB
• bzip2-1.0.6
I had removed static libs in LFS-7.7
• ncurses-6.0
I had removed static libs in LFS-7.7
But ncurses is installing libncurses++w.a, not mentioned in the book.
A funny thing is an error only occurring when doing
make DESTDIR=$DESTINODIR install:
{{{
Makefile:920: recipe for target
'DEST-ncurses-6.0/usr/lib/libncursesw.so.6.0' failed
DEST-ncurses-6.0/usr/lib/libncursesw.so.6.0] Error 1 (ignored)
--
Makefile:305: recipe for target
'DEST-ncurses-6.0/usr/lib/libpanelw.so.6.0' failed
DEST-ncurses-6.0/usr/lib/libpanelw.so.6.0] Error 1 (ignored)
--
Makefile:347: recipe for target
'DEST-ncurses-6.0/usr/lib/libmenuw.so.6.0' failed
DEST-ncurses-6.0/usr/lib/libmenuw.so.6.0] Error 1 (ignored)
--
Makefile:387: recipe for target
'DEST-ncurses-6.0/usr/lib/libformw.so.6.0' failed
DEST-ncurses-6.0/usr/lib/libformw.so.6.0] Error 1 (ignored)
}}}
I don't know why those are appearing. I get them also.
make DESTDIR=/tmp/ncurses install
...
Makefile:305: recipe for target '/tmp/ncurses/usr/lib/libpanelw.so.6.0'
failed
But I have:
$ ll /tmp/ncurses/usr/lib/libpanelw.so.6.0
-rwxrwxr-x 1 bdubbs bdubbs 15144 Oct 7 15:22
/tmp/ncurses/usr/lib/libpanelw.so.6.0
Looking at the Makefile, the problem is not obvious to me. In any case
the files appear to be installed correctly.
I am definitely faster and working longer.
That is good.
Hopefully, will be back editing next week.
I am looking forward to that.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page