FedoraForum.org - Fedora Support Forums and Community
Results 1 to 2 of 2
  1. #1
    yinglcs Guest

    Where is the PKG-config files for gtk on Red Hat 4?

    Hi, I have set my PKG_CONFIG_PATH as follow:

    # echo $PKG_CONFIG_PATH
    /usr/local/lib/pkgconfig:/usr/local/share/pkgconfig/:/usr/share/pkgconfig

    But when I try to run 'configure' for a program, it can't find gtk+-2.0.pc.
    Can you please tell me what should I set the PKG_CONFIG_PATH to be for this to compile?

    checking for pkg-config... /usr/bin/pkg-config
    checking for gtk+-2.0 >= 1.3.7... Package gtk+-2.0 was not found in
    the pkg-config search path.
    Perhaps you should add the directory containing `gtk+-2.0.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'gtk+-2.0' found

    configure: error: Library requirements (gtk+-2.0 >= 1.3.7) not met;
    consider adjusting the PKG_CONFIG_PATH environment variable if your
    libraries are in a nonstandard prefix so pkg-config can find them.

  2. #2
    Join Date
    May 2004
    Location
    Mexico City, Mexico
    Age
    49
    Posts
    4,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Code:
    rpm -ql gtk2-devel | grep ".pc"
    ?
    If ain't broken, don't fix it! :eek:
    If can be improved, go for it! :cool:

    FedoraForum Community forums lurker.
    Fedora user since RHL 5.2 :cool:

Similar Threads

  1. Replies: 3
    Last Post: 23rd August 2008, 06:06 AM
  2. YUM config files
    By gkuhlen in forum Using Fedora
    Replies: 4
    Last Post: 19th April 2005, 07:35 PM
  3. Yum Config Files
    By carlc in forum Installation, Upgrades and Live Media
    Replies: 2
    Last Post: 11th January 2005, 04:46 AM
  4. Need some config files (/etc/pam.d/)
    By Linz in forum Fedora Core 3 Test Releases
    Replies: 2
    Last Post: 27th September 2004, 07:53 AM
  5. config rc files
    By Bob K in forum Using Fedora
    Replies: 3
    Last Post: 1st September 2004, 05:22 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •