[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gEDA: gwave / guile-gtk install
(There are no questions here. I just want to describe what I had to do
to get gwave built on my system (RH7.0)).
I'm trying to install gwave-20001123 (This is the latest version,
right?) and one of the dependencies is guile-gtk. So I grabbed and
installed guile-gtk-0.19 and installed it. Or at least I think I did.
When I configure gwave I see this warning:
;;; WARNING (no code for module config)
/usr/local/bin/build-guile-gtk:172:17: While evaluating arguments to
string-append in expression (string-append gtkconf-prefix
"/share/guile-gtk"):
/usr/local/bin/build-guile-gtk:172:17: Unbound variable:
gtkconf-prefix
checking for guile-gtk LIBS...
;;; WARNING (no code for module config)
/usr/local/bin/build-guile-gtk:172:17: While evaluating arguments to
string-append in expression (string-append gtkconf-prefix
"/share/guile-gtk"):
/usr/local/bin/build-guile-gtk:172:17: Unbound variable:
gtkconf-prefix
Sounds bad.
Then when I make gwave, I get
cmd.o: In function `visiblewave_button':
/home/scott/geda/gwave-20001123/src/cmd.c:583: undefined reference to
`sgtk_wrap_gtkobj'
wavewin.o: In function `get_wavewin':
/home/scott/geda/gwave-20001123/src/wavewin.c:444: undefined reference
to `sgtk_wrap_gtkobj'
wavewin.o: In function `get_wavewin_toolbar':
/home/scott/geda/gwave-20001123/src/wavewin.c:453: undefined reference
to `sgtk_wrap_gtkobj'
wavewin.o: In function `get_wavewin_menubar':
/home/scott/geda/gwave-20001123/src/wavewin.c:461: undefined reference
to `sgtk_wrap_gtkobj'
<snip>
It's as though if the guile-gtk library was not linked in. Incidently,
the link make produces is:
gcc -g -O2 -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include
-DDATADIR=\"/usr/local/share\" -DBINGWAVE=\"/usr/local/bin/gwave\"
-o gwave -L/usr/lib -lguile -L/usr/src/bs/BUILD/guile-1.3.4/libguile
-L/usr/src/bs/BUILD/guile-1.3.4/libguile/.libs -ldl -lm cmd.o
wavewin.o draw.o gwave.o event.o gtkmisc.o pixmaps.o wavelist.o dnd.o
scwm_guile.o guile-compat.o init_scheme_string.o print.o rgeval.o
xgserver.o ../spicefile/libspicefile.a -L/usr/lib -L/usr/X11R6/lib
-lgtk -lgdk -rdynamic -lgmodule -lglib -ldl -lXext -lX11 -lm
(I did ldconfig after installing guile-gtk).
So for just for the fun of it, I tacked on a -lguilegtk-1.2 and guess
what, it links.
gwave builds and runs, but I had to jump through some tight hoops to
get it working...
Anyone see what I may have done wrong?
Scott