public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* gnome-guile CVS runtime problem
@ 2003-04-03 11:02 Stan Pinte
  0 siblings, 0 replies; only message in thread
From: Stan Pinte @ 2003-04-03 11:02 UTC (permalink / raw)
  To: guile-gtk

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@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@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@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@altosw.be          	|
+-------------------------------------------------------+

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-04-03 11:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-04-03 11:02 gnome-guile CVS runtime problem Stan Pinte

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).