LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 01-17-2011, 01:31 PM   #1
mcamp73
LQ Newbie
 
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4

Rep: Reputation: 0
Question 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.
 
Old 01-17-2011, 01:37 PM   #2
mcamp73
LQ Newbie
 
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4

Original Poster
Rep: Reputation: 0
Forgot to mention, my path is /usr/X11R7 and it is set up in bash profile as that as well
 
Old 01-18-2011, 11:24 PM   #3
corbis_demon
Member
 
Registered: Jun 2004
Distribution: CLFS
Posts: 523

Rep: Reputation: 38
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.
 
Old 01-19-2011, 03:30 PM   #4
mcamp73
LQ Newbie
 
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4

Original Poster
Rep: Reputation: 0
I did, I will try this later and report back if it worked, thanks for the tip.
 
Old 01-22-2011, 03:42 AM   #5
mcamp73
LQ Newbie
 
Registered: Jan 2011
Location: Burlington. VT USA
Distribution: Mint, LFS
Posts: 4

Original Poster
Rep: Reputation: 0
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.
 
  


Reply



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
Will compiling LFS on an 64 bit distro build an 64 bit LFS? Vampirite Linux From Scratch 4 08-31-2007 02:48 PM
A little disappointed, has anyone built the SVN version of LFS? z3r0.0v3rrid3 Linux From Scratch 5 06-29-2007 06:28 AM
BLFS-svn package dwnload zkillz Linux From Scratch 3 10-04-2006 10:49 AM
Beyond BLFS. Pure LFS? SparceMatrix Linux From Scratch 8 06-17-2003 10:38 AM
blfs and lfs? newpenguin Linux From Scratch 7 12-04-2002 07:58 PM

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

All times are GMT -5. The time now is 09:38 PM.

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