On 10/03/11 02:58, Bill Teluk wrote:
Hi,
I have installed PostGIS 1.5.2 on a PostgreSQL 9.0.4 (OpenSCG RPM) on an
RHEL5.5 system - the instructions in the included README.postgis indicate
that I should perform "make install" as "postgres" user. This didn't work
and generated the error below:
/bin/mkdir -p '/opt/postgres/9.0/share/postgresql/contrib/postgis-1.5'
/bin/mkdir: cannot create directory
`/opt/postgres/9.0/share/postgresql/contrib/postgis-1.5': Permission
denied
make[1]: *** [installdirs] Error 1
make[1]: Leaving directory
`/home/maptools/other/pgis_1_5_2/postgis-1.5.2/postgis'
make: *** [postgis-install] Error 2
I overcame this by performing "make install" as "root" user - I did this
because I noted that the online HTML documentation for v1.5 doesn't indicate
which user to install as - at least as far as I could see (ref
http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630263
)
Is this a documentation error, or should I really be installing as user
"postgres"?
Given that you've installed under /opt, I would think that it would be
absolutely fine to build and install as the postgres user. It seems to
me that this is either a permissions or an SELinux issue (if enabled).
HTH,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
_______________________________________________
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users