Problems compiling g-wrap
Derek Atkins
warlord at MIT.EDU
Sun May 18 21:10:33 CDT 2003
You need to install slib
-derek
Martin Osmundsvåg <mosmunds at broadpark.no> writes:
> Hi!
> I'm trying to compile gnucash, but I can't compile the g-wrap package:
>
> root at balder:/usr/src/g-wrap-1.3.4# ./configure
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking whether build environment is sane... yes
> checking for gawk... gawk
> checking whether make sets ${MAKE}... yes
> checking whether to enable maintainer-specific portions of Makefiles... no
> checking for gcc... gcc
> checking for C compiler default output... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking for style of include used by make... GNU
> checking dependency style of gcc... gcc3
> checking for a BSD-compatible install... /usr/bin/ginstall -c
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking for ld used by GCC... /usr/i386-slackware-linux/bin/ld
> checking if the linker (/usr/i386-slackware-linux/bin/ld) is GNU ld... yes
> checking for /usr/i386-slackware-linux/bin/ld option to reload object
> files... -r
> checking for BSD-compatible nm... /usr/bin/nm -B
> checking for a sed that does not truncate output... /usr/bin/sed
> checking whether ln -s works... yes
> checking how to recognise dependent libraries... pass_all
> checking command to parse /usr/bin/nm -B output... ok
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking dlfcn.h usability... yes
> checking dlfcn.h presence... yes
> checking for dlfcn.h... yes
> checking for ranlib... ranlib
> checking for strip... strip
> checking for objdir... .libs
> checking for gcc option to produce PIC... -fPIC
> checking if gcc PIC flag -fPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.lo... yes
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking whether the linker (/usr/i386-slackware-linux/bin/ld)
> supports shared libraries... yes
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking whether -lc should be explicitly linked in... no
> creating libtool
> checking for guile... /usr/local/bin/guile
> checking for guile-config... /usr/local/bin/guile-config
> checking for scm_boot_guile in -lguile... yes
> checking for scm_puts in -lguile... yes
> checking for Guile Scheme directory... /usr/local/share/guile
> checking if guile uses old style smobs... no
> checking for glib-config... /usr/bin/glib-config
> checking if guile long_long is at least as big as gint64... yes
> checking for scm_long_long2num in -lguile... yes
> checking if unsigned long is at least as big as guint32... yes
> checking for gtk-config... /usr/bin/gtk-config
> checking for build-guile-gtk... no
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating bin/Makefile
> config.status: creating doc/Makefile
> config.status: creating example/Makefile
> config.status: creating g-wrap/Makefile
> config.status: creating rpm/Makefile
> config.status: creating test/Makefile
> config.status: creating config.h
> config.status: executing depfiles commands
> root at balder:/usr/src/g-wrap-1.3.4#
>
>
>
> root at balder:/usr/src/g-wrap-1.3.4# make
> make all-recursive
> make[1]: Entering directory `/usr/src/g-wrap-1.3.4'
> Making all in doc
> make[2]: Entering directory `/usr/src/g-wrap-1.3.4/doc'
> make[2]: Nothing to be done for `all'.
> make[2]: Leaving directory `/usr/src/g-wrap-1.3.4/doc'
> Making all in rpm
> make[2]: Entering directory `/usr/src/g-wrap-1.3.4/rpm'
> rm -f spec.tmp
> sed < spec.in > spec.tmp \
> -e
> 's:@-GW_RTLIB_VER-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER at .@GW_RUNTIME_GUILE_INTERFACE_REVISION at .@GW_RUNTIME_GUILE_INTERFACE_AGE@:'
> \
> -e
> 's:@-GW_RTLIB_MAJ-@:@GW_RUNTIME_GUILE_INTERFACE_MAJOR_VER@:' \
> -e 's:@-VERSION-@:1.3.4:'
> mv spec.tmp spec
> make[2]: Leaving directory `/usr/src/g-wrap-1.3.4/rpm'
> Making all in bin
> make[2]: Entering directory `/usr/src/g-wrap-1.3.4/bin'
> rm -f g-wrap-config.tmp
> sed < g-wrap-config.in > g-wrap-config.tmp \
> -e 's:@-GUILE-@:/usr/local/bin/guile:' \
> -e 's:@-VERSION-@:1.3.4:' \
> -e 's:@-libdir-@:/usr/local/lib:' \
> -e 's:@-includedir-@:/usr/local/include:' \
> -e 's:@-GUILE_MODULE_DIR-@:/usr/local/share/guile:'
> chmod +x g-wrap-config.tmp
> mv g-wrap-config.tmp g-wrap-config
> make[2]: Leaving directory `/usr/src/g-wrap-1.3.4/bin'
> Making all in g-wrap
> make[2]: Entering directory `/usr/src/g-wrap-1.3.4/g-wrap'
> guile -c \
> "(set! %load-path (cons \"/usr/src/g-wrap-1.3.4/g-wrap/..\"
> %load-path))""(debug-enable 'backtrace) \
> (debug-enable 'debug) \
> (read-enable 'positions) \
> (use-modules (g-wrap)) \
> (use-modules (g-wrap gw-standard-spec)) \
> (gw:generate-wrapset \"gw-standard\")"
> Backtrace:
> In unknown file:
> ?: 38* (if (or # #) (try-load-module name))
> ?: 39 [try-load-module (ice-9 slib)]
> ?: 40 (or (begin (try-module-linked name)) (try-module-autoload
> name) ...)
> ?: 41* [try-module-autoload (ice-9 slib)]
> ?: 42 (let* (# # # #) (resolve-module dir-hint-module-name #f)
> (and # #))
> ...
> ?: 43 (letrec ((load-file #)) (dynamic-wind (lambda () #) (lambda
> () #) ...) ...)
> ?: 44* [dynamic-wind #<procedure #f ()> #<procedure #f ()>
> #<procedure #f ()>]
> ?: 45* [#<procedure #f ()>]
> ?: 46* (let ((file #)) (cond (# => #) (# => #)))
> ?: 47 [#<procedure #f (full)>
> "/usr/local/share/guile/1.6/ice-9/slib.scm"]
> ?: 48 [load-file #<primitive-procedure primitive-load> ...]
> ?: 49* [save-module-excursion #<procedure #f ()>]
> ?: 50 (let (# #) (dynamic-wind # thunk #))
> ?: 51 [dynamic-wind #<procedure #f ()> #<procedure #f ()>
> #<procedure #f ()>]
> ?: 52* [#<procedure #f ()>]
> ?: 53* [primitive-load "/usr/local/share/guile/1.6/ice-9/slib.scm"]
> In /usr/local/share/guile/1.6/ice-9/slib.scm:
> 194: 54* (define slib-parent-dir (let (#) (if path # #)))
> 195: 55* (let ((path #)) (if path (substring path 0 ...) ...))
> 196: 56 (if path (substring path 0 ...) ...)
> In unknown file:
> ...
> ?: 57 [scm-error misc-error #f ...]
>
> <unnamed port>: In procedure scm-error in expression (scm-error (quote
> misc-error) #f ...):
> <unnamed port>: Could not find slib/require.scm in
> ("/usr/src/g-wrap-1.3.4/g-wrap/.." "/usr/local/share/guile/site"
> "/usr/local/share/guile/1.6" "/usr/local/share/guile" ".")
> make[2]: *** [gw-standard.c] Error 2
> make[2]: Leaving directory `/usr/src/g-wrap-1.3.4/g-wrap'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/g-wrap-1.3.4'
> make: *** [all] Error 2
> root at balder:/usr/src/g-wrap-1.3.4#
>
>
> The guile-1.6.4 compiled just fine, but I can't find a file named
> "slib/require.scm" on my HD. What to do?
>
> Thanks in regards...
>
> - Martin O.
>
>
> _______________________________________________
> gnucash-user mailing list
> gnucash-user at lists.gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-user
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-user
mailing list