LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
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.

Notices


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

Rep: Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947Reputation: 3947
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
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

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

Rep: Reputation: 30
Ok, I will.........as 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
freakyg
Member
 
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......
Code:
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
root:/module-init-tools-3.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
Code:
./configure --prefix="" --enable-zlib

The meaning of the configure options:

--enable-zlib

    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
kjordan
Member
 
Registered: Jul 2004
Distribution: LFS, I felt the itch and scratched it
Posts: 227

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

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


Reply



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 04:58 AM.

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