[Nix-dev] Re: Guile load path?

Peter Simons simons at cryp.to
Fri Jul 8 17:39:38 CEST 2011


Hi Ludovic,

 > What does ‘config.log’ say?

the config.log file from GnuCash is attached below. I noticed, however,
that there are also plenty of build errors in SLIB -- build the nix
expression seems to succeed anyway. For example:

 | 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. The complete build log for slib attached
below, too.

Take care,
Peter

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: slib-build.log
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110708/34d9df1b/attachment.pl 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.log
Url: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20110708/34d9df1b/attachment-0001.pl 


More information about the nix-dev mailing list