LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-24-2015, 03:13 PM   #1
guferr
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Rep: Reputation: Disabled
Missing .pc files in pkg-config


Hi everybody

I'm trying to compile the last version of Gimp (2.8.14), but i'm having some issues.

It doesn't recognize the installed libgegl-2.0 on the system, so i tried to compile gegl-2.0 from the source code, but it gives me other problems.

I noticed then that pkg-config is not finding many installed libraries, and when i tried searching for the .pc files on my system, i just found 5 of them, most are missing.

I already trying re-installing pkg-config, but it doesn't solve the problem.

So, any ideas of how can i rebuild them?
 
Old 02-24-2015, 04:06 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Gegl : $ sudo apt-get install libgegl-dev

Gimp : $ sudo apt-get install gimp
..... which will provide version 2.8.10 (Ubuntu 14.04).


A manual install of gegl :
If you did $ cd gegl*/ && ./configure
... the file gegl-0.2.pc is hidden in /usr/local/lib/pkgconfig/

The gimp 'configure' will look in the PKG_CONFIG_PATH for the file.
Solution : You can either copy the file to /usr/lib/pkgconfig/,
or do this : $ cd gimp-2.8.14/
$ export PKG_CONFIG_LIBDIR=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig/ && ./configure


-
 
Old 02-24-2015, 04:35 PM   #3
guferr
LQ Newbie
 
Registered: Feb 2015
Posts: 6

Original Poster
Rep: Reputation: Disabled
But i already did search for the .pc files in those folders, i searched for hidden files as well.

There are only 5 .pc files in the whole system, and there's no .pc file for libgegl, and there is no development package for libgegl, only debug symbols package
 
Old 02-24-2015, 07:04 PM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,518

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
? Which Ubuntu version are you using ? ?
a) $ uname -a
b) $ cat /etc/issue

The most package config files.pc are in :
/usr/lib/<arch>-linux-gnu/pkgconfig/,
.. like /usr/lib/<arch>-linux-gnu/pkgconfig/gegl-0.2.pc

? Did you install libgegl-dev : $ sudo apt-get install libgegl-dev
( If you have Ubuntu 12.04 : No libgegl-dev, version 0.2.0 ).


The file gegl-0.2.pc is a small text file, 309B.
You can use the attached copy :
$ sudo cp gegl-0.2.pc /usr/lib/pkgconfig/
-
Attached Files
File Type: txt gegl-0.2.pc.txt (309 Bytes, 45 views)
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Slackware 12.0/current - pkg-config files missing ArcLinux Slackware 5 08-22-2007 02:32 PM
pkg-config won't find .pc files achemdion Linux From Scratch 6 09-30-2006 08:32 AM
Error with xdm's configure script and missing pkg-config files julz_51 Linux - Software 0 02-22-2006 09:55 AM
Problem installing Bluefish. pkg-config missing Rodotheos Linux - Software 5 04-15-2005 04:54 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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