LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-29-2003, 09:45 AM   #1
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Rep: Reputation: 15
gtk+-2.0 was not found(redhatlinux 9.0)


redhatlinux9.0 used......
nabi(Input Method System) will install..
why this error message "Package gtk+-2.0 was not found " appear ??
[root@localhost nabi-0.4]# ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/local/bin/pkg-config
checking for gtk+-2.0 >= 2.2.0... 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: nabi needs GTK+ 2.2.0 or higher

Last edited by eye; 08-29-2003 at 10:08 AM.
 
Old 08-29-2003, 09:56 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
There are 2 locations for pkg-config files
/usr/lib/pkgconfig/
and
/usr/local/lib/pkgconfig/

Quick fix.. copy the files in /usr/local/lib/pkgconfig/ to /usr/lib/pkconfig/
That's in case you actually have gtk with that version or above installed.

Run:
pkg-config --list-all
GTK should show up now.
 
Old 08-29-2003, 10:01 AM   #3
eye
Member
 
Registered: May 2003
Distribution: fedora 1
Posts: 137

Original Poster
Rep: Reputation: 15
[root@localhost root]# gcc -Wall -g pixmap1.c -o pixmap `pkg-config --cflags
> gtk+-2.0` `pkg-config --libs gtk+-2.0`
Must specify package names on the command line
bash: gtk+-2.0: command not found
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
gcc: pixmap1.c: No such file or directory
gcc: no input files
[root@localhost root]# ls -l /usr/lib/pkgconfig/gtk+-2.0.pc
ls: /usr/lib/pkgconfig/gtk+-2.0.pc: No such file or directory
[root@localhost root]# pkg-config --list-all
[root@localhost root]#
 
  


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
Unable to install ethereal, I get the error: 'pkg-config --modversion glib-2.0' retur abefroman Linux - Security 5 07-09-2007 11:09 AM
DPKG & "files list file for package `pkg-config' contains empty filename" error :( Angelus Debian 2 04-02-2005 07:34 AM
pkg-config error hotstyle765 Linux - Software 6 01-31-2005 03:46 PM
pkg-config error with emerge -aD gnome-python on Gentoo 2.6.9-gentoo-r6 ghrellin Linux - Software 2 12-22-2004 06:37 PM
pkg-config Keebler Linux - Software 2 04-30-2003 02:10 PM

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

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