This is an old revision of the document!
Aim: to build and install in your home directory a library and and application.
Download and install putty-ssh and connect to ranger.ace.chpc.ac.za using the username (schoolNN) and password provided.
Create a src directory to store the source.
mkdir src
Copy the zlip source code tar file from my home directory.
cp /home/kcolville/??? .
Fill in the ??? with the correct path and file name.
Move the tar file into the new directory:
mv zlib-1.2.8.tar.gz src/
Untar the file
cd src tar zxvf zlib-1.2.8.tar.gz
Load the correct environment variables using the tool “module”:
module load gcc/gcc-4.9.2/4.9.2
Prepare your own local directory structure:
cd ~ mkdir local cd local mkdir bin lib share include
Configure the compile environment:
cd zlib-1.2.8 ./configure --prefix=~/local
Compile zlib using the tool “make” (instructing it to install to your local directory):
make install