LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux From Scratch (https://www.linuxquestions.org/questions/linux-from-scratch-13/)
-   -   [LFS SVN only] systemd-udev-208 and kmod-15 build issue (https://www.linuxquestions.org/questions/linux-from-scratch-13/%5Blfs-svn-only%5D-systemd-udev-208-and-kmod-15-build-issue-4175487882/)

ReaperX7 12-13-2013 04:46 PM

[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


druuna 12-14-2013 05:10 AM

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).

ReaperX7 12-14-2013 06:17 PM

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.


All times are GMT -5. The time now is 09:12 AM.