From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.lisp.guile.user Subject: Re: Multiple version Date: Mon, 02 Apr 2012 20:32:39 -0400 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1333471548 26442 80.91.229.3 (3 Apr 2012 16:45:48 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 3 Apr 2012 16:45:48 +0000 (UTC) Cc: guile-user@gnu.org To: Tom Willemsen Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Tue Apr 03 18:45:45 2012 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 1SF6rX-0006mZ-FX for guile-user@m.gmane.org; Tue, 03 Apr 2012 18:45:43 +0200 Original-Received: from localhost ([::1]:53038 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SF6mK-0000ts-6P for guile-user@m.gmane.org; Tue, 03 Apr 2012 12:40:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:57524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SErfv-00031j-9v for guile-user@gnu.org; Mon, 02 Apr 2012 20:32:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SErft-0007W6-H9 for guile-user@gnu.org; Mon, 02 Apr 2012 20:32:42 -0400 Original-Received: from fnord.ir.bbn.com ([192.1.100.210]:52072) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SErft-0007W2-Dc for guile-user@gnu.org; Mon, 02 Apr 2012 20:32:41 -0400 Original-Received: by fnord.ir.bbn.com (Postfix, from userid 10853) id 4E50A53FE; Mon, 2 Apr 2012 20:32:39 -0400 (EDT) OpenPGP: id=32611E25 X-Hashcash: 1:20:120403:tom@ryuslash.org::UMuKaJwX+OFbjIla:04opH X-Hashcash: 1:20:120403:guile-user@gnu.org::nDmP+I9BlwADzbcU:00000000000000000000000000000000000000000007HF1 In-Reply-To: (Tom Willemsen's message of "Tue, 03 Apr 2012 02:16:20 +0200") User-Agent: Gnus/5.130004 (Ma Gnus v0.4) Emacs/23.4 (berkeley-unix) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 192.1.100.210 X-Mailman-Approved-At: Tue, 03 Apr 2012 12:40:11 -0400 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:9365 Archived-At: --=-=-= Content-Type: text/plain I was wondering if it's possible to have guile 1.8 and guile 2.0 installed on the same system? I remember reading in the documentation that it is, but I haven't been able to pull it off yet, except by using different --prefix values for each. pkgsrc (a packaging system originally for NetBSD, but also supports other BSDs, Linux, *Solaris, and others) doesn't have guile 2 yet (my fault :-) but has 1.6 and 1.8. 1.8 is installed normally (--prefix=/usr/pkg, named guile) and guile1.6 is installed --prefix=/usr/pkg/guile/1.6. So that's a data point about others' approach to your problem. I don't know enough about the autotools to know what to do with guile.m4. Does automake/autoconf expect the file name to match something, or does it only look at the definitions inside, in which case it could simply be moved. You only need that to run autoconf on programs that depend on guile, and either should be ok. So you could patch it out of the 2.0 build. But having a separate prefix seems easiest. What's wrong (or actually problematic) about using /usr/guile2 as the prefix for guile 2.0, and putting it in your path and/or passing that for building other things? --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (NetBSD) iEYEARECAAYFAk96RScACgkQ+vesoDJhHiXoWwCeOuD0wNpkwCAfLyNNaAX2M3Ye FnIAoLJ1oqHWj5r9hapkQAY1QFbvzNwe =o+1B -----END PGP SIGNATURE----- --=-=-=--