Problem compiling gnucash/g-wrap

Steve Mertz steve@dragon-ware.com
20 Nov 2002 14:36:45 -0600


I was trying to install gnucash.  But got a snag on g-wrap.

Here is what happened:

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/steve/dl/gnucash/g-wrap-1.3.2/doc'
Making all in rpm
make[2]: Entering directory `/home/steve/dl/gnucash/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@.@GW_RUNTIME_GUILE_INTERFACE_REVISION@.@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 `/home/steve/dl/gnucash/g-wrap-1.3.2/rpm'
Making all in bin
make[2]: Entering directory `/home/steve/dl/gnucash/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/share/guile:'
chmod +x g-wrap-config.tmp
mv g-wrap-config.tmp g-wrap-config
make[2]: Leaving directory `/home/steve/dl/gnucash/g-wrap-1.3.2/bin'
Making all in g-wrap
make[2]: Entering directory `/home/steve/dl/gnucash/g-wrap-1.3.2/g-wrap'
guile -c \
          "(set! %load-path (cons
\"/home/steve/dl/gnucash/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:
36* (if (or # #) (try-load-module name))
37  [try-load-module (ice-9 slib)]
38  (or (try-module-linked name) (try-module-autoload name) ...)
39* [try-module-autoload (ice-9 slib)]
40  (let* (# # # #) (resolve-module dir-hint-module-name #f) (and # #))
    ...
41  (let ((didit #f)) (dynamic-wind (lambda () #) (lambda () #) ...)
...)
42* [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
43* [#<procedure ()>]
44* (let ((full #)) (if full (begin # #)))
45  (if full (begin (save-module-excursion (lambda () #)) (set! didit
#t)))
46  (begin (save-module-excursion (lambda () #)) (set! didit #t))
47* [save-module-excursion #<procedure ()>]
48  (let (# #) (dynamic-wind # thunk #))
49  [dynamic-wind #<procedure ()> #<procedure ()> #<procedure ()>]
50* [#<procedure ()>]
51* [primitive-load "/usr/share/guile/1.4.1/ice-9/slib.scm"]
52* (define slib-parent-dir (let (#) (if path # #)))
53* (let ((path #)) (if path (make-shared-substring path 0 ...) ...))
54  (if path (make-shared-substring path 0 ...) ...)
    ...
55  [scm-error misc-error #f ...]

ERROR: In procedure scm-error in expression (scm-error (quote
misc-error) #f ...):
ERROR: Could not find slib/require.scm in 
("/home/steve/dl/gnucash/g-wrap-1.3.2/g-wrap/.." "/usr/share/guile/site"
"/usr/share/guile/1.4.1" "/usr/share/guile" ".")
make[2]: *** [gw-standard.c] Error 2
make[2]: Leaving directory `/home/steve/dl/gnucash/g-wrap-1.3.2/g-wrap'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/steve/dl/gnucash/g-wrap-1.3.2'
make: *** [all] Error 2
steve@nymph:~/dl/gnucash/g-wrap-1.3.2$ 


I'm using:
Slackware 8.1
gcc-2.95.3 (can switch to gcc 3.2, it is installed)
Guile 1.4.1

Let me know if you need any other info.

Thanks!
-- Steve






-- 
In God We Trust - All Others Must Submit An X.509 certificate