Opened 7 years ago
Closed 7 years ago
#3811 closed task (wontfix)
./configure --help lists incorrect default install location
Reported by: | chrismarx | Owned by: | pramsey |
---|---|---|---|
Priority: | low | Milestone: | PostGIS 2.5.0 |
Component: | postgis | Version: | master |
Keywords: | documentation | Cc: |
Description
When you run ./configure —help, it says:
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'.
But installing the latest 3.4dev build (http://postgis.net/stuff/postgis-2.4.0dev.tar.gz), the files are instead installed to "/usr/lib/postgresql/10/bin/"
Not much of a problem, it's still easy enough to find out where they went, but they're certainly not where the documention indicates-
Change History (3)
comment:1 by , 7 years ago
Milestone: | PostGIS 2.4.0 → PostGIS 2.5.0 |
---|
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
And, that help string is generated by autoconf, not us, while if you do manually set the —prefix we do try and give you a huge warning
dnl =========================================================================== dnl Explain our prefix policy if necessary. dnl =========================================================================== if test "$prefix" != "NONE"; then AC_MSG_RESULT([------------------------------------------------------------------------]) AC_MSG_RESULT([ WARNING: You have set the --prefix to '$prefix'. But we mostly ]) AC_MSG_RESULT([ ignore the --prefix. For your info, using the values determined from ]) AC_MSG_RESULT([ $PG_CONFIG we will be installing: ]) AC_MSG_RESULT([ * postgis shared library in $PGSQL_LIBDIR ]) AC_MSG_RESULT([ * postgis SQL files in $PGSQL_SHAREDIR/contrib/postgis-$POSTGIS_MAJOR_VERSION.$POSTGIS_MINOR_VERSION ]) AC_MSG_RESULT([ * postgis executables in $PGSQL_BINDIR ]) AC_MSG_RESULT([------------------------------------------------------------------------]) fi
Note:
See TracTickets
for help on using tickets.
The files actually go into *two* locations. The liblwgeom files go into /usr/local and the postgresql files (postgis.so, extension control, etc) go into whatever pgsql install location pg_config returned. It's hard to describe in one line of help text…