gEDA-dev: configure.ac in gnetlist missing GUILE stuff
Ales Hvezda
ahvezda at seul.org
Sun Sep 24 17:12:53 EDT 2006
[snip]
>Unfortunatly, linking libgeda, gschem, gnetlist, all failed on GUILE, as
>the GUILE_LDFLAGS weren't being added to the linker's command line.
>
>I fixed this up by adding @GUILE_LDFLAGS@ in the Makefile.am, on the end
>of the line: {package name here}_LDADD = .....
>
>In gnetlist, the substitution for @GUILE_LDFLAGS@ didn't work. I
>discovered that the GUILE test is missing from configure.ac in the
>gnetlist directory.
>
All the necessary cflags and lib flags should be supplied to the compiler
using pkg-config libgeda. What are the values on your box for the following
commands?
pkg-config libgeda --cflags
and
pkg-config libgeda --libs
What is output on your system?
like this (from my system):
$ pkg-config libgeda --cflags
-I/home/ahvezda/geda/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
$ pkg-config libgeda --libs
-L/home/ahvezda/geda/lib -lgeda -lguile -lguile-ltdl -lqthreads -lpthread -lcrypt -lgdk-x11-2.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lfontconfig -lXext -lXrender -lXinerama -lXi -lXrandr -lXcursor -lXfixes -lpango-1.0 -lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lglib-2.0 -lX11
Notice that -lguile is listed there (this if from a debian testing box).
What the heck bizarro thing is ubuntu doing now... :-(
-Ales
More information about the geda-dev
mailing list