[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gEDA: gwave / guile-gtk install
On Wed, 15 Aug 2001, Scott Dattalo wrote:
>
> (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.
Hi Scott (et. al.)
My experience (while writing gwave and other little things) is
that for guile-1.3.4 you need guile-gtk 0.16, 0.17 or 0.18. I just
confirmed that this works with RedHat 7.1 and its stock guile-1.3.4.
Blame RedHat for shipping an an old guile, I guess :-(.
For guile-1.4, guile-gtk 0.19 is the thing. I've never had success mixing
new guile-gtk with old guile, or vice versa. Your success (after much
effort) suggests that this is really just a configure problem, which does
ring a vague bell.
Still, I stand by the recommendation in gwave/INSTALL of not mixing
versions.
Incidently, I've had no problem having multiple guiles installed; the
various libguile.so.* versions are numbered appropriately so as not
to collide. When using RPM, I just do "rpm -ivh --force guile-1.4.rpm".
The same is NOT true of guile-gtk; they're all libguile*.so.0.0.0.
Last time I exchanged email with the guile-gtk developers, they didn't
think this was a problem - but I still disagree.
Steve
P.S. Yes, 20001123 was the most recent release of gwave; _somthing_ is
long overdue, even if it is just a few accumulated bugfixes. Soon, I
hope.
> 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
>
--
--
Steve Tell tell@telltronics.org