RE: GTK with GCC 4.1 on Fedora Core 5



On Thu, 2006-05-04 at 09:48 -0600, Karihaloo, Ujjval wrote:
Hi,

 I am not sure if the GTK+ 1.2.10 version that I have is a developer
version. How can I find out?

What he means is that you need the "-devel" package which includes the
necessary header files and link libraries.  To install them on FC5,
probably you need to run as root:

yum install gtk+-devel

After you do this, you can compile any GTK 1 program with something
like:
gcc -o gtkprog gtkprog.c `gtk-config --cflags --libs`

Most of the apps you'll download and compile will find the gtk-config
program and get the cflags and library flags automatically.

Michael



-----Original Message-----
From: David Necas (Yeti) [mailto:yeti physics muni cz] 
Sent: Thursday, May 04, 2006 2:45 AM
To: Karihaloo, Ujjval
Cc: gtk-app-devel-list gnome org
Subject: Re: GTK with GCC 4.1 on Fedora Core 5

On Wed, May 03, 2006 at 09:17:59PM -0600, Karihaloo, Ujjval wrote:
./configure: line 5028: syntax error near unexpected token `1.2.0,'
./configure: line 5028: `AM_PATH_GTK(1.2.0, ,'

configure was generated on a system lacking gtk+-devel,
AM_PATH_GTK() was undefined then and thus left unexpanded.
If you re-generate configure now, it should be OK.

Yeti


--
Anonyms eat their boogers.
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]