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 |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
01-17-2011, 01:31 PM
|
#1
|
|
LQ Newbie
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4
Rep:
|
pure 32 bit LFS Version SVN-20110110 trouble installing libX11 in BLFS
Alright, this is just the current version of the book I am following. I have tried 6.7, clfs multilib, LFS 64 bit and many others. At first I thought it was the way I was building the base system so I rebuilt it following different versions hence all the tries. I have search google in vain to find the answer with no luck. I have tried passing X11_CLFAGS and X11_LIBS in vain. As far as I can tell my environmental variables are set up properly in ld.conf but every time I get this far it ends up the same. Here is the fail code:
checking for pthread_self in -lc... yes
checking for poll... yes
checking keysymdef.h... /usr/X11R7/include/X11/keysymdef.h
checking if XLOCALEDIR support should be enabled... yes
checking for BIGFONT... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking for nl_langinfo... yes
checking for X11... configure: error: Package requirements (xproto >= 7.0.13 xextproto xtrans xcb >= 1.1.92 kbproto inputproto) were not met:
No package 'xtrans' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables X11_CFLAGS
and X11_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Please help I am going nuts on this. Somewhat of a Linux newbe here but I am learning and this project is helping in that respect.
|
|
|
|
01-17-2011, 01:37 PM
|
#2
|
|
LQ Newbie
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4
Original Poster
Rep:
|
Forgot to mention, my path is /usr/X11R7 and it is set up in bash profile as that as well
|
|
|
|
01-18-2011, 11:24 PM
|
#3
|
|
Member
Registered: Jun 2004
Location: India
Distribution: Slack 13
Posts: 484
Rep:
|
I have had this issue and is solved by
Code:
export PKG_CONFIG_PATH=/usr/lib/pkgconfig
before compiling. The configure script expects to find the xtrans.pc file in your preferred PKG_CONFIG_PATH. (The above path, of course, maybe different in your case). Did you install the pkg-config program prior to this operation?
Last edited by corbis_demon; 01-18-2011 at 11:26 PM.
|
|
|
|
01-19-2011, 03:30 PM
|
#4
|
|
LQ Newbie
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4
Original Poster
Rep:
|
I did, I will try this later and report back if it worked, thanks for the tip.
|
|
|
|
01-22-2011, 03:42 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4
Original Poster
Rep:
|
It would seem that xtrans was being misplaced in /usr/X11R7/share/pkgconfig for some reason, moved it to X11R7/lib/pkgconfig and was able to configure finally.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 03:53 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|