LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch
User Name
Password
Linux From Scratch This 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


Reply
  Search this Thread
Old 04-30-2012, 06:48 AM   #16
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405

Hi,
Quote:
Originally Posted by ankit0301 View Post
i found out the error there was another xproto.pc file residing in /usr/local/lib/pkgconfig
My first concern would be: What else is out of place? Are all/most packages done during Xorg Protocol Headers in their proper locations?

Quote:
but now another new error occurs which is as follows

../../../include/X11/Xlibint.h:905:12: error: old-style parameter declarations in prototyped function definition
../../../include/X11/Xlibint.h:907:1: error: parameter name omitted
imCallbk.c:753:1: error: expected '{' at end of input
imCallbk.c:753:1: warning: control reaches end of non-void function [-Wreturn-type]
make[3]: *** [imCallbk.lo] Error 1
make[3]: Leaving directory `/sources/lib/libX11-1.4.4/modules/im/ximcp'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/sources/lib/libX11-1.4.4/modules/im'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/sources/lib/libX11-1.4.4/modules'
make: *** [all-recursive] Error 1
There's not enough info to work with.

BTW: Can you post what I asked for in my previous post.
 
Old 04-30-2012, 07:43 AM   #17
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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
Attached Files
File Type: pdf proto_compile_log.pdf (236.6 KB, 16 views)
File Type: pdf lib_compile_log.pdf (175.9 KB, 13 views)
 
Old 04-30-2012, 08:41 AM   #18
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
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.
 
Old 04-30-2012, 10:48 AM   #19
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
the x environment variable are set as follows

root [ / ]# echo $XORG_PREFIX
/usr
root [ / ]# echo $XORG_CONFIG
--prefix=/usr --sysconfdir=/etc --mandir=/usr/share/man --localstatedir=/var
root [ / ]#


Quote:
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
What do i do now?
 
Old 04-30-2012, 11:02 AM   #20
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
What do i do now?
The advise given in post #12 might be a good idea.
 
Old 04-30-2012, 11:23 AM   #21
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
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
 
Old 05-01-2012, 01:29 AM   #22
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
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.
As mentioned in post #12: All of chapter 24.

Hope this helps.
 
Old 05-01-2012, 03:01 AM   #23
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
i did upto Xorg lib but the error comes the same as i send the log file. I even did the chapter 24 2 to 3 times but still no progress
 
Old 05-01-2012, 03:18 AM   #24
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,

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.

Hope this helps.
 
Old 05-01-2012, 05:01 AM   #25
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi again,

I'm pretty sure you made a mistake when you installed Xorg Protocol Headers. If I look at the following (from your original post):
Quote:
checking keysym definitions... /usr/local/include/X11/keysymdef.h /usr/local/include/X11/XF86keysym.h /usr/local/include/X11/Sunkeysym.h /usr/local/include/X11/DECkeysym.h /usr/local/include/X11/HPkeysym.h
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.

Hope this helps.
 
Old 05-01-2012, 03:26 PM   #26
ankit0301
Member
 
Registered: Apr 2012
Posts: 34

Original Poster
Rep: Reputation: Disabled
Quote:
Did you check the installed packages?
how do i check the installed packages?

Quote:
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?
 
Old 05-02-2012, 01:36 AM   #27
druuna
LQ Veteran
 
Registered: Sep 2003
Posts: 10,532
Blog Entries: 7

Rep: Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405Reputation: 2405
Hi,
Quote:
Originally Posted by ankit0301 View Post
how do i check the installed packages?
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

Hope this helps.
 
  


Reply

Tags
blfs, debian, libx11, xproto


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
install libX11 error! (xproto) totallybored Linux - Software 7 12-10-2019 06:02 PM
Autofs-5.0.5 from BLFS Error BrandonJ Linux From Scratch 7 06-08-2011 01:22 PM
[SOLVED] pure 32 bit LFS Version SVN-20110110 trouble installing libX11 in BLFS mcamp73 Linux From Scratch 4 01-22-2011 04:42 AM
error: *** libX11 not found. when installing GTK+-2.18.7 Prisp Linux - Newbie 4 02-23-2010 09:39 AM
BLFS Libxml2-2.6.20 compile error hbinded Linux From Scratch 1 05-31-2006 11:13 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux From Scratch

All times are GMT -5. The time now is 11:50 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration