[Nix-dev] Re: Guile load path?
Peter Simons
simons at cryp.to
Fri Jul 8 20:33:06 CEST 2011
Hi Ludovic,
I apologize if this article ends up being delivered twice to this list.
I'm sending it again because I have the impression that my first attempt
to post was blocked by GMANE because the attachments were too large.
Anyway, I noticed that the SLIB build has several (non-fatal) errors
while building the catalogs:
| building catalogs
| if type scm; then scm -c "(require 'new-catalog)"; fi
| /bin/sh: line 0: type: scm: not found
| if type guile; then guile -l guile.init -c\
| "(use-modules (ice-9 slib)) (require 'new-catalog)"; fi
| guile is /nix/store/3rr9ld5r0y7zb3y0z31gg5bl6dhqacis-guile-2.0.2/bin/guile
| ;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
| ;;; or pass the --no-auto-compile argument to disable.
| ;;; compiling /tmp/nix-build-0c7p7kxm9z82iqrcld08ic3qrbwf5jkr-slib-3b2.drv-0/slib/guile.init
| ;;; WARNING: compilation of /tmp/nix-build-0c7p7kxm9z82iqrcld08ic3qrbwf5jkr-slib-3b2.drv-0/slib/guile.init failed:
| ;;; ERROR: failed to create path for auto-compiled file "/tmp/nix-build-0c7p7kxm9z82iqrcld08ic3qrbwf5jkr-slib-3b2.drv-0/slib/guile.init"
| ice-9/psyntax.scm:1003:67: In procedure #<procedure 20b6de0 at ice-9/psyntax.scm:1002:36 ()>:
| ice-9/psyntax.scm:1003:67: Syntax error:
| unknown location: unexpected syntax in form define
| make: [catalogs] Error 1 (ignored)
| if type umb-scheme; then SCHEME_INIT=umbscheme.init;export SCHEME_INIT;\
| echo "(require 'new-catalog)" | umb-scheme; fi
| /bin/sh: line 0: type: umb-scheme: not found
| if type mzscheme; then\
| SCHEME_LIBRARY_PATH=`pwd`/;export SCHEME_LIBRARY_PATH;\
| cp mkpltcat.scm `mzscheme -mf mzscheme.init -e '(begin(display(implementation-vicinity))(exit))'`mkimpcat.scm;\
| mzscheme -g -f mzscheme.init -e "(require 'new-catalog)" </dev/null; fi
| /bin/sh: line 0: type: mzscheme: not found
| if type scheme48; then make install48; fi
| /bin/sh: line 0: type: scheme48: not found
I'm not sure what is going on, but maybe that is related to the problem?
The relevant part of config.log from GnuCash looks like this:
| configure:27053: checking for guile-config
| configure:27069: found /nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/bin/guile-config
| configure:27081: result: yes
| configure:27091: checking whether guile-config works
| configure:27097: result: yes
| configure:27159: checking for sin in -lm
| configure:27194: gcc -o conftest -g -O2 conftest.c -lm -lpthread >&5
| conftest.c:77:6: warning: conflicting types for built-in function 'sin'
| configure:27201: $? = 0
| configure:27222: result: yes
| configure:27235: checking for guile libraries
| configure:27238: result: -pthread -L/nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/lib -lguile -lltdl -lgmp -lcrypt -lm -lltdl
| configure:27240: checking for guile headers
| configure:27243: result: -I/nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/include -pthread
| configure:27597: checking whether guile works
| configure:27626: gcc -o conftest -g -O2 -I/nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/include -pthread conftest.c -lm -lpthread -pthread -L/nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/lib -lguile -lltdl -lgmp -lcrypt -lm -lltdl >&5
| configure:27633: $? = 0
| configure:27661: result: yes
| configure:27716: checking for guile
| configure:27734: found /nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/bin/guile
| configure:27747: result: /nix/store/b5vc03ramgkha0j6lzc76jxk9ml9s92q-guile-1.8.8/bin/guile
| configure:27762: checking for guile - 1.6.0 <= version < 99.99.99
| configure:27809: result: yes: 1.8.8
| configure:27901: checking for guile - 1.8.0 <= version < 99.99.99
| configure:27948: result: yes: 1.8.8
| configure:27975: checking for SLIB support
| configure:27988: error:
|
| Cannot find SLIB. Are you sure you have it installed?
| See http://bugzilla.gnome.org/show_bug.cgi?id=347922
| and http://bugzilla.gnome.org/show_bug.cgi?id=483631
I hope this helps,
Peter
More information about the nix-dev
mailing list