Compiling Imlib




I'm still trying to compile Imlib-1.8.1, for weeks now...

I successfully installed gtk-1.1.2 and all the most recent Imlib 
support files.  When I run the configure script for Imlib, I'm getting 
this:

--------------------
checking for gtk-config... (cached) /usr/local/bin/gtk-config
checking for GTK - version >= 1.0.0... no
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log 
for the
*** exact error that occured. This usually means GTK was 
incorrectly installed
*** or that you have moved GTK since it was installed. In the latter 
case, you
*** may want to edit the gtk-config script: /usr/local/bin/gtk-config
configure: warning: *** gdk_imlib will not be built ***                    
--------------------

gtk-config --version gives me the good version (1.1.2)

/usr/local/bin and /usr/local/lib are in my $PATH and in ld.so.conf.

The config.log for Imlib gives me:

--------------------
configure:1523: checking for GTK - version >= 1.0.0
configure:1622: gcc -o conftest -g -O2 -I/usr/X11R6/include -
I/usr/local/lib/gli
b/include -I/usr/local/include   conftest.c  -L/usr/local/lib -
L/usr/X11R6/lib -
lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm 1>&5
In file included from /usr/local/include/gtk/gtk.h:23,
                 from configure:1548:
/usr/local/include/gdk/gdk.h:313: parse error before `GDestroyNotify'
In file included from /usr/local/include/gtk/gtkobject.h:23,
                 from /usr/local/include/gtk/gtkaccelgroup.h:27,
                 from /usr/local/include/gtk/gtk.h:24,
                 from configure:1548:
/usr/local/include/gtk/gtkarg.h:64: parse error before `va_list'
/usr/local/include/gtk/gtkarg.h:83: parse error before `arg_info_1'
/usr/local/include/gtk/gtkarg.h:85: parse error before `arg_info'
In file included from /usr/local/include/gtk/gtkaccelgroup.h:27,
                 from /usr/local/include/gtk/gtk.h:24,
                 from configure:1548:
/usr/local/include/gtk/gtkobject.h:138: parse error before `GData'
/usr/local/include/gtk/gtkobject.h:138: warning: no semicolon at 
end of struct o
r union
/usr/local/include/gtk/gtkobject.h:285: parse error before 
`GDestroyNotify'
/usr/local/include/gtk/gtkobject.h:311: parse error before `GQuark'
/usr/local/include/gtk/gtkobject.h:314: parse error before `GQuark'
/usr/local/include/gtk/gtkobject.h:318: parse error before `GQuark'
/usr/local/include/gtk/gtkobject.h:320: parse error before `GQuark'
/usr/local/include/gtk/gtkobject.h:322: parse error before `GQuark'
/usr/local/include/gtk/gtkobject.h:340: parse error before `va_list'
In file included from /usr/local/include/gtk/gtkmisc.h:24,
                 from /usr/local/include/gtk/gtklabel.h:24,
                 from /usr/local/include/gtk/gtkaccellabel.h:26,
                 from /usr/local/include/gtk/gtk.h:25,
                 from configure:1548:
/usr/local/include/gtk/gtkwidget.h:165: field `object' has incomplete 
type
In file included from /usr/local/include/gtk/gtkadjustment.h:24,
                 from /usr/local/include/gtk/gtk.h:26,
                 from configure:1548:
/usr/local/include/gtk/gtkdata.h:46: field `object' has incomplete 
type  
In file included from /usr/local/include/gtk/gtkbin.h:24,
                 from /usr/local/include/gtk/gtkalignment.h:24,
                 from /usr/local/include/gtk/gtk.h:27,
                 from configure:1548:
/usr/local/include/gtk/gtkcontainer.h:206: parse error before `va_list'
In file included from /usr/local/include/gtk/gtk.h:38,
                 from configure:1548:
/usr/local/include/gtk/gtkclist.h:101: parse error before 
`gconstpointer'
In file included from /usr/local/include/gtk/gtk.h:42,
                 from configure:1548:
/usr/local/include/gtk/gtkctree.h:83: parse error before `GNode'
/usr/local/include/gtk/gtkctree.h:195: parse error before `GNode'
/usr/local/include/gtk/gtkctree.h:198: parse error before `*'
/usr/local/include/gtk/gtkctree.h:199: parse error before `GNode'
/usr/local/include/gtk/gtkctree.h:203: warning: data definition has 
no type or s
torage class
In file included from /usr/local/include/gtk/gtk.h:69,
                 from configure:1548:
/usr/local/include/gtk/gtkitemfactory.h:61: field `object' has 
incomplete type
configure: failed program was:
#line 1546 "configure"                                         
--------------------

Any suggestions, PLEASE!!!

I would like to contribute to the Gnome project, probably for 
translating documentations in french, but I must be able to compile 
it before!  

Thanks in advance,
Jeff.
(Sorry for my english, I'm a french canadian.



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