mark.d.wit...@gmail.com writes: > Mark H Weaver <m...@netris.org> writes: > >> * Although the README says that Guile 2.0.9 is required, the configure >> script will accept nothing less than Guile 2.2. Since 2.2 does not >> exist yet, it would be good to accept Guile 2.0 in the meantime :) > > Yes, that's a mistake on my part. I've pushed the necessary change the > configure.ac.
Excellent, thanks! >> * After changing 2.2 -> 2.0, the next problem is that the build process >> seems to assume that (xcb xml) is already in Guile's %load-path, but >> the build system doesn't arrange for this. I worked around this by >> setting GUILE_LOAD_PATH to the build directory. > > This one has me a bit confused; I compiled it all right with > GUILE_LOAD_PATH unset. Can you send me the output from running make? Here's what happens on my Debian wheezy system, starting from a pristine git checkout (using "git clean -dxf"): --8<---------------cut here---------------start------------->8--- mhw@tines:~/guile-xcb$ ./configure && make checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /bin/mkdir -p checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether make supports nested variables... yes checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for pkg-config... (cached) /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes configure: checking for guile 2.0 configure: checking for guile 2.2 configure: found guile 2.2 checking for Guile site directory... /usr/local/share/guile/site/2.0 checking for guile... /usr/local/bin/guile checking for guild... /usr/local/bin/guild checking for guile-config... /usr/local/bin/guile-config checking Guile lib directory... /usr/local/lib checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile restore=: && backupdir=".am$$" && \ am__cwd=`pwd` && CDPATH="${ZSH_VERSION+.}:" && cd . && \ rm -rf $backupdir && mkdir $backupdir && \ if (/bin/bash /home/mhw/guile-xcb/build_aux/missing makeinfo --version) >/dev/null 2>&1; then \ for f in guile-xcb.info guile-xcb.info-[0-9] guile-xcb.info-[0-9][0-9] guile-xcb.i[0-9] guile-xcb.i[0-9][0-9]; do \ if test -f $f; then mv $f $backupdir; restore=mv; else :; fi; \ done; \ else :; fi && \ cd "$am__cwd"; \ if /bin/bash /home/mhw/guile-xcb/build_aux/missing makeinfo -I . \ -o guile-xcb.info guile-xcb.texi; \ then \ rc=0; \ CDPATH="${ZSH_VERSION+.}:" && cd .; \ else \ rc=$?; \ CDPATH="${ZSH_VERSION+.}:" && cd . && \ $restore $backupdir/* `echo "./guile-xcb.info" | sed 's|[^/]*$||'`; \ fi; \ rm -rf $backupdir; exit $rc GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile flow/event-loop.scm --output=flow/event-loop.go wrote `flow/event-loop.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/records.scm --output=xcb/xml/records.go wrote `xcb/xml/records.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/enum.scm --output=xcb/xml/enum.go wrote `xcb/xml/enum.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/type.scm --output=xcb/xml/type.go wrote `xcb/xml/type.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile language/xml-xcb/support.scm --output=language/xml-xcb/support.go wrote `language/xml-xcb/support.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/union.scm --output=xcb/xml/union.go wrote `xcb/xml/union.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/struct.scm --output=xcb/xml/struct.go wrote `xcb/xml/struct.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/doc.scm --output=xcb/xml/doc.go wrote `xcb/xml/doc.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/connection.scm --output=xcb/xml/connection.go wrote `xcb/xml/connection.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile language/xml-xcb/compile-scheme.scm --output=language/xml-xcb/compile-scheme.go wrote `language/xml-xcb/compile-scheme.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile language/xml-xcb/spec.scm --output=language/xml-xcb/spec.go wrote `language/xml-xcb/spec.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/xml/xproto.xml --from=xml-xcb --output=xcb/xml/xproto.go wrote `xcb/xml/xproto.go' GUILE_FLAGS="-C /home/mhw/guile-xcb" /usr/local/bin/guild compile xcb/event-loop.scm --output=xcb/event-loop.go Backtrace: In system/base/target.scm: 59: 19 [with-target "x86_64-unknown-linux-gnu" ...] In system/base/compile.scm: 150: 18 [compile-file "xcb/event-loop.scm" #:output-file ...] 43: 17 [call-once #<procedure 13682c0 at system/base/compile.scm:56:5 ()>] In ice-9/boot-9.scm: 171: 16 [with-throw-handler #t ...] In system/base/compile.scm: 59: 15 [#<procedure 1368280 at system/base/compile.scm:58:9 ()>] 153: 14 [#<procedure 1368300 at system/base/compile.scm:151:8 (port)> #<closed: file 0>] 216: 13 [read-and-compile #<input: xcb/event-loop.scm 5> #:from ...] 232: 12 [lp () #f #<module (#{ g117}#) 1509d80>] 180: 11 [lp (#<procedure compile-tree-il (x e opts)>) (define-module # # ...) ...] In ice-9/boot-9.scm: 2320: 10 [save-module-excursion #<procedure 169b6c0 at language/scheme/compile-tree-il.scm:29:3 ()>] In language/scheme/compile-tree-il.scm: 31: 9 [#<procedure 169b6c0 at language/scheme/compile-tree-il.scm:29:3 ()>] In ice-9/psyntax.scm: 1091: 8 [expand-top-sequence ((define-module # # # ...)) () ((top)) ...] 976: 7 [scan ((define-module (xcb event-loop) #:use-module ...)) () ...] 270: 6 [scan ((#(syntax-object let # ...) (#) (# #) ...)) () ...] In ice-9/eval.scm: 411: 5 [eval # ()] In ice-9/boot-9.scm: 2870: 4 [define-module* (xcb event-loop) #:filename ...] 2845: 3 [resolve-imports ((#) (#) (#) (#) ...)] 2786: 2 [resolve-interface (xcb xml) #:select ...] In unknown file: ?: 1 [scm-error misc-error #f "~A ~S" ("no code for module" (xcb xml)) #f] In ice-9/boot-9.scm: 106: 0 [#<procedure 1368240 at ice-9/boot-9.scm:97:6 (thrown-k . args)> misc-error ...] ice-9/boot-9.scm:106:20: In procedure #<procedure 1368240 at ice-9/boot-9.scm:97:6 (thrown-k . args)>: ice-9/boot-9.scm:106:20: no code for module (xcb xml) make: *** [xcb/event-loop.go] Error 1 mhw@tines:~/guile-xcb$ --8<---------------cut here---------------end--------------->8---