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.
Notices
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Whoops, my bad I must have configured it in the wrong terminal.
regardless I started get again from scratch. I'm still getting one error
PHP Code:
SKIP: xgettext-glade-1 Skipping test: xgettext was built without Glade support SKIP: xgettext-glade-2 Skipping test: xgettext was built without Glade support SKIP: xgettext-glade-3 xgettext: Language "glade" is not supported. xgettext relies on expat. This version was built without expat. FAIL: xgettext-glade-4
I installed expat and I still run in to the same problems. I just did the default config for expat. Do I need to specify where the libraries are?
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-1
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-2
Skipping test: xgettext was built without Glade support
SKIP: xgettext-glade-3
xgettext: Language "glade" is not supported. xgettext relies on expat.
This version was built without expat.
FAIL: xgettext-glade-4
I installed expat and I still run in to the same problems. I just did the default config for expat.
Expat isn't build in LFS. It is part of BLFS, but you do not need it to build LFS. Why did you decide to build it and how did you build it?
I never encountered this error myself while building LFS 6.8 (yes, I do run the tests). Are you sure you didn't make any typo's/mistakes in any of the previous steps/chapters?
Although I'm not sure what else you added/changed: If the expat/glade test error is the only error you get I would continue.
BTW: If you need to add/change the options given in the book then something is wrong. Either the package you are currently building didn't go as planned or on of the previous packages didn't.
Adding/changing stuff might solve the problem at hand, but it might also get you into trouble later on during the build!
I realize this is an old thread, but I happened to stumble upon it while I was looking for a solution to the same issue. Here's a quick and dirty fix to get around this error.
On the LFS system you should have no directories inside of the main /mnt directory. Since the compiler is looking for the path /mnt/lfs for some reason, we can fake that path via a symlink.
Execute -
Code:
root /sources/gettext-0.19.4# ln -sv / /mnt/lfs
This will create the symlink /mnt/lfs, which will point to the LFS system's actual root directory, which is what it is really expecting to find. I just tried this on my system and gettext is now happily compiling.
While this issue was never solved, the thread is far too old to be relevant and not a lot of good information was captured. If you have a similar problem, start a new thread.
I realize this is an old thread, but I happened to stumble upon it while I was looking for a solution to the same issue. Here's a quick and dirty fix to get around this error.
On the LFS system you should have no directories inside of the main /mnt directory. Since the compiler is looking for the path /mnt/lfs for some reason, we can fake that path via a symlink.
Execute -
Code:
root /sources/gettext-0.19.4# ln -sv / /mnt/lfs
This will create the symlink /mnt/lfs, which will point to the LFS system's actual root directory, which is what it is really expecting to find. I just tried this on my system and gettext is now happily compiling.
I'm posting here only to say that this doesn't really fix the problem in case someone else comes along here and tries this. After obviously missing a step myself, I encountered a similar error and tried this fix - while I was able to successfully complete the LFS build, I had issues later on when attempting to compile some other applications which were dependent on gettext. I managed to resolve them by remaking gettext and reinstalling it, but since I am unsure if there are other any other subtle issues that might crop up, I went back to my backup and started again. So, if you come across this post - while this fix may get you through the LFS build, if you plan on doing further other issues will crop up, step back and try again.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.