[scl.org] Why you will hear CentOS here more

Tru Huynh tru at pasteur.fr
Thu Nov 6 14:16:17 UTC 2014


On Wed, Nov 05, 2014 at 10:16:26AM -0600, Jim Perrin wrote:
> 
> 
> On 10/31/2014 03:03 PM, Will Yardley wrote:
> > On Fri, Oct 31, 2014 at 05:29:57PM +0100, Honza Horak wrote:
> >> Stay tuned for details, express your feelings about this change or 
> >> suggest us some other things missing on softwarecollections.org.
> > 
> > I think there should be an easier way to include stuff from SCL in
> > $PATH. Right now, it's pretty easy to source /opt/rh/foo/enable in
> > /etc/profile.d for bourne-compatible shell users, but it should at least
> > include a csh compatible equivalent, and ideally, a simple way to set
> > the default version of something.
> 
> Adding a csh equivalent is a valid feature request and probably
> something that can be addressed.
> 
> > Alternately, I think it would be preferable to do something like
> > what 'modules' (http://modules.sourceforge.net/) does, where you can do
> > 'module load foo/1.3'.
> > 
> > The current strategy of running 'scl enable foo ...' or 'scl enable foo
> > bash' is a huge pain, and also becomes a much bigger hassle when using
> > multiple collections.
> 
> Once we've got the sources in place for community contribution, patches
> to add or address this would be welcomed.
> 

fwiw, I am just using scl by making my own modules files around the scl
tools...
scl/devtoolset-2:
#%Module1.0#
module-whatis   "/opt/rh/devtoolset-2 environment setup"

prepend-path    PATH    /opt/rh/devtoolset-2/root/bin
prepend-path    PATH    /opt/rh/devtoolset-2/root/sbin
prepend-path    PATH    /opt/rh/devtoolset-2/root/usr/bin
prepend-path    PATH    /opt/rh/devtoolset-2/root/usr/sbin

prepend-path    MANPATH /opt/rh/devtoolset-2/root/usr/share/man

prepend-path -d " " CFLAGS "-I/opt/rh/devtoolset-2/root/usr/include"
prepend-path -d " " CPPFLAGS "-I/opt/rh/devtoolset-2/root/usr/include"
prepend-path -d " " CXXFLAGS "-I/opt/rh/devtoolset-2/root/usr/include"

prepend-path -d " " LDFLAGS "-L/opt/rh/devtoolset-2/root/usr/lib"
prepend-path    LD_RUN_PATH /opt/rh/devtoolset-2/root/usr/lib
prepend-path    LD_LIBRARY_PATH /opt/rh/devtoolset-2/root/usr/lib

prepend-path -d " " LDFLAGS "-L/opt/rh/devtoolset-2/root/usr/lib64"
prepend-path    LD_RUN_PATH /opt/rh/devtoolset-2/root/usr/lib64
prepend-path    LD_LIBRARY_PATH /opt/rh/devtoolset-2/root/usr/lib64

prepend-path PERL5LIB /opt/rh/devtoolset-2/root//usr/lib64/perl5/vendor_perl
prepend-path PERL5LIB /opt/rh/devtoolset-2/root//usr/lib/perl5/vendor_perl
prepend-path PERL5LIB /opt/rh/devtoolset-2/root//usr/share/perl5/vendor_perl

prepend-path PYTHONPATH /opt/rh/devtoolset-2/root/usr/lib/python2.6/site-packages
prepend-path PYTHONPATH /opt/rh/devtoolset-2/root/usr/lib64/python2.6/site-packages

prepend-path INFOPATH /opt/rh/devtoolset-2/root/usr/share/info

Tru
-- 
Dr Tru Huynh          | http://www.pasteur.fr/research/bis           
mailto:tru at pasteur.fr | tel/fax +33 1 45 68 87 37/19
Institut Pasteur, 25-28 rue du Docteur Roux, 75724 Paris CEDEX 15 France  




More information about the SCLorg mailing list