Some comments while creating the LFS 7.5 system on an openSuse v13.1 platform, I hope
they might be usable to others.

1 In the section Host System Requirements -

  The openSuse v13.1 zypper command enables program versions to be found:

  Example:

  %zypper info bash | grep Version
  Version: 4.2-68.1.5

  but the version-check.sh script in LFS 7.5 book is already available.

2. However the version-check.sh script had to be changed slightly to
   find the libgmp, libmpfr and libmpc libraries, as they
   were under /usr/local/lib* not /usr/lib in openSuse v13.1.

-------------- CHANGED TO ----------------
for lib in lib{gmp,mpfr,mpc}.la; do
  echo $lib: $(if find /usr/local/lib* -name $lib|
               grep -q $lib;then :;else echo not;fi) found
done
unset lib
-------------------

3. gmp-6.0.0.tra.lz had to have the lzip package installed on openSuse v13.1
   in order to unzip this type of archive. (to me a recent change)

I choose to try to install gmp-6.0.0 since I use this library very much and it installed successfully.

4. SPECIAL NOTE: gcc-4.9.0 will NOT install, evidently enough changes have occurred between it and gcc-4.8.2 to prevent
   LFS v7.5 from being able to compile this newer package.

5. Gawk "make check" failed unexpectedly (to me) with a message seemingly indicating that mpfr was not supported by the system, which is not true, since it was previously just built.

make[2]: Leaving directory `/lfs/gawk-4.1.0/test'
======== Done with shared library tests ========
======== Starting MPFR tests ========
MPFR tests not supported on this system
======== Done with MPFR tests ========
make[2]: Entering directory `/lfs/gawk-4.1.0/test'
2 TESTS FAILED
make[2]: Leaving directory `/lfs/gawk-4.1.0/test'
make[1]: Leaving directory `/lfs/gawk-4.1.0/test'

6. Texinfo ./configure --prefix=/tools came up with a warning (unexpected to me, since ncurses was built)

configure: WARNING: Could not find a terminal library among tinfo ncurses curses termlib termcap terminfo
configure: WARNING: The programs from `info' directory will not be built.

-- End of comments to the LFS v7.5 install.

As to some other comments made upon my previous postings:

I appreciate the comments by both Bruce Dubbs and Christ Staub. Thanks for being pointed back to checking the Host System Requirements, which I did skip by glancing over the pages, instead of carefully reading them (which I did today)

Someone laughed about the mail disclaimer, that actually was from my Windows XP laptop which I was using as as Q&D mailout.

One final question now that I have completed Chapter 5, except for stripping off the debug symbols and making the ownership change to root:

Can I use the gcc compiler in the /lfs partition as is? do I simply make a user/group change to the folders and construct alias
  to the /tools/bin files?

My original goal was to have a native C and C++ compiler for the corei7 hardware.

--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to