You unpack the tarball somewhere. But you want it installed somewhere else.
So, you run ./configure. When that is done, inspect the contents of the top-level Makefile. If you specified the PREFIX in the ./configure step, you will see it in the Makefile as PREFIX=/path/to/installation/directory (something like /usr/, /usr/local, /opt, or something else). The prefix is the toplevel directory in which to install, with bits and pieces going to /etc (config files), or /usr/bin or /usr/local/bin, etc.
You can edit the top-level Makefile to change the PREFIX, LIBDIR, BINDIR, etc, or just reconfigure with the appropriate directories specified in the ./configure command.
For more info on what you can add to the ./configure command, cd to the directory in which you unpacked the tarball, and do ./configure -help. You will see a list of options that you can add to the command.
Last edited by bigrigdriver; 02-14-2008 at 04:59 PM.
|