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

gEDA-user: geda-20050313 will not compile (newbie glib/gtk problem?)



Hello, I have been trying to build geda-20050313 from source, and I believe I have all dependencies installed.  When I run ./configure I get the following:

[snip]
** Configuration summary for geda 20050313:

   GLIB library version:             2.4.8
   GTK+ library version:             2.6.4
   mingw build:                      no
   dmalloc debugging:                no
   ElectricFence debugging:          no

However, I am using the Ubuntu distribution, and according to Synaptic Package Manager the installed version of libglib2.0-0 is 2.6.3-1.  Here is the error I get when running "make install":

In file included from /usr/include/gtk-2.0/gtk/gtk.h:31,
                 from callbacks.c:28:
/usr/include/gtk-2.0/gdk/gdk.h:70: error: syntax error before '*' token
In file included from /usr/include/gtk-2.0/gtk/gtk.h:114,
                 from callbacks.c:28:
/usr/include/gtk-2.0/gtk/gtkmain.h:101: error: syntax error before "GOptionEntry"
/usr/include/gtk-2.0/gtk/gtkmain.h:105: error: syntax error before '*' token
/usr/include/gtk-2.0/gtk/gtkmain.h:105: warning: type defaults to `int' in declaration of `gtk_get_option_group'
/usr/include/gtk-2.0/gtk/gtkmain.h:105: warning: data definition has no type or storage class
make[1]: *** [callbacks.o] Error 1
make[1]: Leaving directory `/home/alex/geda-latest/geda
-20050313/src'
make: *** [install-recursive] Error 1

Also, I am using the examples given (by "make" in the cvs version) for environment variables...

export LD_LIBRARY_PATH=/root/geda/lib:$LD_LIBRARY_PATH
export PATH=/root/geda/bin:${PATH}
export PKG_CONFIG_PATH=/root/geda/lib/pkgconfig:$PKG_CONFIG_PATH

So it is also worth noting that I tried the cvs version, and after making a minor change (removed "documentation" from dependencies, as I saw in the archive for this list) I am stumped with the following (similar) error:

In file included from /usr/include/gtk-2.0/gtk/gtk.h:114,
                 from a_basic.c:30:
/usr/include/gtk-2.0/gtk/gtkmain.h:101: error: syntax error before "GOptionEntry"
/usr/include/gtk-2.0/gtk/gtkmain.h:105: error: syntax error before '*' token
/usr/include/gtk-2.0/gtk/gtkmain.h:105: warning: type defaults to `int' in declaration of `gtk_get_option_group'
/usr/include/gtk-2.0/gtk/gtkmain.h:105: warning: data definition has no type or storage class
make[3]: *** [a_basic.lo] Error 1
make[3]: Leaving directory `/root/geda-cvs/devel/libgeda/src'
make[2]: *** [install] Error 2
make[2]: Leaving directory `/root/geda-cvs/devel/libgeda/src'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/root/geda-cvs/devel/libgeda'
make: *** [libgeda_install] Error 2

Please let me know if there is a solution.  I have not yet installed gEDA and am looking forward to it very much.

Thanks,
Alex