LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 02-23-2008, 04:47 PM   #1
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Rep: Reputation: 68
Trying to compile a App.


FC8-x86_64
Trying to compile a efax-gtk app and I'm getting a error message.
What pkg-config command would I run to fix things ??

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 style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... 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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether gcc supports -pthread... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking whether g++ supports -fexceptions... yes
checking whether g++ supports -frtti... yes
checking whether g++ supports -fsigned-char... yes
checking whether g++ supports -fno-check-new... yes
checking whether g++ supports -pthread... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for pkg-config... /usr/bin/pkg-config
checking for glib-2.0 >= 2.0.0... yes
checking GLIB_CFLAGS... -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include
checking GLIB_LIBS... -lglib-2.0
checking for gtk+-2.0 >= 2.0.0... no
configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
 
Old 02-23-2008, 04:55 PM   #2
dive
Senior Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware
Posts: 3,467

Rep: Reputation: Disabled
Do you have GTK2 installed?
 
Old 02-23-2008, 04:57 PM   #3
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
install the gtk2-devel package through yum. but i assume efax-gtk is available in yum already anyway, so just run "yum install efax-gtk" and forget about compiling software altogether for now. (yum package name may vary i guess...)
 
Old 02-23-2008, 04:58 PM   #4
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,352

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by mickeyboa View Post

checking for gtk+-2.0 >= 2.0.0... no
configure: error: Library requirements (gtk+-2.0 >= 2.0.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them.
You are missing Gtk+, or your Gtk+ version is less than 2. These ./configure messages can be ambiguous about whether you are missing the source or the binary version of the package that it is complaining about. You can check what Gtk packages you do have installed with:

rpm -qa | grep gtk | sort | less

------------------
Steve Stites
 
Old 02-23-2008, 05:06 PM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
Quote:
Originally Posted by jailbait View Post
You are missing Gtk+, or your Gtk+ version is less than 2. These ./configure messages can be ambiguous about whether you are missing the source or the binary version of the package that it is complaining about. You can check what Gtk packages you do have installed with:

rpm -qa | grep gtk | sort | less

------------------
Steve Stites
not true, he's missing the C headers for the library, not the library itself necessarily. the chances of not already having a perfectly capable gtk2 installed on fc8 are next to zero.
 
Old 02-23-2008, 05:44 PM   #6
lazlow
Senior Member
 
Registered: Jan 2006
Posts: 4,363

Rep: Reputation: 172Reputation: 172
There are two separate packages gtk2-devel and gtk+-devel. From the error message I think you need gtk+-devel.
 
Old 02-23-2008, 08:27 PM   #7
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Original Poster
Rep: Reputation: 68
The gtk+-devel and gtk2-devel for both i386 and x86_64 are installed.

All these packages where installed by yum.

What is the yum command that performs the same as rpm -e --nodeps ?

The problem of deleting packages when you have two packages of same name, but a i386 and X86_64 package.

Isn't there a command for package-config to put all packages in package-config path.

efax-gtk is only available as tar.gz, efax is available as a rpm.

Last edited by mickeyboa; 02-23-2008 at 08:29 PM.
 
Old 02-24-2008, 01:53 AM   #8
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
i'd see no reason at all to doubt the configure script really. list the rpm db for gtk relevant packages as described above.

and it's *definitely* gtk2-devel you need, not gtk+-devel.
 
Old 02-24-2008, 09:44 AM   #9
mickeyboa
Senior Member
 
Registered: May 2004
Location: Indianapolis, Indiana
Distribution: FC-KDE, 32 and 64 bit
Posts: 1,721

Original Poster
Rep: Reputation: 68
Well gtk2-devel is installed the i386 and x86_64 both.
I will try to uninstall and reinstall both packages.

What is the yum command that performs the same as rpm -e --nodeps ?
 
Old 02-24-2008, 09:58 AM   #10
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check the yum manpage for command options, that's what it's there for. can you please *prove* to us that it's installed?
 
Old 02-24-2008, 10:55 AM   #11
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
Is there a particular reason that you don't install the efax app that is in the repos?

Show us what's installed with

Code:
yum list | grep gtk | grep devel
 
  


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
Compile Unix App for Calculator worldgnat Programming 2 09-01-2007 10:54 AM
Can't compile sample GTK app slackwarefan Linux - Software 5 07-26-2005 07:57 PM
Can't compile QT App. Wolverine Programming 26 10-06-2004 10:54 AM
Looking for help on how to compile app for cron bgriesi Linux - Software 0 06-25-2004 10:46 PM
Compile PHP as commandline app? ifm Linux - Software 3 07-06-2002 12:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 03:35 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
Open Source Consulting | Domain Registration