guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getting started with guile dev


From: Taylan Ulrich Bayırlı/Kammer
Subject: Re: getting started with guile dev
Date: Wed, 22 Jun 2016 12:45:50 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Tobin Harding <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]