compiling and installing | (lib) rmd160 |
requirements
This library has been designed to be portable and independent of any operating system. However, the installation procedures are UNIX oriented, and have only been tested on Linux. More portable configuration and installation tools will be used in the future. The tested environments are:
- Intel Pentium, Slackware 3.4, Linux 2.0.35, gcc 2.7.2.3, libc 5.4.33
- Intel Pentium, Red Hat 5.1, Linux 2.0.35, gcc 2.7.2.3, glibc 2.0.7
- Intel Pentium, Red Hat 5.2, Linux 2.0.36, gcc 2.7.2.3, glibc 2.0.7
- Sun Sparc 5, Red Hat 5.2, Linux 2.0.36, egcs 2.90.29, glibc 2.0.7
download
If you do not already have it, download the RMD160 version 1.2.0 library tarball from here:If you download a newer version, read the new documentation instead of this one.
http://phil.ipal.org/freeware/rmd160/rmd160-1.2.0.tar.gz
extract
If you have not already done so, extract the RMD160 files from the tarball with this command:
tar -zxvf rmd160-1.2.0.tar.gz
configure
There is no configure script. The provided Makefile will install everything into subdirectories linked through:If you wish to have the files installed elsewhere, you can do one of:
- Install_bin -> /usr/local/bin is where sample programs are placed.
- Install_inc -> /usr/local/include is where headers files are placed.
- Install_lib -> /usr/local/lib is where the library and its symlinks are placed.
- Change the symlinks to point somewhere else.
- Edit Makefile to change the install target names.
- Remove the symlinks and copy the files from the subdirectories that will be created.
compile
To compile the library, just do:
make
install
If everything has worked up to this point, then you can install the programs, header, and library with the following command:
make install
read
Now that you have RMD160 installed, you will want to read up on how to use it.