Skip to content

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:

./autogen.sh

The above command with produce configure file, after the configuration can be proceeded with

./configure ........

Libtool¤

Website

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
./configure --prefix=/home1/p001cao/app/tooldev/libtool-2.4.7

make && make install

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.

cd /home1/p001cao/0SourceCode/tooldev
wget https://ftp.gnu.org/gnu/autoconf/autoconf-2.71.tar.gz
Alpha/beta releases of Autoconf
cd /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

./configure --prefix=/home1/p001cao/app/tooldev/autoconf-2.72c

make && make install

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.

Require autoconf>=2.65
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:

export ACLOCAL_PATH=/home1/p001cao/app/tooldev/libtool-2.4.7/share/aclocal

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

zlib¤

cd /home1/p001cao/0SourceCode/tooldev
wget -c --no-check-certificate https://zlib.net/zlib-1.2.12.tar.gz
tar zxvf zlib-1.2.12.tar.gz
cd zlib-1.2.12

./configure --enable-shared --prefix=/home1/p001cao/app/tooldev/zlib-1.2.12
make -j 16 && make install