LinuxQuestions.org
Visit Jeremy's Blog.
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 12-13-2013, 04:46 PM   #1
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Lightbulb [LFS SVN only] systemd-udev-208 and kmod-15 build issue


For those of you attempting to build LFS's SVN edition there is an important notice you need to know about.

As the current book reads the udev-208 extracted systemd-208 will not build the udev components due to a problem with kmod-15's build instructions saying "/usr/bin/ld can not find -lkmod".

A key configure trigger was accidentally left out of the kmod-15 section and this highlighted fix should help build udev-208 properly:

Code:
./configure --prefix=/usr       \
            --bindir=/bin       \
            --libdir=/lib       \
            --sysconfdir=/etc   \
            --disable-manpages  \
            --with-xz           \
            --with-zlib
 
Old 12-14-2013, 05:10 AM   #2
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
There's a discussion about this on the lfs-dev mailing list: Create symbol link for kmod and Procps-ng without version.

The chosen future solution (still work in progress) seems to be symbolic links. This doesn't target kmod alone, other sections might also be influenced (read Bruce Dubbs' reply about it).
 
Old 12-14-2013, 06:17 PM   #3
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,554

Original Poster
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
Interesting, but honestly, creating a mountain of symlinks isn't going to help with how files are looked up with /usr/bin/ld if ld isn't properly configured to start with. I've already had to apply a hardlink patch to lynx2.8.8dev.16 for openssl-1.0.1e to properly build against the openssl headers, and I'd hate to see what else will require hardlinking paths to libs and headers in source files to allow proper compiling.

Things like this shouldn't have been put into the SVN honestly. They should have been put into a separate testing book.

Not only this but the 7.4 LFS book, still doesn't properly link to the 7.4 BLFS book either.
 
  


Reply


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
lfs 7.4 systemd udev-extras ibmercurial Linux From Scratch 1 12-13-2013 02:26 PM
[SOLVED] BLFS: Udev Extras (from systemd) error erkant Linux From Scratch 2 12-06-2012 12:47 PM
LXer: Softpedia Linux Weekly, Issue 208 LXer Syndicated Linux News 0 07-15-2012 12:10 PM
[SOLVED] LFS Version SVN-20120623 gcc build 2 esornep Linux From Scratch 17 07-05-2012 08:34 AM

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

All times are GMT -5. The time now is 02:13 PM.

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