This is the mail archive of the guile-gtk@sources.redhat.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]
Other format: [Raw text]

Re: (gnome gtk) et al


On Wed, 7 May 2003 14:47:20 +0200
Stan Pinte <stan.pinte@wanadoo.be> wrote:

> 
> hello,
> 
> I managed to compile gnome-guile, by fixing some typos in some Makefile.in, and here is what I get when trying an example:
> 
>  /opt/guile-exp/bin/guile --debug -s canvas-test.scm
> 
> stan@pablo:~/src/guile/exp/gnome-guile/guile-gnome/examples 120 $ /opt/guile-exp/bin/guile -s canvas-test.scm 
> ERROR: In procedure dynamic-func:
> ERROR: /opt/guile-exp//lib/libguile-ltdl.so.1: undefined symbol: gnome_init_guile_glue
> stan@pablo:~/src/guile/exp/gnome-guile/guile-gnome/examples 121 $ 
> 
> 
> (I enclosed debug output below)
> 
> any clue? because strace tells me that the program has opened the library:
---------------+


A first clue is that gnome-guile, in the GNOME CVS, uses a slightly different gtk/dynlink.scm file, which relies on tk/dynlink-old.scm ....

(define-public (merge-compiled-code init-func libname)
  (cond 
   (gtkconf-using-ltdl
    (let* ((module (current-module))
	   (interface (module-public-interface module)))
      ;; make the new primitives visible from within the current module.
      (module-use! module interface) ; XXX - is this safe?
      (save-module-excursion
       (lambda ()
	 (set-current-module interface)
	 (load-extension libname init-func)))))
   (else
    (merge-compiled-code-old init-func libname))))

the question are: what does gtkconf-using-ltdl means? should merge-compiled-code-old be re-integrated in the guile-gtk CVS?

thanks,

Stan.


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