From: Mortimer Cladwell <mbcladwell@gmail.com>
To: guile-user@gnu.org
Subject: g-golf example error 'No applicable method for #<<generic> g-application-run'
Date: Thu, 9 Nov 2023 06:39:59 -0500 [thread overview]
Message-ID: <CAOcxjM5+7rpYhtzkicgePNduJpzpEi4B83GYna2qBggyB7puRQ@mail.gmail.com> (raw)
Hi,
I have installed g-golf with guix:
guix package -i guile-g-golf gtk guile-cairo
I try to run the hello-world example with the manifest.scm:
---manifest.scm--------------
(specifications->manifest
'("guile"
"guile-g-golf"
"guile-cairo"
"gtk"))
-------------------------------
mbc@ins3910:~/projects/g-golf/examples/gtk-4$ guix shell
guix shell: loading environment from
'/home/mbc/projects/g-golf/examples/gtk-4/manifest.scm'...
mbc@ins3910:~/projects/g-golf/examples/gtk-4 [env]$ ./hello-world.scm
Backtrace:
In ice-9/boot-9.scm:
1752:10 6 (with-exception-handler _ _ #:unwind? _ # _)
In unknown file:
5 (apply-smob/0 #<thunk 7fd6f4d12300>)
In ice-9/boot-9.scm:
724:2 4 (call-with-prompt _ _ #<procedure default-prompt-handle…>)
In ice-9/eval.scm:
619:8 3 (_ #(#(#<directory (guile-user) 7fd6f4d15c80>)))
In /home/mbc/projects/g-golf/examples/gtk-4/./hello-world.scm:
85:18 2 (main _)
In oop/goops.scm:
1567:11 1 (cache-miss #<<gtk-application> 7fd6ecfdc540> ("./hell…"))
1585:2 0 (_ _ _)
oop/goops.scm:1585:2: No applicable method for #<<generic>
g-application-run (1)> in call (g-application-run #<<gtk-application>
7fd6ecfdc540> ("./hello-world.scm"))
Help!
Maybe a separate issue - I see at
https://www.gnu.org/software/g-golf/install.html:
"G-Golf actually requires a patched version of guile-cairo that contains
the following new interface (which is not in guile-cairo 1.11.2):
cairo-pointer->context."
Is there a solution for guix users?
Thanks
Mortimer
next reply other threads:[~2023-11-09 11:39 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-09 11:39 Mortimer Cladwell [this message]
2023-11-09 16:22 ` g-golf example error 'No applicable method for #<<generic> g-application-run' David Pirotte
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAOcxjM5+7rpYhtzkicgePNduJpzpEi4B83GYna2qBggyB7puRQ@mail.gmail.com \
--to=mbcladwell@gmail.com \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).