#2904: Clarifying local installation in the INSTALL file.

svn: r12484
This commit is contained in:
Doug Blank 2009-04-22 02:40:18 +00:00
parent aa7ff9cf68
commit 30159ea826

16
INSTALL
View File

@ -4,7 +4,7 @@ This file contains some useful details on the installation from source code
for GRAMPS. It does not cover installation of a pre-built binary package. for GRAMPS. It does not cover installation of a pre-built binary package.
For that use your package manager, the rest is already done by the packager. For that use your package manager, the rest is already done by the packager.
uninstall old version Uninstall old version
--------------------- ---------------------
If you do a source install in the same place of an existing install, If you do a source install in the same place of an existing install,
you need to remove the old version first. You can delete the old you need to remove the old version first. You can delete the old
@ -20,7 +20,7 @@ files, meaning that files of a previous version that are no longer
present in the new version can still be loaded, making the new install present in the new version can still be loaded, making the new install
unstable. unstable.
configure vs autogen scripts Configure vs autogen scripts
---------------------------- ----------------------------
If you are building from released tarball, you should be able to just If you are building from released tarball, you should be able to just
run "./configure && make". However, if you're building from the SVN, run "./configure && make". However, if you're building from the SVN,
@ -36,6 +36,16 @@ packages to be installed:
differently on other distros) and maybe something else. If autogen.sh differently on other distros) and maybe something else. If autogen.sh
fails, it should inform you what's missing. fails, it should inform you what's missing.
Custom directory installation
-------------------------------------
If you would like to install GRAMPS without being root, or in an
alternative location on windows, supply the --prefix argument to autogen
or configure.
For example:
./autogen.sh --prefix=$HOME/my_gramps_path
or
./autogen.sh --prefix=/cygdrive/c/Projects/gramps
Regular vs local installation Regular vs local installation
----------------------------- -----------------------------
@ -57,7 +67,6 @@ permissions for you:
Whether you're doing local install or regular install, YOU MUST INSTALL Whether you're doing local install or regular install, YOU MUST INSTALL
MIME TYPES. YOU HAVE BEEN WARNED! MIME TYPES. YOU HAVE BEEN WARNED!
Installing under non-default prefix Installing under non-default prefix
----------------------------------- -----------------------------------
As hinted above, mime types for gramps MUST be properly installed. As hinted above, mime types for gramps MUST be properly installed.
@ -80,7 +89,6 @@ likely do everything correctly, so no extra care needs to be
taken. You should take extra care only if you are installing under taken. You should take extra care only if you are installing under
something like --prefix=/usr/local/my_gramps, /var/gramps123/blah, etc. something like --prefix=/usr/local/my_gramps, /var/gramps123/blah, etc.
Packager's issues Packager's issues
------------------ ------------------
The above mime types must be installed. However, the The above mime types must be installed. However, the