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.
No need to be so formal on LQ, druuna will do just fine
now i will continue blfs into X Window System Environment, i get another problem in this chapter Introduction to Xorg-7.6. in this script:
bash -e #exit on all errors
what is <proto>?
The above code is an example/explanation. This way of installing the Xorg related packages is used several times in the rest of chapter 23. The exact code to be used can be found in the users notes sections that are present (this, for example, is the user notes page for the Xorg Protocol Headers).
what software that i need to install first?
All the dependencies that are required are mentioned on the pages dealing with the packages that need to be installed.
All of chapter 23 needs to be done in the order shown and if a dependency is required, it will be mentioned. For example, before you install xcb-proto-1.6, python must be installed and optional you may install libxml2-2.7.7.
Do make sure you understand and correctly set up the Setting up the Xorg Build Environment mentioned in Introduction to Xorg-7.6. The only advise I can give you on that is: Use the standard /usr prefix and do check all the user notes pages, they contain important information and instructions.
I just recently install LFS, then I confused how to start blfs. how to insert package etc
LFS consisted almost completely of building source pacakges, so the process should be familiar to you by now. Did you just copy and paste everything without even bothering to think about what each command does?
You can create these directories just about anywhere you want. I always create it in /sources, which keeps everything together but that's my way of doing things. Most people want to keep the root directory (/) as clean as possible, but it is a good a place as any other when it comes down to it.
If you did not set the XORG_CONFIG variable, things are not build/installed correctly. I'm guessing that this is the reason for the error.
another question druuna, in this script chapter Introduction to Xorg-7.6
sed 's@/usr/X11R6@<PREFIX>@g' -i /etc/man_db.conf
did i need to edit this also into
sed 's@/usr/X11R6@/usr@g' -i /etc/man_db.conf
This section is there in case you used something different then /usr (as mentioned by me and the book). If you did do this step, you need to restore the original content. Check these 4 entries in /etc/man_db.conf: