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.
i suppose that the packages are installed properly i did not get any error in protocols the error i got in library i am attaching the compile.log files for both. Thank You
i suppose that the packages are installed properly i did not get any error in protocols
That is a dangerous assumption, especially when you have prove that one was installed in a different location then expected. Not getting an error doesn't mean it is installed in the correct location. You decide which X environment is being used, making a mistake or not setting the correct variables can cause this.
I asked about this in post #8, did you actually check all the packages? You're not to clear about that.
Quote:
i am attaching the compile.log files for both.
If I look at the lib_compile_log I see something strange: The compilation keeps going after an error is found, which should not happen, it should stop immediately (due to this command: bash -e
Another thing: How is it I still see this: checking for X11... configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) You said in post #15 that this was fixed.
Although by now I'm not sure if the proto_compile_log is still relevant, there are no obvious/relevant errors.
Another thing: How is it I still see this: checking for X11... configure: error: Package requirements (xproto >= 7.0.17 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) You said in post #15 that this was fixed.
i think this are the previously written as i didnot remove the log file.
Quote:
The compilation keeps going after an error is found, which should not happen, it should stop immediately (due to this command: bash -e
i did it i started again but still the problem reamins same.
one more thing after executing bash -e i think there should be a subshell but i don't find it here is the following correct
root [ / ]# bash -e
root [ / ]#
from what point should i start again so that all the errors are removed.
Thank You
i did it i started again but still the problem reamins same.
You redid all of chapter 24 up to the Xorg Libs?
Quote:
one more thing after executing bash -e i think there should be a subshell but i don't find it here is the following correct
root [ / ]# bash -e
root [ / ]#
This looks correct. Remember: The sub-shell is started in the current shell, you won't see much of a difference. You can look at SHLVL (echo $SHLVL, it should increase by one if you start a sub-shell and decrease again after you exit.
Quote:
from what point should i start again so that all the errors are removed.
Asked about this in post #18 (and #8):
- Did you check the installed packages?
How about the concern I mentioned in post #16:
- Did you remove the packages that are out of place (you know of at least one: xproto.pc in /usr/local/lib/pkgconfig/).
- Are more packages installed in /usr/local/ instead of /usr and did you remove those packages?
- Have you figured out why some packages have been installed in the wrong location?
And would you be so kind and answer _all_ the questions this time. You have a tendency to only answer part of my replies.
I see that files are found in /usr/local, which is incorrect. These files are part of the protocol headers and should reside in /usr.
You might have correctly re-installed the Xorg Protocol Headers at a later stage (although I haven't seen any evidence to support this), but the files associated with the protocol headers in /usr/local should be removed. At the bottom of the Xorg Protocol Headers chapter (Contents) the correct directories are mentioned. Cross-reverence these with those in /usr/local.
Did you remove the packages that are out of place (you know of at least one: xproto.pc in /usr/local/lib/pkgconfig/)
there were other packages installed on /usr/local/lib/pkgconfig/ i removed every packages
Quote:
Are more packages installed in /usr/local/ instead of /usr and did you remove those packages?
yes there were more packages installed and now i removed the packages from /usr/local/include/X11, /usr/local/include/GL. Should i delete other files and directories in /usr/local?
Quote:
Have you figured out why some packages have been installed in the wrong location?
I think while installing xorg protocol for the first time i did not set XORG_PREFIX variable which caused the problem.
Quote:
And would you be so kind and answer _all_ the questions this time. You have a tendency to only answer part of my replies
I apologize for this.
Quote:
the files associated with the protocol headers in /usr/local should be removed.
should i delete the entire files present in /usr/local or only deleting from /usr/local/include/GL and /usr/local/include/X11 is enough?
As mentioned earlier: Check the bottom of each chapter (the Contents part), it mentions what is installed and where. If you made a mistake with the XORG_CONF setting you might need to cross-reference.
Quote:
there were other packages installed on /usr/local/lib/pkgconfig/ i removed every packages
All of them? That might not have been too smart. /usr/local/lib/pkgconfig/ is a valid location and depending on what you have installed previously (not talking about X) you might have thrown away valid files and created a possible problem. But without knowing what is/isn't installed yet it is hard to point out anything specific.
Quote:
yes there were more packages installed and now i removed the packages from /usr/local/include/X11, /usr/local/include/GL. Should i delete other files and directories in /usr/local?
You should only remove those files and/or directories that are related to X. The 2 directories you mention should be removed (/usr/local/include/X11, /usr/local/include/GL).
Quote:
I think while installing xorg protocol for the first time i did not set XORG_PREFIX variable which caused the problem.
You might want to include XOR_PREFIX in your profile, that way it is set every time you log in. (add export XORG_PREFIX="<PREFIX>" and export XORG_CONFIG="--prefix=$XORG_PREFIX --sysconfdir=/etc --mandir=$XORG_PREFIX/share/man --localstatedir=/var" to root's .bashrc).
Quote:
should i delete the entire files present in /usr/local or only deleting from /usr/local/include/GL and /usr/local/include/X11 is enough?
You only remove that what is relevant, other packages are also installed there and those you need to keep. So you do not delete everything in /usr/local
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.