Open ZelphirKaltstahl opened 2 years ago
I think I fixed it by changing my manifest.scm
file to:
(specifications->manifest
'("guile"
"guile-gi"
"gtk+@3.24.30"))
Running in my GNU Guix environment:
guile example-00.scm
;;; note: source file /home/user/dev/guile/guile-examples/gui/example-00.scm
;;; newer than compiled /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/guile-examples/gui/example-00.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-auto-compile argument to disable.
;;; compiling /home/user/dev/guile/guile-examples/gui/example-00.scm
(process:123017): GuileGI-WARNING **: 23:45:35.490: no way of determining array size of GArray, coercing to pointer
(process:123017): GuileGI-WARNING **: 23:45:35.515: no way of determining array size of GArray, coercing to pointer
(process:123017): GuileGI-WARNING **: 23:45:35.515: no way of determining array size of GArray, coercing to pointer
(process:123017): GuileGI-WARNING **: 23:45:35.587: Editable - non-Object interface wants signals
(process:123017): GuileGI-WARNING **: 23:45:35.620: no way of determining array size of GArray, coercing to pointer
(process:123017): GuileGI-WARNING **: 23:45:35.620: no way of determining array size of GArray, coercing to pointer
;;; compiled /home/user/.cache/guile/ccache/3.0-LE-8-4.5/home/user/dev/guile/guile-examples/gui/example-00.scm.go
WARNING: (guile-user): imported module (gi) overrides core binding `quit'
WARNING: (guile-user): `quit' imported from both (gi) and (gi GLib-2.0)
For generating HTML docs (as per https://spk121.github.io/guile-gi/Generating-Documentation-from-Typelibs.html), it seems to be necessary to expand the manifest.scm
to the following:
(specifications->manifest
'("guile"
"guile-gi"
"gtk+@3.24.30"
"gtk-doc"))
Otherwise
guild gi-gtkdoc --format=html --output=docs --namespace=GLib --version=2.0
will give an error:
# more logs here
In execvp of gtkdoc-mkhtml: No such file or directory
I am trying to make the first examples of the tutorial run and am hitting a wall.
I have the following:
channels.scm
file:(I ran
guix pull && guix package -u
just before I tried running the code, today.)A
manifest.scm
file looking as follows:manifest.scm
andchannels.scm
are both insideguix-env/
.I am trying to get a working environment as follows:
That seems to work, no error. Then I have the following code from the tutorial at https://spk121.github.io/guile-gi/Parsing-Typelibs-and-Creating-Bindings.html:
When I try to run this, I get the following:
I understand it somehow does not find Gtk. But what to do about it? Is there another package, that I need to install or add to my
manifest.scm
file, in order for the examples to work? Or perhaps a system package I need to install?