bug-guile
[Top][All Lists]
Advanced

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

Re: GIT version: autocompiling startup file


From: Hans Aberg
Subject: Re: GIT version: autocompiling startup file
Date: Fri, 21 Jan 2011 09:09:17 +0100

On 21 Jan 2011, at 00:07, Mark Harig wrote:

When starting with 'guile -l', autocompiling fails, even with an
empty file.

$ guile -l empty.scm
;;; note: autocompilation is enabled, set GUILE_AUTO_COMPILE=0
;;; or pass the --no-autocompile argument to disable.
;;; compiling empty.scm
;;; WARNING: compilation of empty.scm failed:
;;; key wrong-type-arg, throw_args ("dirname" "Wrong type argument in
position ~A (expecting ~A): ~S" (1 "string" #f) (#f))
GNU Guile 1.9.14.68-a7d8a

This is not happening on my build of guile 1.9.14.

The problem is due to scm_from_latin1_symbol() in file load.c together with that I set the locale to LC_CTYPE=en_US.UTF-8. It works with either the default locale on Mac OS X 10.5.8, which is LC_CTYPE=UTF-8, or LC_CTYPE=en_US.ISO8859-1. However, some software does not work unless the locale is changed to what I set it to (the default locale causes problems).




reply via email to

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