--prefix=
and
--exec-prefix=
options of configure. The prefix option controls where
the executables, libraries, and man pages will be installed.
An example of the command sequence follows. It assumes you have sudo or root
privileges, and are installing software system wide. Assume you have installed
the tar archive in /usr/local/src
. Enter the top directory,
bsu-3.0.1, and then type the following commands in a terminal.
configure <desired options appropriate for your OS> make sudo make install
The next example illustrates how BSU could be built in the home directory tree
for use by a single user. The example assumes you have created a local
directory under you home, and unpacked the tarball under this local directory.
After changing into the bsu-3.0.1
directory, you would issue the
following command
sequence.
export PREFX=${HOME}/bin ./configure --prefix=$PREFX --enable-shared=no \ --libdir=$PREFX/lib/bsu \ --includedir=$PREFX/include/bsu \ --datadir=$PREFX/share/bsu \ --docdir=$PREFX/share/doc/bsu make make install
Watch for warnings during the configure step. Common problems are often resolved by installing a missing development library.
pm 2018-04-08