public inbox for guile-gtk@sourceware.org
 help / color / mirror / Atom feed
* Checking gnome-guile
@ 2000-11-28 22:14 Ariel Rios
  2000-11-29 14:21 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Ariel Rios @ 2000-11-28 22:14 UTC (permalink / raw)
  To: guile-gtk

Can anybody check if the new gnome-guile modules
(ghttp, gdkpixbuf and gal) are linking correctly?
You will need to have fairly recent versions
of these bleeding edge libs.

I'm getting some strange errors and want to know
if these errors are also available in other platforms
or if I am simply doing something stupid.

Is anyone up to the task? =)
Martin?

ariel

"gtk> (use-modules (gnome gal))
13  (or (try-module-linked name) (try-module-autoload name) ...)
14* [try-module-autoload (gnome gal)]
15  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
16  (let ((didit #f)) (dynamic-wind (lambda () #) (lambda () #) ...) ...)
17* [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
18* [#<procedure ()>]
19* (let ((full #)) (if full (begin # #)))
20  (if full (begin (save-module-excursion (lambda () #)) (set! didit
#t)))
21  (begin (save-module-excursion (lambda () #)) (set! didit #t))
22* [save-module-excursion #<procedure ()>]
23  (let (# #) (dynamic-wind # thunk #))
24  [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
25* [#<procedure ()>]
26* [primitive-load "/usr/local/share/guile/gnome/gal.scm"]
27* [merge-compiled-code "gal_init_glue" "libguilegal"]
28  (cond (gtkconf-using-ltdl #) (#t #))
    ...
29  [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
30* [#<procedure ()>]
31* [dynamic-call "gal_init_glue" ...
32* [dynamic-link "libguilegal"]
/usr/local/share/guile/gtk/dynlink.scm:19:34: In procedure dynamic-link in
expression (dynamic-link libname):
/usr/local/share/guile/gtk/dynlink.scm:19:34: file not found"

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Checking gnome-guile
  2000-11-28 22:14 Checking gnome-guile Ariel Rios
@ 2000-11-29 14:21 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2000-11-29 14:21 UTC (permalink / raw)
  To: Ariel Rios; +Cc: guile-gtk

Ariel Rios <ariel@arcavia.com> writes:

> /usr/local/share/guile/gtk/dynlink.scm:19:34: In procedure dynamic-link in
> expression (dynamic-link libname):
> /usr/local/share/guile/gtk/dynlink.scm:19:34: file not found"

I have not tried your code, but let me try one suggestion anyway: it
is often the case that libltdl (which does dynamic linking for Guile
nowadays) tries a lot of files for a library and uses the first that
can be linked successfully.  When a dlopen fails, for whatever reason,
it carries on with its list of filenames to try.  This means that you
always get the error message that corresponds to the last name that
was tried.  So, when a dlopen fails for your lib because some symbols
are undefined, you will still get a "file not found" error because
libltdl just carries on.

This bug has annoyed me quite some time, and I really should fix it...
(libltdl should only try the next name on its list when the previous
one failed with ENOENT.)

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2000-11-29 14:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-28 22:14 Checking gnome-guile Ariel Rios
2000-11-29 14:21 ` Marius Vollmer

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).