Libtool¶
Libtool needed in the case compiling from source code. Some source codes do not release with configure
file, then libtool
is used to accompanied with autoconf
and automake
to run:
The above command with produce configure
file, after the configuration can be proceeded with
Libtool¶
cd /home1/p001cao/0SourceCode/tooldev
wget http://ftp.jaist.ac.jp/pub/GNU/libtool/libtool-2.4.7.tar.gz
tar xvfz libtool-2.4.7.tar.gz
cd libtool-2.4.7
Module file
# for Tcl script use only
set topdir /home1/p001cao/app/tooldev/libtool-2.4.7
prepend-path PATH $topdir/bin
prepend-path LD_LIBRARY_PATH $topdir/lib
prepend-path INCLUDE $topdir/include
prepend-path PKG_CONFIG_PATH $topdir/lib/pkgconfig
Autoconf¶
Autoconf is an extensible package of M4 macros that produce shell scripts to automatically configure software source code packages.
Alpha/beta releases of Autoconfcd /home1/p001cao/local/wSourceCode/tooldev
wget https://alpha.gnu.org/pub/gnu/autoconf/autoconf-2.72c.tar.gz --no-check-certificate
tar zxf autoconf-2.72c.tar.gz
cd autoconf-2.72c
Module file
# for Tcl script use only
set topdir /home1/p001cao/app/tooldev/autoconf-2.72
prepend-path PATH $topdir/bin
prepend-path LD_LIBRARY_PATH $topdir/share
Automake¶
GNU Automake is a tool for automatically generating Makefile.in files compliant with the GNU Coding Standards. Automake requires the use of GNU Autoconf.
cd /home1/p001cao/0SourceCode/tooldev
wget http://ftp.gnu.org/gnu/automake/automake-1.16.5.tar.gz
tar xvzf automake-1.16.5.tar.gz
cd automake-1.16.5
module load tooldev/autoconf-2.72c
./configure --prefix=/home1/p001cao/app/tooldev/automake-1.16.5
make && make install
usage:
Module file
# for Tcl script use only
set topdir /home1/p001cao/app/tooldev/automake-1.16.5
prepend-path PATH $topdir/bin
GSL¶
GSL is needed to link LAPACK & BLAS libraries when installing Plumed in Lammps (but no need now)
cd /home1/p001cao/0SourceCode/tooldev
wget ftp://ftp.gnu.org/gnu/gsl/gsl-2.7.tar.gz
tar xvzf gsl-2.7.tar.gz
cd gsl-2.7
./configure --prefix=/home1/p001cao/app/tooldev/gsl-2.7
make && make install
Module files
set topdir /home1/p001cao/app/tooldev/gsl-2.7
prepend-path PATH $topdir/bin
prepend-path LD_LIBRARY_PATH $topdir/lib
prepend-path INCLUDE $topdir/include
prepend-path PKG_CONFIG_PATH $topdir/lib/pkgconfig
See also
Install GSL on Linux (Ubuntu, Centros, Redhat, Mac OS) + Simple Installation of gcc Compilers