From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: guile+iconv fails on windows Date: Sat, 9 Nov 2013 23:35:33 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e0111ae34f2b24d04eac61da8 X-Trace: ger.gmane.org 1384036543 17701 80.91.229.3 (9 Nov 2013 22:35:43 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Nov 2013 22:35:43 +0000 (UTC) To: "guile-user@gnu.org" Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Nov 09 23:35:46 2013 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VfH86-0007D4-2f for guile-user@m.gmane.org; Sat, 09 Nov 2013 23:35:46 +0100 Original-Received: from localhost ([::1]:58505 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfH85-0003lU-Fm for guile-user@m.gmane.org; Sat, 09 Nov 2013 17:35:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53973) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfH7v-0003lM-RA for guile-user@gnu.org; Sat, 09 Nov 2013 17:35:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VfH7u-0005cK-Ik for guile-user@gnu.org; Sat, 09 Nov 2013 17:35:35 -0500 Original-Received: from mail-ve0-x230.google.com ([2607:f8b0:400c:c01::230]:52388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VfH7u-0005cG-Cu for guile-user@gnu.org; Sat, 09 Nov 2013 17:35:34 -0500 Original-Received: by mail-ve0-f176.google.com with SMTP id c14so2304423vea.7 for ; Sat, 09 Nov 2013 14:35:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=pdE9Gm5oq1k25Kp4/A+0Ffsfq7s3UP7xFFgcXYOwAFk=; b=pUoSc8QZtNcMufsGP4JLf2e2/Ki3CFL5fpy9dBup0hut0DmHpEi5yq3J9ctDm14vmg 8zz39PYEAZDexAtP2SaUGx6QI59fnaQnCQ/ZceTwtOkqqS6Ytq32QPzysQQOoCYr/n7p uH2wk7u7UZIThh4RY1c/7J9IOinlPVGmnfyvxRGATexcyrmpvFJbiDzeTN+RCtFCPLDU HhugsvjjkhcxnmpPkwjvgcMgDXbIyxpd5wsIpJNhXWos/1IzwfJD6i2gUvWVQ4Fqo55s LYEFO3BepSHfZdpD4nM02tjjTaE6CKpQukjmuIanM/2oQVY2k+yy5xP2X3e+i5NrS7me OmZA== X-Received: by 10.52.230.102 with SMTP id sx6mr14942778vdc.15.1384036533709; Sat, 09 Nov 2013 14:35:33 -0800 (PST) Original-Received: by 10.220.113.142 with HTTP; Sat, 9 Nov 2013 14:35:33 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c01::230 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:10877 Archived-At: --089e0111ae34f2b24d04eac61da8 Content-Type: text/plain; charset=ISO-8859-1 Hi, perhaps you'd be able to provide me with a quick hint. I've finally managed to compile my framework SLAYER to run on Windows. I used the latest snapshot, guile-2.0.9.98-36c40-dirty, and compiled it without threads (I had to pass "ac_cv_func__set_invalid_parameter_handler=no" to configure, because otherwise I had an error with msvcrt.dll) I'm using unistring and iconv shipped with MinGW/MSYS. The problem occurs when guile tries to compile a module. I get the following error: ;;; compiling .\extra\common.scm ;;; compiling c:/guile2/share/guile/2.0\system\vm\frame.scm Backtrace: In unknown file: ?: 1 ;;; compiling system\vm\frame.scm Exception thrown while printing backtrace: ERROR: In procedure open_iconv_descriptors: invalid or unknown character encoding "utf8" Do you know what could be the reason and solution? Should I rebuild libiconv and then relink guile against it? Would that work? Or is there any quick workaround? Best regards, M. --089e0111ae34f2b24d04eac61da8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi,
perhaps you'd be able to provide me with a qui= ck hint.
I've finally managed to compile my framework SLAYER<= /div>
to run on Windows. I used the latest snapshot,
guile-2.= 0.9.98-36c40-dirty, and compiled it without threads
(I had to pass "ac_cv_func__set_invalid_parameter_handler=3Dno&qu= ot;
to configure, because otherwise I had an error with msvcrt.dl= l)

I'm using unistring and iconv shipped with = MinGW/MSYS.

The problem occurs when guile tries to compile a module= .
I get the following error:

;;; co= mpiling .\extra\common.scm
;;; compiling c:/guile2/share/guile/2.= 0\system\vm\frame.scm
Backtrace:
In unknown file:
=A0 =A0?: 1 ;;; compil= ing system\vm\frame.scm
Exception thrown while printing backtrace= :
ERROR: In procedure open_iconv_descriptors: invalid or unknown = character encoding "utf8"

Do you know what could be the reason and solution= ?
Should I rebuild libiconv and then relink guile against it?
Would that work? Or is there any quick workaround?

Best regards,
M.

--089e0111ae34f2b24d04eac61da8--