From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hans Aberg Newsgroups: gmane.lisp.guile.bugs Subject: Re: GIT version: autocompiling startup file Date: Fri, 21 Jan 2011 09:09:17 +0100 Message-ID: References: <8CD870DF94E6CA5-E68-1D13C@Webmail-d124.sysops.aol.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1295597420 19746 80.91.229.12 (21 Jan 2011 08:10:20 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 21 Jan 2011 08:10:20 +0000 (UTC) Cc: bug-guile@gnu.org To: Mark Harig Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jan 21 09:10:15 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PgC4S-0003Qc-AJ for guile-bugs@m.gmane.org; Fri, 21 Jan 2011 09:10:12 +0100 Original-Received: from localhost ([127.0.0.1]:53978 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgC4R-0004tF-M4 for guile-bugs@m.gmane.org; Fri, 21 Jan 2011 03:10:11 -0500 Original-Received: from [140.186.70.92] (port=51929 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PgC3d-0004t1-Py for bug-guile@gnu.org; Fri, 21 Jan 2011 03:09:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PgC3c-0001qp-JC for bug-guile@gnu.org; Fri, 21 Jan 2011 03:09:21 -0500 Original-Received: from smtp-out12.han.skanova.net ([195.67.226.212]:46852) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PgC3c-0001qh-7E for bug-guile@gnu.org; Fri, 21 Jan 2011 03:09:20 -0500 Original-Received: from h131n2-fre-d2.ias.bredband.telia.com (78.72.157.131) by smtp-out12.han.skanova.net (8.5.133) (authenticated as u26619196) id 4D065C29009ACBE6; Fri, 21 Jan 2011 09:09:18 +0100 In-Reply-To: <8CD870DF94E6CA5-E68-1D13C@Webmail-d124.sysops.aol.com> X-Mailer: Apple Mail (2.936) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4997 Archived-At: 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).