From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Smith Newsgroups: gmane.lisp.guile.user Subject: Errors using Guile 2.0 vs. Guile 1.8 Date: Sun, 29 Jan 2012 10:54:18 -0500 Organization: GNU's Not Unix! Message-ID: <1327852458.3401.10.camel@homebase> Reply-To: psmith@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327852471 18584 80.91.229.3 (29 Jan 2012 15:54:31 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 29 Jan 2012 15:54:31 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Jan 29 16:54:30 2012 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RrX5I-0005LU-06 for guile-user@m.gmane.org; Sun, 29 Jan 2012 16:54:28 +0100 Original-Received: from localhost ([::1]:40370 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrX5H-0005Hg-K6 for guile-user@m.gmane.org; Sun, 29 Jan 2012 10:54:27 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:59401) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RrX5D-0005Hb-Ha for guile-user@gnu.org; Sun, 29 Jan 2012 10:54:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RrX5C-0000OB-Ci for guile-user@gnu.org; Sun, 29 Jan 2012 10:54:23 -0500 Original-Received: from oproxy4-pub.bluehost.com ([69.89.21.11]:56640) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1RrX5C-0000O7-5C for guile-user@gnu.org; Sun, 29 Jan 2012 10:54:22 -0500 Original-Received: (qmail 24482 invoked by uid 0); 29 Jan 2012 15:54:20 -0000 Original-Received: from unknown (HELO box531.bluehost.com) (74.220.219.131) by cpoproxy1.bluehost.com with SMTP; 29 Jan 2012 15:54:20 -0000 Original-Received: from 146-115-71-23.c3-0.lex-ubr1.sbo-lex.ma.cable.rcn.com ([146.115.71.23] helo=[172.31.1.105]) by box531.bluehost.com with esmtpsa (SSLv3:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1RrX5A-0005Co-F1 for guile-user@gnu.org; Sun, 29 Jan 2012 08:54:20 -0700 X-Mailer: Evolution 2.32.2 X-Identified-User: {678:box531.bluehost.com:madscie1:mad-scientist.us} {sentby:smtp auth 146.115.71.23 authed with paul+mad-scientist.us} X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 69.89.21.11 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:9208 Archived-At: Hi all. To test my GNU make Guile integration I was using guile 1.8 which is what my distribution provided. To test the newer Guile 2.x I downloaded the Guile 2.0.3 release and built it and installed in an alternate location (/opt/guile). I compiled GNU make using that version, and all the tests ultimately work BUT whenever I use (define ...) from within GNU make I get these errors: $ cat g1.mk define show (define (show s) (display s) (newline)) endef $(info define display) $(guile $(show)) $(info after define) $(guile (show "HI")) all:; $ make -f g1.mk define display Backtrace: In ice-9/boot-9.scm: 162: 5 [catch #t # ...] 170: 4 [#] In unknown file: ?: 3 [catch-closure] In ice-9/eval.scm: 389: 2 [eval # #] 374: 1 [eval # #] In unknown file: ?: 0 [scm-error misc-error #f ...] ERROR: In procedure scm-error: ERROR: Unknown object: #> after define HI make: `all' is up to date. I don't know what this means, or how to proceed with debugging. The same code works fine with Guile 1.8. Did I make a mistake with my build or install of Guile 2.0.3? Thoughts? -- ------------------------------------------------------------------------------- Paul D. Smith Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist