g-wrap failed compiled

RSP rspeterson at wowway.com
Mon Jun 21 21:22:57 EDT 2004


g-wrap compile is failing with the following on a Slackware 9.1 OS:

root at Ranger:/usr/local/apps/g-wrap-1.3.2# ./configure --prefix=/usr/local/
creating cache ./config.cache
checking for a BSD compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for mawk... no
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 whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
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 for Cygwin environment... no
checking for mingw32 environment... no
checking how to run the C preprocessor... gcc -E
checking host system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
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/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 for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen... no
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... no
checking whether -lc should be explicitly linked in... no
creating libtool
checking for guile... /usr/bin/guile
checking for guile-config... /usr/bin/guile-config
checking for scm_boot_guile in -lguile... yes
checking for scm_puts in -lguile... yes
checking for Guile Scheme directory... /usr/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
updating cache ./config.cache
creating ./config.status
creating Makefile
creating bin/Makefile
creating doc/Makefile
creating example/Makefile
creating g-wrap/Makefile
creating rpm/Makefile
creating test/Makefile
creating config.h
root at Ranger:/usr/local/apps/g-wrap-1.3.2# make
make  all-recursive
make[1]: Entering directory `/usr/local/apps/g-wrap-1.3.2'
Making all in doc
make[2]: Entering directory `/usr/local/apps/g-wrap-1.3.2/doc'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/usr/local/apps/g-wrap-1.3.2/doc'
Making all in rpm
make[2]: Entering directory `/usr/local/apps/g-wrap-1.3.2/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.2:'
mv spec.tmp spec
make[2]: Leaving directory `/usr/local/apps/g-wrap-1.3.2/rpm'
Making all in bin
make[2]: Entering directory `/usr/local/apps/g-wrap-1.3.2/bin'
rm -f g-wrap-config.tmp
sed < g-wrap-config.in > g-wrap-config.tmp \
    -e 's:@-GUILE-@:/usr/bin/guile:' \
    -e 's:@-VERSION-@:1.3.2:' \
    -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/local/apps/g-wrap-1.3.2/bin'
Making all in g-wrap
make[2]: Entering directory `/usr/local/apps/g-wrap-1.3.2/g-wrap'
guile -c \
          "(set! %load-path (cons 
\"/usr/local/apps/g-wrap-1.3.2/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/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/share/guile/1.6/ice-9/slib.scm"]
In /usr/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/local/apps/g-wrap-1.3.2/g-wrap/.." "/usr/share/guile/site" 
"/usr/share/guile/1.6" "/usr/share/guile" ".")
make[2]: *** [gw-standard.c] Error 2
make[2]: Leaving directory `/usr/local/apps/g-wrap-1.3.2/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/apps/g-wrap-1.3.2'
make: *** [all] Error 2

Any clues?  Thanks.  -- RSP



More information about the gnucash-user mailing list