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 03-08-2012, 03:25 PM   #1
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Pkg-config error


Hi
Building on BLFS svn

I'm having problems installing iw-3.3. Package.

I have installed libnl-3.2.3 as a dependecie.
I installed
Code:
./configure --prefix=/usr --sysconfdir=/etc
When I run make in iw-3.3 as root or user I get an error,

/bin/sh pkg-config command not found.
Makefile 64 cannot find development files for any supported version of libnl

echo $PKG_CONFIG_PATH =/usr/lib/pkgconfig

Any would be appreciated
 
Old 03-08-2012, 04:54 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Do you have pkg-config installed?
 
Old 03-09-2012, 05:59 AM   #3
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Pkg-config was installed with LFS. /usr/lib/pkgconfig Has got libnl.po in the dir
 
Old 03-09-2012, 08:02 AM   #4
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
What if you try to execute pkg-config, does it work or is it not found? Is it really libnl.po in /usr/lib/pkgconfig? It should have a .pc extension.
 
Old 03-09-2012, 11:38 AM   #5
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
Hi

Thks weibullguy It looks like pkgconfig is'nt installed as I thought ( i,m sure it was done in lfs (6.7) must of been removed)Anyway I can now proceed installing that and push on.
Yes it was libnl.pc in there I was doing it from memory at work.
I will mark as solved when IW-3.3 is installed
 
Old 03-09-2012, 12:05 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
There's no where in LFS that would have uninstalled pkg-config. More likely that something went wrong. Hopefully something as simple as you were tired and forgot to execute make install.
 
Old 03-09-2012, 12:23 PM   #7
spiky0011
Senior Member
 
Registered: Jan 2011
Location: PLANET-SPIKE
Distribution: /LFS/Debian
Posts: 2,511

Original Poster
Blog Entries: 1

Rep: Reputation: 412Reputation: 412Reputation: 412Reputation: 412Reputation: 412
No thats not quite it, they used to install pkgconfig in lfs 6.7, but now in lfs 7.0 it has been removed,
And is now done in blfs. I didn,t realise they had removed it now.
 
Old 03-09-2012, 01:42 PM   #8
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Oh, I misunderstood. I thought you meant you had used 6.7 to build LFS.
 
  


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
Error with libraries pkg-config lite123 Red Hat 9 01-27-2009 02:23 PM
Pkg-config error during install gentoonix Linux - Software 5 08-14-2007 11:34 PM
Error with xdm's configure script and missing pkg-config files julz_51 Linux - Software 0 02-22-2006 09:55 AM
pkg-config error hotstyle765 Linux - Software 6 01-31-2005 03:46 PM
pkg-config error. eye Linux - Software 2 08-29-2003 10:01 AM

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

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