Change install directory (1.2.1)
John P. Clizbe
JPClizbe@attbi.com
Tue Apr 22 01:45:03 2003
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Michel Mansour wrote:
> I'm trying to compile and install gnupg-1.2.1 for Solaris 8. I want to
> change the install directory to something different than
/usr/local/bin so
> that I don't need root access. I don't want to use the --prefix option
> because I want to keep the default directory structure; I just want to
> change where "make install" puts the binaries. Is there a way to do this?
> I've looked through the INSTALL and README files with no luck.
I'm puzzled about not using --prefix to 'keep the default directory
structure' since the default for --prefix is /usr/local. Those other
"default" directories would also require root access for installation.
Anyway FWIW,`./configure --help` gives the following info:
Installation directories:
--prefix=PREFIX install architecture-independent files
in PREFIX [/usr/local]
--exec-prefix=EPREFIX install architecture-dependent
files in EPREFIX [PREFIX]
By default, `make install' will install all the files in
`/usr/local/bin', `/usr/local/lib' etc. You can specify
an installation prefix other than `/usr/local' using `--prefix',
for instance `--prefix=$HOME'.
For better control, use the options below.
Fine tuning of the installation directories:
--bindir=DIR user executables [EPREFIX/bin]
--sbindir=DIR system admin executables [EPREFIX/sbin]
--libexecdir=DIR program executables [EPREFIX/libexec]
--datadir=DIR read-only architecture-independent data
[PREFIX/share]
--sysconfdir=DIR read-only single-machine data [PREFIX/etc]
--sharedstatedir=DIR modifiable architecture-independent data
[PREFIX/com]
--localstatedir=DIR modifiable single-machine data [PREFIX/var]
--libdir=DIR object code libraries [EPREFIX/lib]
--includedir=DIR C header files [PREFIX/include]
--oldincludedir=DIR C header files for non-gcc [/usr/include]
--infodir=DIR info documentation [PREFIX/info]
--mandir=DIR man documentation [PREFIX/man]
So, to only change the binary directory, specify --bindir=<path> to the
configure script, ie" `./configure --bindir=$HOME/bin`.
Then the usual make commands.....
- --
John P. Clizbe Inet: JPClizbe@EarthLink.net
Golden Bear Networks PGP/GPG KeyID: 0x608D2A10
"Most men take the straight and narrow. A few take the road less
traveled. I chose to cut through the woods."
"There is safety in Numbers... *VERY LARGE PRIME* Numbers
9:00PM Tonight on _REAL_IRONY_: Vegetarian Man Eaten by Cannibals
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1-nr1 (Windows 2000)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQE+pIK0HQSsSmCNKhARArl9AKCgvSONW7ZbTy2TcMKNmMU0EWOYngCg+v45
2heK5+sCoIxj/oZFsWcPVNc=
=caI9
-----END PGP SIGNATURE-----