LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
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 10-25-2003, 10:41 PM   #1
bkeating
Member
 
Registered: Mar 2002
Location: San Francisco, CA
Distribution: Open/FreeBSD, Gentoo, SuSE
Posts: 511

Rep: Reputation: 38
i hate pkg-config


I don't understand it and there isn't decent documentation for the new comers to the package.

im trying to compile a *very* simple program and it needs to find a file (which i have) but it's not in the 'pkg-config''s path...

Code:
bash-2.05b$ make
for dir in src; do cd $dir; make all; cd ..; done
make[1]: Entering directory `/home/bkeating/Downloads/idesk-0/src'
g++ -g -W  `pkg-config gdk-2.0 gdk-pixbuf-xlib-2.0 librsvg-2.0 --cflags` -c XDesktopContainer.cpp -o XDesktopContainer.o
Package gdk-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gdk-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gdk-2.0' found
In file included from XCaption.h:30,
                 from XIcon.h:31,
                 from XDesktopContainer.h:98,
                 from XDesktopContainer.cpp:25:
/usr/include/X11/Xft/Xft.h:35:31: freetype/freetype.h: No such file or directoryIn file included from XCaption.h:30,
                 from XIcon.h:31,
                 from XDesktopContainer.h:98,
                 from XDesktopContainer.cpp:25:
/usr/include/X11/Xft/Xft.h:52: syntax error before `;' token
/usr/include/X11/Xft/Xft.h:86: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:93: 'FT_UInt' is used as a type, but is not defined
   as a type.
/usr/include/X11/Xft/Xft.h:190: parse error before `*' token
/usr/include/X11/Xft/Xft.h:295: parse error before `*' token
/usr/include/X11/Xft/Xft.h:354: parse error before `*' token
/usr/include/X11/Xft/Xft.h:393: parse error before `*' token
/usr/include/X11/Xft/Xft.h:399: parse error before `*' token
/usr/include/X11/Xft/Xft.h:408: type specifier omitted for parameter `FT_UInt'
/usr/include/X11/Xft/Xft.h:408: parse error before `,' token
/usr/include/X11/Xft/Xft.h:418: parse error before `*' token
/usr/include/X11/Xft/Xft.h:461: parse error before `*' token
XDesktopContainer.cpp:30:45: gdk-pixbuf-xlib/gdk-pixbuf-xlib.h: No such file or
directory
make[1]: *** [XDesktopContainer.o] Error 1
make[1]: Leaving directory `/home/bkeating/Downloads/idesk-0/src'

WHERE do i set this variable (PKG_CONFIG_PATH)?


This is my same problem for trying to isntall the recent version of glib as well....
 
Old 10-26-2003, 12:52 AM   #2
namespace
LQ Newbie
 
Registered: Oct 2003
Location: China
Distribution: LFS
Posts: 21

Rep: Reputation: 15
you mostly missed gdk-2.0 package or you installed it at a non-standard place(need set PKG_CONFIG_PATH point to gdk-2.0.pc).The only thing I am puzzled that how can you pass the './configure' stage without it?

But from your post the most cause for your failure is you are missing the freetype or freetype2 package(if you installed from rpms, you need something like freetype-devel).

Last edited by namespace; 10-26-2003 at 12:56 AM.
 
  


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
pkg-config sinXposed Linux - Software 12 10-30-2008 06:48 AM
pkg-config brimble2010 SUSE / openSUSE 3 05-19-2008 09:01 AM
How do i use PKG-Config? A1Ph4 Linux - Software 1 08-08-2003 10:06 PM
pkg-config TraCe66 Linux - Newbie 1 07-01-2003 03:56 PM
pkg-config Keebler Linux - Software 2 04-30-2003 03:10 PM


All times are GMT -5. The time now is 05:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration