-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to run tutorial code in GNU Guix environment? #115
Comments
I think I fixed it by changing my (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 (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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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?The text was updated successfully, but these errors were encountered: