[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
g-golf example error 'No applicable method for #<<generic> g-application
From: |
Mortimer Cladwell |
Subject: |
g-golf example error 'No applicable method for #<<generic> g-application-run' |
Date: |
Thu, 9 Nov 2023 06:39:59 -0500 |
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
- g-golf example error 'No applicable method for #<<generic> g-application-run',
Mortimer Cladwell <=