From: Erik Grun <egnun@mailbox.org>
To: guile-user@gnu.org
Subject: Re: G-Golf - Installation problems in Guix
Date: Sun, 28 May 2023 12:11:27 +0200 [thread overview]
Message-ID: <b622f55d-4c1a-1edb-893e-9784ce4dfb1e@fsfe.org> (raw)
In-Reply-To: <19bcf941-5814-2ed3-191f-3910719c2623@fsfe.org>
[-- Attachment #1.1.1: Type: text/plain, Size: 3077 bytes --]
[[[ Hiermit widerspreche ich ausdrücklich der Erfassung, Speicherung
und Verarbeitung meiner Daten zu anderen Zwecken, als der Zustellung
meiner Nachricht zum Empfänger ]]]
Hello, G-Golfers,
hello, Guile users,
By the way running G-Golf in a shell environment yields different errors.
So, I executed this
$ guix shell guile-g-golf gtk
$ ./hello-world.scm
And got this output[1]
> […]
> In oop/goops.scm:01
> 1567:11 1 (cache-miss #<<gtk-application> 7f826c644120> ("./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>
7f826c644120> ("./hello-world.scm"))
Does anyone know why this is different this time?
Kind regards,
Erik
[1] Full output here https://etherpad.belug.de/etherpad/p/g-golf
Am 28.05.23 um 11:56 schrieb Erik Grun:
> [[[ Hiermit widerspreche ich ausdrücklich der Erfassung, Speicherung
> und Verarbeitung meiner Daten zu anderen Zwecken, als der Zustellung
> meiner Nachricht zum Empfänger ]]]
>
>
> Hello, G-Golfers,
>
> I have some troubles getting G-Golf to run.
>
> I am using Guix on Fedora 38. Via Guix I tried to install G-Golf version
> "a.1"[0] together with GTK@4.8.1. This raised a conflict during
> installation, as GTK (as well as libadwaita) require glib@2.72.3, but
> g-golf requires glib@2.73.3.
> After some research I found the "--with-input" option in Guix and build
> "g-golf" locally with glib@2.72.3 (GTKs requirement) and then did a
> "guix install" on the local version (/gnu/store/…/guile-g-golf…).
>
> So after a successful? installation I tried to execute the "Hello World"
> example[1] and got this message (posting last 4 lines, full output here[2])
>
> > […]
> > In g-golf/gi/repository.scm:
> > 99:2 0 (g-irepository-require _ #:version _ #:repository _)
>
> > g-golf/gi/repository.scm:99:2: In procedure g-irepository-require:
> > Typelib file for namespace 'Gtk', version '4.8.1' not found
>
> And this is where I am stuck.
>
> I tried commenting out this line in "hello-world.scm":
> > (g-irepository-require "Gtk" #:version "4.0")
>
> Even installing GTK4 (gtk4-devel) from Fedoras own repo didn't help.
>
> Do you have an idea how to fix this?
>
> Kind regards,
>
> Erik (egnun)
>
> [0] Which seems to be outdated?
> [1]
> http://git.savannah.gnu.org/cgit/g-golf.git/tree/examples/gtk-4/hello-world.scm
> [2] https://etherpad.belug.de/etherpad/p/g-golf
>
--
pub rsa4096/C02662E2370D6F27 2016-05-27 [SCA] [verfällt: 2022-05-08]
Schl.-Fingerabdruck = 7E0E 8A9E EAEE 075D E689 F32F C026 62E2 370D 6F27
uid [ ultimativ ] Erik Grun <egnun@posteo.de>
uid [ ultimativ ] Erik Grun <egnun@fsfe.org>
sub rsa4096/1DF94895FA78155E 2016-05-27 [E] [verfällt: 2022-05-08]
You are wondering, what this signature means?
Visit *emailselfdefense.fsf.org/en/infographic.html*
to find out how YOU can securely encrypt your e-mails.
[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 8887 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 840 bytes --]
next prev parent reply other threads:[~2023-05-28 10:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-28 9:56 G-Golf - Installation problems in Guix Erik Grun
2023-05-28 10:11 ` Erik Grun [this message]
2023-05-28 16:12 ` pelzflorian (Florian Pelz)
2023-05-28 19:46 ` Mike Gran
2023-05-29 15:17 ` pelzflorian (Florian Pelz)
2023-05-28 19:21 ` 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=b622f55d-4c1a-1edb-893e-9784ce4dfb1e@fsfe.org \
--to=egnun@mailbox.org \
--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).