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.
at the end of the page the book says remove --enable-gl if you have not installed Mesalib.when i see the list of dependencied in Mesalib, there's a package named libdrm.this is where it's become intresting.because libdrm has a dependency named "cairo".how's that possible?
it can't be right.i mean for installing cairo, first i should install Mesalib.but for installing Mesalib i should install libdr.and for installing libdrm i should cairo!!!
do we have a loop here???
As you might have noticed, there are more --enable-XYZ options mentioned in the Command Explanations then in the ./configure command. Some you might want to use. At this stage you need to omit the --enable-gl (mesalib isn't installed yet).
You might want to (re)install cairo at a later stage when mesalib is installed and include the --enable-gl option.
Another options you might want to include is the --enable-xcb (assuming libxcb-1.7 is installed).
it says i may compiled libxml2 without python support.so, how am i suppose to do that?
It should have been picked up when you installed libxml2.
I'm guessing you installed libxml2 before you installed python 2.7 and that's why it was not included. I do think it is OK to reinstall libxml2 at this point. I'm not 100% sure if other already installed packages need to be reinstalled. You might want to check. If the dependency is Optional it is up to you to decide if you need it or not.
BTW:i can import libxml2 in python programming interface
- Why did you re-install Python? You needed to re-install libxml2 (and possibly packages that depend on it) as mentioned in post #9.
- Which other packages are you talking about?
- which order did you re-install them?
now when i make the mesalib i just get an error without any explaination:
make: *** [default] Error 1
Only posting one error line doesn't tell us one bit (you should know that by now).
- Did you see anything in the output of the config step?
- What else was shown by the make step?
- Did you start fresh when installing Mesalib?
Again: Details please.
Why did you re-install Python? You needed to re-install libxml2 (and possibly packages that depend on it) as mentioned in post
the only package that depend on libxml is python2.7, which is optional.i re-installed python2.7 and after that i installed a module named pyXML(i thought it would be relevant) and then i installed libxml.
Only posting one error line doesn't tell us one bit
i know.but i don't know where to look up.config.status doesn't tell so much
What else was shown by the make step?
nothng.it's just a few make command make,make and make that i guess they went well