Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Linux From Scratch This Forum is for the discussion of LFS.
LFS is a project that provides you with the steps necessary to build your own custom Linux system.


  Search this Thread
Old 08-03-2005, 08:31 AM   #1
LQ Guru
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 10,636
Blog Entries: 4

Rep: Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933Reputation: 3933
Exclamation Muy importante: "Read the book first, Luke!"

Well, that was a very useful bit of reading. ...

LFS 6 is, in some important ways, very different from previous versions, and the online book just keeps on getting better. I just sat down and re-read the whole darned thing before doing the new kernel and found the experience to be extremely helpful.
Old 08-04-2005, 10:59 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
That's great news!
Old 08-15-2005, 06:24 PM   #3
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
Ok, I I type this, I'm d/l the LFS liveCD.......which of course has all the packages for v6.1, it's time to upgrade because I built LFS and BLFS v5.0 well over a year and a half ago and this has a damn good system, it only borked twice in that time(how many windows users can say that?)......I'm gonna use LFS 5.0 as my host.....and see if I can crash it.....LOL
Old 08-18-2005, 11:58 PM   #4
Registered: Apr 2005
Distribution: LFS 5.0 and 6.1
Posts: 705

Rep: Reputation: 30
here is an "update" for the sake of the LQ search engine..........

I have LFS 6.1 compiled and installed, and it boots up "fast"! -- the only problem was with Module-Init-Tools, apparently it looks for the zlib-dev package which of course LFS does not install........when I ran make the error was this......
root:/module-init-tools-3.1# make
source='lsmod.c' object='lsmod.o' libtool=no \
depfile='.deps/lsmod.Po' tmpdepfile='.deps/lsmod.TPo' \
depmode=gcc3 /bin/sh ./depcomp \
gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"module-init-tools\" -DVERSION=\"3.1\" -DCONFIG_USE_ZLIB=1  -I. -I.     -g -O2 -Wunused -Wall -c `test -f 'lsmod.c' || echo './'`lsmod.c
gcc  -g -O2 -Wunused -Wall   -o lsmod  lsmod.o -Wl,-Bstatic -lz -Wl,-Bdynamic
/usr/bin/ld: cannot find -lz
collect2: ld returned 1 exit status
make: *** [lsmod] Error 1
so I spent 3 hours or so googling and reading other forum threads trying to resolve the issue, I finally just re-ran the ./configure without the "--enable-zlib" option
./configure --prefix="" --enable-zlib

The meaning of the configure options:


    This allows the Module-Init-Tools package to handle compressed kernel modules.
and it installed just fine....... I did send a bug report to the LFS guys because I could not find an answer to the problem......oh well .......on to the BLFS book.........
Old 08-19-2005, 03:02 AM   #5
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

Rep: Reputation: 31
You should have a though since LFS does install zlib.

Do an ls -l /usr/lib/ and you should get something like
lrwxrwxrwx 1 root root 23 2005-05-20 23:18 /usr/lib/ -> ../../lib/
and you should have two* files in /lib
lrwxrwxrwx 1 root root 13 2005-05-20 23:18 /lib/ ->
-rwxr-xr-x 1 root root 79601 2005-05-20 23:16 /lib/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting "Short read in buffer_copy" error with "dpkg" stalefries Linux - Software 6 03-24-2010 03:19 PM
"Xlib: extension "XFree86-DRI" missing on display ":0.0"." zaps Linux - Games 9 05-14-2007 03:07 PM
I just bought a book called "Linux in a Nutshell" Mr. Hill Linux - Newbie 15 03-15-2005 12:26 PM
"DVD Profiler / Book Collector" equiv. for Linux? Yalla-One Linux - Software 2 03-10-2005 08:52 AM
book "suse linux 8.1 persona"l newlin Linux - Newbie 0 02-28-2003 03:22 PM > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 06:27 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration