bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

guile 1.9.7 vs. 1.8.7


From: Petr Gajdos
Subject: guile 1.9.7 vs. 1.8.7
Date: Thu, 28 Jan 2010 13:25:50 +0100
User-agent: Mutt/1.5.20 (2009-06-14)

Hi list,

I would like to ask several questions in the terms of new branch.
Maybe I see some bugs or maybe I misunderstand, then apologize.

1. SLIB installation
~~~~~~~~~~~~~~~~~~~~

Information on 

http://www.gnu.org/software/guile/manual/html_node/SLIB-installation.html

doesn't lead to proper slib installation for me. I am using slib3b2
which seems to be installing well this way with 1.8.7. I don't know if
this is bug in guile or slib or it is my fault.

The result is:

laura:/usr/share/guile/site> GUILE_AUTO_COMPILE=0 guile
Guile Scheme interpreter 0.5 on Guile 1.9.7
Copyright (C) 2001-2008 Free Software Foundation, Inc.

Enter `,help' for help.
scheme@(guile-user)> (use-modules (ice-9 slib))
Throw to key `syntax-error':
ERROR: In procedure sc-expand:
ERROR: unexpected syntax in define
Entering the debugger. Type `bt' for a backtrace or `c' to continue.
0 debug> bt
0 debug> 0 debug>        30 (dynamic-wind #<boot-closu...> ...)
       29 (boot-closure)
In /usr/share/guile/1.9/system/repl/repl.scm:
  111: 28 (start-repl scheme)
       27 (catch #t #<procedure 5162980 at /usr/share/guile/1.9...>
...)
       26 (%start-stack #t #<procedure 53d66f0 ()>)
       25 (catch quit #<procedure 53d66c0 at /usr/share/guile/1...>
...)
  117: 24 (#<procedure 53d66c0 at
/usr/share/guile/1.9/system/repl/...>)
       23 (%start-stack #t #<procedure 53d6540 ()>)
In /usr/share/guile/1.9/system/repl/common.scm:
   83: 22 (repl-eval #<<repl> vm: #<vm 6894d0> language: #<<lan...> #)
       21 (boot-closure (use-modules (ice-9 slib)) #:from #<<la...>
...)
       20 (boot-closure)
       19 (boot-closure)
       18 (dynamic-wind #<boot-closure 7bafaa0 ()> #<boot-closu...> #)
       17 (boot-closure)
       16 (with-fluid* #<fluid 10> c #<boot-closure 7baf780 ()>)
       15 (boot-closure)
       14 (boot-closure ((ice-9 slib)))
       13 (dynamic-wind #<boot-closure 7bde0e0 ()> #<boot-closu...> #)
       12 (boot-closure)
       11 (with-fluid* #<fluid 9> #f #<boot-closure 7be7b80 ()>)
       10 (boot-closure)
        9 (dynamic-wind #<boot-closure 7be7720 ()> #<boot-closu...> #)
        8 (boot-closure)
        7 (primitive-load-path "ice-9/slib" #f)
        6 (%start-stack load-stack #<boot-closure 764a820 ()>)
        5 (boot-closure)
        4 (primitive-load-path "slib/guile.init")
        3 (boot-closure (define base:define define))
        2 (with-fluid* #<fluid 10> e #<boot-closure 775ece0 ()>)
        1 (boot-closure)
        0 (scm-error syntax-error sc-expand "~a in ~a" ("u..." #) #f)


2. guile start is slow on my system
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

While guile 1.8.7 is starting less than one second, it takes
approximatelly 12 seconds to start guile 1.9.7 on the same system,
even if I run

GUILE_AUTO_COMPILE=0 guile


3. autocompilation
~~~~~~~~~~~~~~~~~~

When I install and run guile first time, I get the following:

laura:/> guile
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-autocompile argument to disable.
;;; compiling /usr/share/guile/1.9/ice-9/r5rs.scm
;;; compiling /usr/share/guile/1.9/system/base/compile.scm
;;; it seems /usr/share/guile/1.9/system/base/compile.scm
;;; is part of the compiler; skipping autocompilation
    ...
;;; compiling /usr/share/guile/1.9/ice-9/receive.scm
;;; it seems /usr/share/guile/1.9/ice-9/receive.scm
;;; is part of the compiler; skipping autocompilation
;;; compiling /usr/share/guile/1.9/language/objcode/spec.scm
;;; WARNING: compilation of
/usr/share/guile/1.9/language/objcode/spec.scm failed:
;;; key misc-error, throw args (#f "~A ~S" ("no such language"
objcode) #f)
;;; compiling /usr/share/guile/1.9/language/scheme/spec.scm
;;; WARNING: compilation of
/usr/share/guile/1.9/language/scheme/spec.scm failed:
;;; key misc-error, throw args (#f "~A ~S" ("no such language" scheme)
    ...
;;; compiling /usr/share/guile/1.9/language/bytecode/spec.scm
;;; WARNING: compilation of
/usr/share/guile/1.9/language/bytecode/spec.scm failed:
;;; key misc-error, throw args (#f "~A ~S" ("no such language"
bytecode) #f)
;;; compiled
/root/.cache/guile/ccache/1.9-0.O-LE-8/usr/share/guile/1.9/ice-9/r5rs.scm.go
;;; compiling /usr/share/guile/1.9/ice-9/safe-r5rs.scm
;;; compiled
...
/root/.cache/guile/ccache/1.9-0.O-LE-8/usr/share/guile/1.9/system/repl/command.scm.go
;;; compiled
/root/.cache/guile/ccache/1.9-0.O-LE-8/usr/share/guile/1.9/system/repl/repl.scm.go
Guile Scheme interpreter 0.5 on Guile 1.9.7
Copyright (C) 2001-2008 Free Software Foundation, Inc.

Enter `,help' for help.
scheme@(guile-user)> 

Which seems almost ok, but I am unable to run guile again:

laura:/> guile
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-autocompile argument to disable.
;;; compiling /usr/share/guile/1.9/system/vm/program.scm
;;; compiling /usr/share/guile/1.9/system/base/compile.scm
;;; it seems /usr/share/guile/1.9/system/base/compile.scm
;;; is part of the compiler; skipping autocompilation
    ...
;;; compiling /usr/share/guile/1.9/system/vm/frame.scm
;;; it seems /usr/share/guile/1.9/system/vm/frame.scm
;;; is part of the compiler; skipping autocompilation
;;; WARNING: compilation of /usr/share/guile/1.9/system/vm/program.scm
failed:
;;; key misc-error, throw args (#f "~A ~S" ("no code for module"
(system vm program)) #f)
;;; compiling /usr/share/guile/1.9/ice-9/regex.scm
;;; it seems /usr/share/guile/1.9/ice-9/regex.scm
;;; is part of the compiler; skipping autocompilation
;;; compiling /usr/share/guile/1.9/system/vm/objcode.scm
;;; it seems /usr/share/guile/1.9/system/vm/objcode.scm
;;; is part of the compiler; skipping autocompilation
Backtrace:

Exception during displaying of backtrace: unbound-variable

ERROR: In procedure module-lookup:
ERROR: Unbound variable: compile-file
laura:/> 


4. Big THANKS
~~~~~~~~~~~~~

Thanks for working for guile! I am not scheme/guile expert, but I am
open for colaboration in this or other context.


Petr

Attachment: pgp6blgHDX7Eu.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]