This is the mail archive of the guile@sourceware.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]

problems with compiling guile-gtk


Hello:

I have some problems when tried to compile guile-gtk-0.17 with the current CVS
code.

0. Trivial patch was needed at line 44 of guile-gtk.c
	void scm_puts (char *str, SCM port);
changed to
	void scm_puts (const char *str, SCM port);
	
1. It looks like a bug in guile at the stage of generation of
gtk-glue.c from gtk-1.2.defs, because the generated line #12385 in
gtk-glue.c looks like
  SCM_ASSERT (ˆµ@ˆµ@a_gtkobj (gtk_scale_get_type (), p_scale), p_scale, SCM_ARG1, s_gtk_scale_set_draw_value);

When I changed the order of definitions in gtk-1.2.defs, namely moved
the lines

(define-func gtk_scale_set_draw_value
  none
  ((GtkScale scale)
   (bool draw_value)))

(these were the lines #3263-3266) before the definition of preceding
function, the troubles disappeared, everything was compiled and installed
successfully.

2. However, when I tried to do

# guile
guile> (use-modules (gtk gtk))

I got the the error:
/usr/local/share/guile/gtk/dynlink.scm:327:34: In procedure error in expression
(error "can't open library" libname):
/usr/local/share/guile/gtk/dynlink.scm:327:34: can't open library "libguilegtk-1.2"
ABORT: (misc-error)


I would be very appreciated for any help and/or suggestions.
I use gcc at linux platform; guile was compiled with --with-modules option.

--
Best regards,
	Valentin.

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