This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Guile-gtk (0.14)on FeeeBSD HELP wanted


Albert Mietus <albert@gamp.wirehub.nl> writes:

> Hello all,

Hi,

first, let me thank you for this very detailed report!  I'm sure you
made yourself a lot of work preparing this, and I really appreciate
that (but it is also OK to just complain briefly; I'll ask for what I
need).

>    ./build-guile-gtk.in -I . glue  >tmpd && mv tmpd gdk-glue.c

This is your problem, as others have already pointed out.  I used "$<"
in the Makefile to get at the right *.defs file.  Apparently you make
does not support this.  You can replace the relevant section in
Makefile.am with

gtk-glue.c: $(gtkdefs) $(gdkdefs) build-guile-gtk
	$(BUILD) -I $(srcdir) glue $(gtkdefs) >tmpt && mv tmpt $@

gdk-glue.c: $(gdkdefs) build-guile-gtk
	$(BUILD) -I $(srcdir) glue $(gdkdefs) >tmpd && mv tmpd $@

but then you'll also need automake so that the build environment can
be updated to reflect this change.  If you don't want to install
automake, you can just edit Makefile.in instead, but note that it
might get overridden (but only when you have automake).

The bug will be fixed in guile-gtk-0.15, of course.

>    ERROR: usage: build-guile-gtk [GLOBAL-OPTIONS] CMD [CMD-OPTIONS] DEFS

This last line is the actual error message from `build-guile-gtk.in'.
It's a little bit hard to find.