Re: When trying guile-gnome I get "Unbound variable: <gboxed>"

David Pirotte <[email protected]> Wed, 20 May 2020 18:32:18 -0300
Newsgroups gmane.lisp.guile.gtk
Message-ID <20200520183218.5c472f73@capac>
--===============2517340354377629709==
Content-Type: multipart/signed; boundary="Sig_/3gfuIo.=IQ=db3EOy37MRTn";
 protocol="application/pgp-signature"; micalg=pgp-sha512

--Sig_/3gfuIo.=IQ=db3EOy37MRTn
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

You should consider using guile-gi or g-golf instead, guile-gnome is
ok, but very old (it binds glib 2.16 and gtk 2.10 ...) and somewhat
unmaintained - it compiles and passes its checks but that's about
it, and no more 'effort' will be dedicated to it in the future, afaict:

	https://spk121.github.io/guile-gi/
	https://www.gnu.org/software/g-golf/

Disclaimer: I'm the G-Golf author and maintainer

Both projects use GObject Introspection , they differ mostly in their
coding approach (guile-gi is mostly written in C, while G-Golf is
mostly written in scheme) and in their 'paradigm' (guile-gi
implements the message passing paradigm as 'proposed' by the
gnome team to GI binding implementers, and as a user, you invoke
(GObject 'imported') methods, where in G-Golf, everything is available
using goops, including ref/set! properties, and as a user, you are 'in
and use' a generic function 'paradigm' ... 'so to speak', and to make it
short - please read about both projects and make up your own mind ...

If you decide to go with G-Golf, please be aware that it still is
experimental, although getting close to an alpha release, and
there is no tarball, you'll have to install from the source -
instructions on the site - and checkout the devel branch is highly
recommended, g-golf is under extensive development, which all
happens on the devel branch ...

Also, not matter what your choice is, consider joining #guile on
irc.freenode.net and feel free to ping us - there a few g-golf and
guile-gi users 'hanging around and always happy to help ...

> I am trying to get the "hello.scm" example from the guile gtk overview
> website
> <https://www.gnu.org/software/guile-gnome/docs/gtk/html/Overview.html>
> to work. However unfortunately I got stuck because guile shows me the
> following error message:
> ```
> ice-9/boot-9.scm:752:25: In procedure dispatch-exception:
> Unbound variable: <gboxed>
>=20
> In ice-9/boot-9.scm:
>    752:25  0 (dispatch-exception _ _ _)
> ```

Both the gtk/examples/hello.cm and hello-generics.scm provided with
guile-gnome work fine, I just double checked now - so I would think that
something went wrong while installing ...

David

--Sig_/3gfuIo.=IQ=db3EOy37MRTn
Content-Type: application/pgp-signature
Content-Description: OpenPGP digital signature

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAl7FoeIACgkQ83T9k6MF
etesZQf/dq3NJTvRM+VHVxc+mGlNMUhVPrf14VugeMqyN40oGbUF0YI5coh2vZGT
8jH0hlNDT2XYAE221g3qYz2O+SpCUYxb8Xztg4LBCfHK4jO5gIDgiccUypRK3zbi
SLP9cfpd0k5qPiz3Dhi7ivghe1Y/kGrtbMBZgXIKTzdnBYH6FcuwOwQ5dWsdaGKs
7vA2mgnUa6vAtiTxCE7hiorquSzwn33SLk8syT6DJOOjtIyxY6G9fCwF2Tzmp3eK
3GRL3vjZrtfAn99qHGJuEPb4z34IahE8tgsUH0PlSw4V4yIm49daLQp0S07Tdi9y
FefdY5XZHF5WUenCWtYOBdShjOPK3Q==
=8s4U
-----END PGP SIGNATURE-----

--Sig_/3gfuIo.=IQ=db3EOy37MRTn--


--===============2517340354377629709==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZ3VpbGUtZ3Rr
LWdlbmVyYWwgbWFpbGluZyBsaXN0Cmd1aWxlLWd0ay1nZW5lcmFsQGdudS5vcmcKaHR0cHM6Ly9s
aXN0cy5nbnUub3JnL21haWxtYW4vbGlzdGluZm8vZ3VpbGUtZ3RrLWdlbmVyYWwK

--===============2517340354377629709==--