Linux From ScratchThis 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.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
- Which BLFS version are you trying?
- Which parts of chapter 23 (assuming BLFS 6.3) did you build already?
- Any Problems when building them?
- The following I don't understand:
Every time I compile it (both version 6.x.x and 7.x.x), I get...
The book, again assuming BLFS 6.3, talks about mesa 6.5.2. Don't deviate from that version.
The error shown complains about libX11, which is part of the Xorg Libraries build. Which XORG_PREFIX do you use and do you need to link them? This part:
Configuration of Xorg Libraries
If you've chosen to install Xorg into /usr, then no further configuration is necessary and you can skip the rest of this section. If you've opted for an alternate prefix, you should create two symlinks to satisfy the expected environment of several packages. Execute the following commands as the root user:
Distribution: Linux Mint 9 x64, Linux From Scratch
Sorry, I'm using LFS 6.6 and BLFS 6.3. I tried to compile Mesa with the version specified, but it gave me an error. I tried the latest version of the 6.xx, and then switched to the latest 7.xx tarball. Neither one worked.
Also, I'm at the second-to-last stage of the section about X, I just need to compile X Server and I'm ready to go on to get a Window Manager.
I edited my compile options slightly, since using "linux-dri-x86" didn't work . I used these configurations (and the 64-bit options too):
make linux-x86 OPT_FLAGS="-O2 -fno-strict-aliasing" \
It got farther than before, but failed when compiling the DRX/DRI? driver. Are the drivers necessary? I plan on using the nVidia binary...
I don't understand why you are trying to install Mesa at this late point....
When you installed the Xorg Applications part (5 steps earlier then the Server part), Mesa needed to be installed and the Mesa chapter even mentions not removing the source tree so the Xorg-Server-1.2.0 server part can be build later on.
Did you check and re-check the Xorg Libraries part (as I mentioned in post #2)? The error shown seems to point to a (incompatible) libX11 problem. This could be caused by either the Xorg library or the mesa part.
Am I right in assuming that you are trying to build a 64 bit X? The book is not based on that, just 32 bit. Try building it the way the book suggests first and see if that works. Don't change the option/versions in the book unless the book mentions it (or if you really know what you are doing).
Another thing: Did you check the Mesa user notes link? Is all that correctly installed?
This you might already know, but just in case: Do remove the source tree when rebuilding a chapter, not starting with a fresh tree might get you into trouble.
Distribution: Linux Mint 9 x64, Linux From Scratch
Thanks for the replies. I thought I was compiling a 32-bit system, until I saw the gcc compiler flags include linux-unknown-x86_64 or something similar. Everything works almost perfectly now, Mesa installed (I just changed the X11 install path from /usr/X11 to /usr and reinstalled X completely, since I automated it completely) and everything seems to work. I guess it was because I was ambitious to install the NVIDIA drivers right after I finished the LFS book, which created some problematic symlinks...
I compiled BLFS from SVN, and it had the correct installation parameters for Mesa, which worked for me perfectly (I was bad and deviated from the package versions a LOT). I am using that now and everything is going buttery-smooth.
The last problem to iron out is that darn NVIDIA driver... When I load X, it is red. Everything is tinted red. I compiled Blender 2.49 (a 3D modelling program) from source and whenever I rotate the default cube around, it flashed red, green, and blue the whole time. I would guess it is a badly configured Xorg config file...
I doubt it, but has anybody seen a similar problem?
I ran the --sanity check on the NVIDIA driver .run package, and it failed at almost every file. I will try deleting the ones that include NVIDIA stuff, maybe that will help...
I don't have any experience with Nvidia, but have struggled with ATI.....
The way I work is as follows: I first set up X using a working driver (the vesa driver), this to make sure my X setup/config is correct. Once that works (and I have a Xorg.conf I can fall back to) I start installing the ATI stuff.