"Jack" <ostrof...@users.sourceforge.net>, 06.05.2019, 20:55:
> On 2019.05.06 13:26, Stefan Schmiedl wrote: >> In file included from /usr/include/guile/2.2/libguile.h:31, >> from >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:4: >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c: >> In function ‘sgtk_gtk_input_add_full’: >> /var/tmp/portage/x11-libs/guile-gtk-2.1-r3/work/guile-gtk-2.1/gtk-glue.c:3579:63: >> >> error: ‘scm_tc16_fport’ undeclared (first use in this function); did >> you mean ‘scm_t_fport’? >> SCM_ASSERT ((SCM_NIMP (p_source) && SCM_TYP16 (p_source) == >> scm_tc16_fport && SCM_OPPORTP (p_source)), p_source, SCM_ARG1, >> s_gtk_input_add_full); >> >> ^~~~~~~~~~~~~~ >> >> namely: "error", "scm_tc16_fport" and the accompanying wiggles right >> below. >> > Dale, > I'll offer a wild guess - what version of guile do you have installed? > The latest stable is 2.0.14-r3, but perhaps (noting this version of > guild-gtk is ~) it requires a newer version - perhaps 2.2.3 or 2.2.4? > Actually, I see from the snippet of output that it looks like you do > have guile 2.2. Oddly, I do see scm_tc16_fport defined in > .../libguile/fports.h and libguil.h includes "#include > "libguile/fports.h" although that is in guile 2.0 that I have > installed. I wonder if libguile.h in 2.2 omits that further include? The final mail before I call it a day: # stefan @ g128 in /usr/include/guile/2.2 [0:00:51] $ ag scm_tc16_fport # stefan @ g128 in /usr/include/guile/2.2 [0:01:03] C:1 $ ag scm_t_fport libguile/fports.h 34:typedef struct scm_t_fport { 41:} scm_t_fport; 45:#define SCM_FSTREAM(x) ((scm_t_fport *) SCM_STREAM (x)) libguile/deprecated.h 114:#define scm_fport scm_fport__GONE__REPLACE_WITH__scm_t_fport I bet on guile-gtk requiring guile-2.0.x, maybe even guile:2 (i.e. 2.0.9). s.