LinuxQuestions.org
Review your favorite Linux distribution.
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 03-26-2007, 06:36 PM   #1
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Rep: Reputation: Disabled
Pkg-config problem at Xorg7.1 libs


Hi!
I'm fairly new to Linux, and just trying to compile my first LFS system.
So far everything went without a single problem.
Most of the time I just followed the book(s, LFS works fine, now working on BLFS 'instructions'), except I use BSD style bootscripts I wrote myself (with help from online resources, reading SystemV script which were provided by (B)LFS), and I use the PackageUser based package management as described in http://www.linuxfromscratch.org/hint...nd_pkg_man.txt .

Everything just worked the first time, guess I was lucky (and very careful all the time ;P )

Now I'm stuck on the very first configure in Xorg libs, namely libAppleWM-1.0.0.

Examing the logs i created via 2>&1 | tee -a ../mylog.log
I found that the check for APPLEWM failed (I installed Proto Headers).
Code:
checking for APPLEWM... configure: error: Package requirements (x11, xext xextproto to applewmproto) were not met:

No package 'x11' found
No package 'xext' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you installed software in a non-standard prefix.
Now I found out that PKG_CONFIG_PATH is not set by issuing 'set' on the prompt. So I did 'export PKG_CONFIG_PATH=/usr/lib/pkgconfig'. There I found applewmproto.pc, xextproto.pc, but not x11 or xext.

Does anyone have any idea why those are missing? Or what I can do to get them, or some other workaround.

Thanks in advance, and sorry for all misspells etc
 
Old 03-26-2007, 07:30 PM   #2
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
Can't get no sleep
After googling some more I found that my mistake just might be the order in which I tried to do configure/make.
I found that

Code:
Xorg 7 ¶
Libraries ¶

    * Automated Build Script

      bash -e
      for package in $(cat ../lib.wget)
      do
        packagedir=$(echo $package | sed 's/.tar.bz2//')
        tar -xf $package
        cd $packagedir
        ./configure $XORG_CONFIG
        make
        make install
        ldconfig
        cd ..
        rm -rf $packagedir
        rm -f $package
      done 2>&1 | tee -a ../xorg-compile.log

libAppleWM and libWindowsWM are dependent on applewmproto and windowswmproto, respectively. Also, the other library packages are dependent on one another and have to be installed in a certain order.
on LFS user wiki, and well, this Automated Build Script doesn't work all to well, the note below got me to read the dependency note on the same wiki. I'll try and configure/make in the order suggested there ( http://wiki.linuxfromscratch.org/blf.../Xorg7DepsLibs ) and report if it works.
Sorry for the redundant post, good night folks
 
Old 03-27-2007, 11:44 AM   #3
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
Problem solved. Sorry again :S
 
Old 12-22-2010, 11:19 AM   #4
DougCM
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Rep: Reputation: 5
Quote:
Originally Posted by c31c View Post
Problem solved. Sorry again :S
How exactly did you solve it?

because Im having the same problem

Last edited by DougCM; 12-22-2010 at 11:34 AM.
 
Old 12-23-2010, 11:30 AM   #5
c31c
Member
 
Registered: Mar 2004
Location: Planet Earth
Distribution: Arch Linux
Posts: 106

Original Poster
Rep: Reputation: Disabled
wow.
That was more than 3 years ago, and I am sorry to say that I don't even remember what I did back then.

I think I solved this problem by compiling first those library which did not have any dependencies, and then moving on to more demanding ones.
So try to start with xtrans and alike, and then move up to the bigger libraries.

Good luck, cheers
 
Old 12-25-2010, 09:58 AM   #6
DougCM
LQ Newbie
 
Registered: Dec 2010
Posts: 10

Rep: Reputation: 5
Quote:
Originally Posted by c31c View Post
wow.
That was more than 3 years ago, and I am sorry to say that I don't even remember what I did back then.

I think I solved this problem by compiling first those library which did not have any dependencies, and then moving on to more demanding ones.
So try to start with xtrans and alike, and then move up to the bigger libraries.

Good luck, cheers
Yes, that's it.
 
  


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
PKG config problem ? fatum Linux - Software 2 10-03-2004 06:52 PM
pkg config problem fatum Linux - General 0 10-01-2004 02:22 PM
pkg-config problem pasalacqua128 Linux - Software 1 06-02-2004 07:31 AM
pkg-config problem melinda_sayang Slackware 2 02-28-2004 08:56 AM
pkg-config problem sandy Linux - Newbie 8 03-07-2003 01:39 PM

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

All times are GMT -5. The time now is 04:50 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