building from source.

Steve zephod at cfl.rr.com
Thu Nov 7 14:29:57 EST 2013


---- tjoen <tjoen at dds.nl> wrote: 
> On 07-11-13 17:25, Steve wrote:
> 
> > So I installed Fedora 19 in a VM (The UI is as bad as I thought it was going to be but at least they have a GNOME classic look which although not as good as it used to be, is at least tolerable) installed autogen, automake, libtool intltool swig and guile-devel but I get this error when trying o compile:
> >
> > $ ../configure --enable-compile-warnings --enable-debug
> > ...
> > checking for guile-1.8 >= 1.8.5... no
> > checking for guile-2.0 >= 2.0.0... yes
> I am not sure that 2.0 is not without problems
> I have only experience with 1.8
> 
> > checking GUILE_CFLAGS... -pthread -I/usr/include/guile/2.0
> > checking GUILE_LIBS... -lguile-2.0 -lgc
> > checking for guile... /usr/bin/guile
> > checking if guile needs our copy of (guile www)... ../configure: line 20830: syntax error near unexpected token `gnc_have_guile_www,'
> > ../configure: line 20830: `GUILE_MODULE_AVAILABLE(gnc_have_guile_www,(www main))'
> >
> I remember similar problem.
> Is there a /usr/share/guile/2.0/slib -> /usr/share/slib ?
> If exist then this command was necessary:
> # guile -c "(use-modules (ice-9 slib)) (require 'new-catalog)"
> But that was with guile-1.8.x

Let's see...
$ ls -l /usr/share/guile/2.0/slib
lrwxrwxrwx. 1 root root 10 Nov  7 12:04 /usr/share/guile/2.0/slib -> ../../slib

So...
(I'm assuming that you meant new-catalog be enclosed in single quotes and not just a leading one. I tried both just in case)

# guile -c "(use-modules (ice-9 slib)) (require 'new-catalog')"
Backtrace:
In ice-9/command-line.scm:
 180: 19 [#<procedure 90e92f0 at ice-9/command-line.scm:175:6 (port)> #<input: string 8f92c30>]
In unknown file:
   ?: 18 [eval (use-modules (ice-9 slib)) #<directory (guile-user) 9045630>]
In ice-9/eval.scm:
 505: 17 [#<procedure 8ffb4a0 at ice-9/eval.scm:499:4 (exp)> (use-modules #)]
In ice-9/psyntax.scm:
1091: 16 [expand-top-sequence ((use-modules (ice-9 slib))) () ...]
 976: 15 [scan ((use-modules (ice-9 slib))) () ...]
 270: 14 [scan ((# #) #(syntax-object *unspecified* # #)) () (()) ...]
In ice-9/boot-9.scm:
3513: 13 [process-use-modules (((ice-9 slib)))]
 627: 12 [map #<procedure 902b1e0 at ice-9/boot-9.scm:3513:25 (mif-args)> ((#))]
3514: 11 [#<procedure 902b1e0 at ice-9/boot-9.scm:3513:25 (mif-args)> ((ice-9 slib))]
2783: 10 [resolve-interface (ice-9 slib) #:select ...]
2708: 9 [#<procedure 9011340 at ice-9/boot-9.scm:2696:4 (name #:optional autoload version #:key ensure)> # ...]
2981: 8 [try-module-autoload (ice-9 slib) #f]
2320: 7 [save-module-excursion #<procedure 9103c30 at ice-9/boot-9.scm:2982:17 ()>]
3001: 6 [#<procedure 9103c30 at ice-9/boot-9.scm:2982:17 ()>]
In unknown file:
   ?: 5 [primitive-load-path "ice-9/slib" ...]
In ice-9/slib.scm:
  29: 4 [#<procedure 90f82e0 at ice-9/slib.scm:25:0 ()>]
In ice-9/boot-9.scm:
2320: 3 [save-module-excursion #<procedure 9100dc0 at ice-9/boot-9.scm:3961:3 ()>]
3966: 2 [#<procedure 9100dc0 at ice-9/boot-9.scm:3961:3 ()>]
In unknown file:
   ?: 1 [load-compiled/vm "/root/.cache/guile/ccache/2.0-LE-4-2.0/usr/share/slib/guile.init.go"]
In /usr/share/slib/guile-2.init:
 174: 0 [#<procedure 910c040 ()>]

/usr/share/slib/guile-2.init:174:20: In procedure #<procedure 910c040 ()>:
/usr/share/slib/guile-2.init:174:20: In procedure module-lookup: Unbound variable: current-module

That doesn't look good.

Steve


More information about the gnucash-user mailing list