LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2008, 05:02 PM   #1
me_and_linux
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Rep: Reputation: 0
Some <.pc> files are missing...how to rebuild them?


Can someone help me with this...I've downloaded video driver but I can't compile it since <configure> script is using pkg-config to determinate libraries and headers.


Code:
dakt:/home/darijo/downloads/src/xf86-video-intel-2.4.2# ./configure
.
.
.
.
checking for XORG... configure: error: Package requirements (xorg-server xproto fontsproto  xineramaproto randrproto renderproto xextproto x11 xextproto) were not met:

No package 'xproto' found
No package 'fontsproto' found
No package 'xineramaproto' found
No package 'randrproto' found
No package 'renderproto' found
No package 'xextproto' found
No package 'x11' found
No package 'xextproto' 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 XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
Here is the list of <.pc> files in /usr/lib/pkgconfig

Code:
dakt:/home/darijo/downloads/src/xf86-video-intel-2.4.2# ls /usr/lib/pkgconfig/
autoopts.pc        gnome-doc-utils.pc      shared-mime-info.pc
deskbar-applet.pc  gnome-mime-data-2.0.pc  xbitmaps.pc
fontutil.pc        gnome-screensaver.pc    xml2po.pc
gdict-1.0.pc       gnome-system-tools.pc   xorg-server.pc
All requested packages exists, but there are no <.pc> files to let pkg-config know that.
So how to create these files, without reinstalling these huge packages?
 
Old 10-04-2008, 05:17 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
Did you install all the missing packages from source? If so, where did you install them? The default is the /usr/local hierarchy, so if you didn't specify some other prefix look there for the metadata files.

If you installed them from your distro's package repository, you'll need to install the development package for each one. The development package will be named the same with either -dev or -devel appended. Of course, you could install the Intel driver using your package manager too.

The way to create the files is to reinstall the packages from source (assuming this is what you did in the first place). The biggest package that you're missing is libX11. The protocol headers are pretty small. On my Athlon 5600+ it takes about 165 seconds to build and install libX11, the protocol headers take about 5 seconds each.
 
Old 10-04-2008, 05:41 PM   #3
me_and_linux
LQ Newbie
 
Registered: Oct 2008
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by weibullguy View Post
Did you install all the missing packages from source? If so, where did you install them? The default is the /usr/local hierarchy, so if you didn't specify some other prefix look there for the metadata files.

If you installed them from your distro's package repository, you'll need to install the development package for each one. The development package will be named the same with either -dev or -devel appended. Of course, you could install the Intel driver using your package manager too.

The way to create the files is to reinstall the packages from source (assuming this is what you did in the first place). The biggest package that you're missing is libX11. The protocol headers are pretty small. On my Athlon 5600+ it takes about 165 seconds to build and install libX11, the protocol headers take about 5 seconds each.
Thanks, that solved my problem (installing xorg-dev package)!
Now it requests OpenGL headers...so I guess I should visit 3dmesa.org?
 
Old 10-05-2008, 10:01 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
Quote:
Originally Posted by me_and_linux View Post
Now it requests OpenGL headers...so I guess I should visit 3dmesa.org?
Or install the development package from your distro's repository.
 
  


Reply


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Files Missing maxy7710 Linux - Newbie 1 08-25-2008 06:46 PM
missing files waqer Mandriva 5 12-25-2004 04:33 AM
is reiserfsck --rebuild-tree safe for the HDD files? Necronomicom Slackware 1 06-21-2004 12:17 AM
Missing rc.0, rc.1, rc.2, and rc.3 files kdepa Slackware 10 04-07-2004 09:27 AM
Missing files Thinkgeekness Linux - General 3 01-09-2003 07:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

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