From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: taylanbayirli@gmail.com (Taylan Ulrich =?utf-8?Q?Bay=C4=B1rl=C4=B1?= =?utf-8?Q?=2FKammer?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: getting started with guile dev Date: Wed, 22 Jun 2016 12:45:50 +0200 Message-ID: <87eg7pjych.fsf@T420.taylan> References: <20160622043828.GA23104@eros.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1466592382 15840 80.91.229.3 (22 Jun 2016 10:46:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Jun 2016 10:46:22 +0000 (UTC) Cc: guile-devel@gnu.org To: Tobin Harding Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Jun 22 12:46:21 2016 Return-path: Envelope-to: guile-devel@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 1bFffg-0004Dy-8m for guile-devel@m.gmane.org; Wed, 22 Jun 2016 12:46:12 +0200 Original-Received: from localhost ([::1]:57130 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFfff-0006vC-ED for guile-devel@m.gmane.org; Wed, 22 Jun 2016 06:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53642) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFffP-0006uq-5e for guile-devel@gnu.org; Wed, 22 Jun 2016 06:45:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bFffO-0003Xk-5D for guile-devel@gnu.org; Wed, 22 Jun 2016 06:45:55 -0400 Original-Received: from mail-lb0-x22e.google.com ([2a00:1450:4010:c04::22e]:35125) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bFffN-0003XZ-TE for guile-devel@gnu.org; Wed, 22 Jun 2016 06:45:54 -0400 Original-Received: by mail-lb0-x22e.google.com with SMTP id o4so20093221lbp.2 for ; Wed, 22 Jun 2016 03:45:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=4eQpktqCq6jDaRjwdWKPfwvwNpnWitYQew16SxQe6XE=; b=VQlwd0wm8TKbAjkV+EYLlaKHzvTn0Bj27g5ChGxDCwLs65tkqXoyPzqAx0xECX/GBC yiwYrpPZtCRM5dWHW6+sPaFdkRe1ztoeajvWmxorGZeWT4F2oKqBVaEwiAvw1kvflJvZ pbhbvw1+wixzXgDbyJ+cFzG8zHwkG7ff9HLkjVy0jJ9yMj/GtNIeYDBO1C8hUmoG4el9 0ziz9kd+1+9U1r0wcsct57M8WL+HM37qBB6p/d82D53mnjojFynt9m4usNDGgrJms+e8 mbHX2Td31CHDO6mkyzTNkGJkk8heoq78Ev2uKongOIO7WdkaAEXZfyPg4XIH2vQ3lyhX e93w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=4eQpktqCq6jDaRjwdWKPfwvwNpnWitYQew16SxQe6XE=; b=ekIFixnqKBrSBL40NvOB31Z8XA40RdVLoXX9WcWASQ+x05ozxH4q12+LaIE8fbXFgX KGX/M8/hjRK3aYbCksOrkW8pK3WNV2XJHmYPH56IuNDj/2H3FhlDR6gcIuCPe6AbG/CR tlqm+10/z0A55ZHAZFEtkBzXMt4oYARJXmQGLdN+xlNA4/LWXDsGdl9EcZnvxBiVWj2k MrZ4fkdizRvV/TRxxOWDaS/QReTvFkMF64t+3uRKdXEuG/mRlcpi6Sr5dmWnCEVxPTO1 F3NkjtsdTWrxtEnh/ahuxFtCSBNu4qFXaAmDHZdNsKfpV+0K8kYq6hl5vQH6UWVdeSr5 ZcXw== X-Gm-Message-State: ALyK8tJs/GQRrWdi2JzAglI7NLtfpu3sNsj5CQm9GvU7OngKzKVXlMh+qJ9Z0Bae0gnwpA== X-Received: by 10.194.162.168 with SMTP id yb8mr26018379wjb.32.1466592352324; Wed, 22 Jun 2016 03:45:52 -0700 (PDT) Original-Received: from T420.taylan ([2a02:908:c30:3540:221:ccff:fe66:68f0]) by smtp.gmail.com with ESMTPSA id f196sm7493504wmg.15.2016.06.22.03.45.51 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 22 Jun 2016 03:45:51 -0700 (PDT) In-Reply-To: <20160622043828.GA23104@eros.local> (Tobin Harding's message of "Wed, 22 Jun 2016 14:38:28 +1000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::22e X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Original-Sender: "guile-devel" Xref: news.gmane.org gmane.lisp.guile.devel:18389 Archived-At: Tobin Harding writes: > My question is this, please, how to replace the system version with > the fresh build. Hi Tobin. You can run 'sudo make install' in the source directory to install the package. If you haven't specified an explicit value for $prefix when running ./configure, it will be installed in /usr/local, so you will need to export e.g. PATH=/usr/local/bin:... and possibly some more environment variables to be able to use it. To uninstall again, you need to run 'sudo make uninstall' in the source directory. (If you delete the source directory, or clean it and thus lose the Makefile, you won't be able to run that command. Though rebuilding the same version of Guile with the same ./configure options should result in the same Makefile, so you can then run 'make uninstall' again.) Alternatively: this may seem overkill, but one way to get fresh versions of Guile 2.1 and many other tools is to use GNU Guix, which can be seamlessly installed as an extra package manager on top an existing distro (it will *not* interfere with the existing system): 1. Follow the instructions at: http://www.gnu.org/software/guix/manual/html_node/Binary-Installation.html 2. Install packages via the command "guix package -i foo bar baz ..." 3. At the end of the "guix package -i ..." command, you will be told what environment variables you need to export for to be able to use those packages seamlessly. Alternatively to #3: you can run "guix environment --ad-hoc foo bar baz" to launch a shell with environment variables already set up so that the packages foo, bar, and baz are available. (They will be downloaded or locally built transparently.) BTW the Guile 2.1 package is called "guile-next" in Guix. Hope that helps, Taylan