[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Re: GNU Stow and make install (DESTDIR)
From: |
Patrick Strasser |
Subject: |
[Discuss-gnuradio] Re: GNU Stow and make install (DESTDIR) |
Date: |
Thu, 06 Jan 2011 21:44:02 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050602 Thunderbird/1.0.2 Mnenhy/0.7.2.0 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
schrieb Alexandru Csete on 2011-01-06 21:09:
> Hi Patrick,
>
> I manage multiple versions of GNU Radio manually by simply installing
> each under its own prefix and having a symbolic link "current" point
> to whichever version I want to use. It is really easy:
>
> 1. Update local repository using "git pull"
> 2. Get unique version for the snapshot "git describe --abbrev=8"
> This gives something like v3.3.1git-817-g66768f6e
That was the part I missed until now. Thanks!
> 3. Build and install GNU Radio using
> --prefix=/opt/gnuradio/v3.3.1git-817-g66768f6e
> 4. In /opt/gnuradio create a symlink pointing to the new version "ln
> -s v3.3.1git-817-g66768f6e current"
>
> I have my environment set up to include the stuff in /opt/gnuradio/current:
>
> export PATH=$PATH:/opt/gnuradio/current/bin
> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/gnuradio/current/lib
> export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/opt/gnuradio/current/lib/pkgconfig
> export
> PYTHONPATH=$PYTHONPATH:/opt/gnuradio/current/lib/python2.6/site-packages
I could not get all the paths right, and I like things in /opt less than
in /usr/local as you have to care yourself to get it known to the rest
of the system.
But in the end its a matter of taste.
Regards
Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk0mKYsACgkQ/G6gHctkMa8VOgCcC7KCkmqLWWsatJzeVH3x0ODc
mTEAoKLRcTEiTmBIpLNnLQdSe7C/B5JN
=WepS
-----END PGP SIGNATURE-----