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]

Guile-gtk (0.14)on FeeeBSD HELP wanted



Hello all,

I hope this mailing list is open for questions like mine. When not, I
do apologize. But this list of the only place of information about
guile or guile-gtk I could find.
  As I'm not on the list, please response to my directly:
                    albert@gamp.wirehub.nl 

I'm trying to learn guile, and I want to use it with gtk.
I downloaded several version of gtk, and fetched some FreeBSD-packages
from CDrom as well.
  I also downloaded guile-gtk-0.14 and there I got a problem I don't
understand; and would like some help.

Before I continue with technical details, let me tell you I'm an
advanced programmer, but mostly in C-like languages. The only
functional programming experience I have is in emacs' elisp. That the
reason to start with guile actually: learn a new, promising
language. I have selected guile as my (most likely) new "default
selection" language out of a list of language (including lisp, tom,
obj-C and many more).
 You can read that as a compliment for your effort. At least those of
you that have "helped the development of guile". THANKS!

Back to my problem:
1) `./configure` does work, after removing a pre-1 version of gtk
2) `make` does't (at least not completely)  (see output below)
      And I don't see how to solve it

Questions
=========
        * Does guile-gtk-0.14 work "out off the box" on FreeBSD-228?
        * Is my problem maybe related to wrong gtk-libs?
        * Am I missing something?
        * As it doesn't seam to be a compile problem (like with 
             a C-program), where should I look?
        * Any suggestions?

TIA
Albert

P.S. As guile isn't very documented yet, I assumed that general
scheme text-books are a god replacement. Any suggestions?


Details
=======
* I have guile 1.3 (FreeBSD-package)
* I have gtk-1.0.6, 1.1.2 and 1.1.12. 
* `gtk-config --version` returns 1.06
* `ldconfig -r | grep gtk` returns:
        35:-lgtkxmhtml.0.30 => /usr/X11R6/lib/libgtkxmhtml.so.0.30
        67:-lgtk11d.1.2 => /usr/X11R6/lib/libgtk11d.so.1.2
        121:-lgtk.1.6 => /usr/X11R6/lib/libgtk.so.1.6
        127:-lgtk11.1.2 => /usr/X11R6/lib/libgtk11.so.1.2
* `ldconfig -r | grep guile` returns:
        68:-lguile.4.0 => /usr/local/lib/libguile.so.4.0

*  `make` returns:
   Graph cycles through ./aclocal.m4

   ./build-guile-gtk.in -I . glue  >tmpd && mv tmpd gdk-glue.c
   Backtrace:
   0* (case opsym ((glue) (let* # #)) ...)
   1  (let* ((defs-file #) (defs #)) (emit-glue defs-file defs))
   2* [next-arg]
   3* (if (null? args) (usage))
   4  [usage]
      ...
   5  [scm-error misc-error #f ...]
   6* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> misc-error ...]
   ERROR: In procedure gsubr-apply in expression (scm-error (quote misc-error) #f ...):
   ERROR: usage: build-guile-gtk [GLOBAL-OPTIONS] CMD [CMD-OPTIONS] DEFS
   guile: uncaught throw to abort: (misc-error)
   *** Error code 2
   Stop.


Even more details
=================
tuba:/home/albert/work/guile-gtk/guile-gtk-0.14: 74 >make distclean
rm -f config.h
rm -f *.tab.c
rm -f TAGS ID
rm -f Makefile build-guile-gtk
rm -f config.cache config.log stamp-h stamp-h[0-9]*
test -z "libguilegtk-1.0.la libguiledlopenhelper.la" || rm -f libguilegtk-1.0.la libguiledlopenhelper.la
rm -rf .libs _libs
test -z "guile-gtk-1.0" || rm -f guile-gtk-1.0
test -z "gdk-glue.c gtk-glue.c guile-gtk.x gtk-support.x main.c" || rm -f gdk-glue.c gtk-glue.c guile-gtk.x gtk-support.x main.c
rm -f *.o core *.core
rm -f *.lo
rm -f libtool
rm -f config.status
tuba:/home/albert/work/guile-gtk/guile-gtk-0.14: 75 >make
make: no target to make.
tuba:/home/albert/work/guile-gtk/guile-gtk-0.14: 76 >./configure
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking whether make sets ${MAKE}... yes
checking for working aclocal... missing
checking for working autoconf... found
checking for working automake... missing
checking for working autoheader... found
checking for working makeinfo... found
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking host system type... i386-unknown-freebsd2.2.8
checking build system type... i386-unknown-freebsd2.2.8
checking for ranlib... ranlib
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... no
checking for BSD-compatible nm... /usr/bin/nm -p
checking command to parse /usr/bin/nm -p output... no
checking for _ prefix in compiled symbols... no
checking whether ln -s works... yes
checking for object suffix... o
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions ... yes
checking if gcc static flag -static works... -static
checking if the linker (/usr/bin/ld) is GNU ld... no
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking command to parse /usr/bin/nm -p output... no
checking how to hardcode library paths into programs... immediate
checking for /usr/bin/ld option to reload object files... -r
checking dynamic linker characteristics... freebsd2.2.8 ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for objdir... .libs
creating libtool
checking for gtk-config... /usr/X11/bin/gtk-config
checking for GTK - version >= 1.0.0... yes
building for gtk-1.0
checking for main in -lqthreads... no
checking for qt_null in -lqt... no
checking for main in -ltermcap... yes
checking for main in -lreadline... yes
checking for guile-config... yes
checking whether guile-config works... yes
checking for sin in -lm... yes
checking for guile libraries... -L/usr/local/lib -lguile -lreadline -ltermcap -lm
checking for guile headers... -I/usr/local/include
checking whether guile works... yes
checking for scm_internal_cwdr... yes
checking for scm_done_malloc... yes
checking for scm_reverse_x... yes
checking for scm_puts... yes
checking for gdk_color_copy... no
checking for gtk_widget_peek_colormap... no
checking for gtk_type_get_info... no
checking for gtk_signal_set_class_function_full... no
updating cache ./config.cache
creating ./config.status
creating Makefile
creating build-guile-gtk
creating gtk/dynlink.scm
creating config.h
tuba:/home/albert/work/guile-gtk/guile-gtk-0.14: 77 >make
Graph cycles through ./aclocal.m4

./build-guile-gtk.in -I . glue  >tmpd && mv tmpd gdk-glue.c
Backtrace:
0* (case opsym ((glue) (let* # #)) ...)
1  (let* ((defs-file #) (defs #)) (emit-glue defs-file defs))
2* [next-arg]
3* (if (null? args) (usage))
4  [usage]
   ...
5  [scm-error misc-error #f ...]
6* [gsubr-apply #<compiled-closure #<primitive-procedure gsubr-apply>> misc-error ...]
ERROR: In procedure gsubr-apply in expression (scm-error (quote misc-error) #f ...):
ERROR: usage: build-guile-gtk [GLOBAL-OPTIONS] CMD [CMD-OPTIONS] DEFS
guile: uncaught throw to abort: (misc-error)
*** Error code 2

Stop.
tuba:/home/albert/work/guile-gtk/guile-gtk-0.14: 78 >




---GAM
"This should be a jolly quote"
====
Do NOT send MS-Word or other MS-bits to me!
I can't read it and I don't want to try either.