This is the mail archive of the
guile-gtk@sources.redhat.com
mailing list for the Guile project.
gnome-guile CVS runtime problem
- From: Stan Pinte <stan at altosw dot be>
- To: guile-gtk <guile-gtk at sources dot redhat dot com>
- Date: Thu, 3 Apr 2003 11:47:37 +0200
- Subject: gnome-guile CVS runtime problem
- Organization: Alto Software
hello,
I compiled and installed gnome-guile CSV against guile-1.6.3.
some issues:
-I had to fix two Makefiles to replace splaces by tabs.
-I had to fix dynlink-old.scm
stan at pablo:/usr/local/share/guile/gtk 20 $ diff dynlink-old.scm.fixed dynlink-old.scm.bak
205,207c205,206
< (let* ((d-object (dynamic-link full-name))
< (d-func (dynamic-func "sgtk_dlopenhelper_init" d-object)))
< (dynamic-call d-func d-object)))))))
---
> (dynamic-call 'sgtk_dlopenhelper_init
> (dynamic-link full-name)))))))
224d222
< (format #t "libtool ~%")
233d230
< (format #t "path ~A~%" path)
stan at pablo:/usr/local/share/guile/gtk 21 $
so that it is 1.6.3 compliant.
-I had to use the following cflags, so that it library loading work...
CFLAGS="-DHAVE_DLOPEN -DRTLD_GLOBAL -DUSE_THREADS" ./configure
--> now it complains that
stan at pablo:~/src/guile/gnome-guile-cvs/gnome-guile/guile-gnome/examples 44 $ guile -s canvas-test.scm
(dlopening "libguilegtk-1.2.so" "/usr/local/lib/libguilegtk-1.2.so")
guile: relocation error: /usr/local/lib/libguilegtk-1.2.so: undefined symbol: g_thread_init
any idea?
thanks,
Stan.
--
+---------------- Stanislas Pinte ------------------+
| sales Director |
| |
| Alto Software sprl |
| http://www.altosw.be/ |
| |
| cell: 32 476 340 841 |
| email: stan at altosw dot be |
+-------------------------------------------------------+