[postgis-devel] [PostGIS] #635: configure ignores --prefix

PostGIS trac at osgeo.org
Wed Oct 20 08:43:36 PDT 2010


#635: configure ignores --prefix
-------------------------------+--------------------------------------------
 Reporter:  marcusbooster      |       Owner:  pramsey      
     Type:  defect             |      Status:  new          
 Priority:  medium             |   Milestone:  PostGIS 1.5.3
Component:  postgis            |     Version:  1.5.X        
 Keywords:  build permissions  |  
-------------------------------+--------------------------------------------
 uname -a:
 {{{
 Linux myname 2.6.35-22-server #35-Ubuntu SMP Sat Oct 16 22:02:33 UTC 2010
 x86_64 GNU/Linux
 }}}


 PostGIS 1.5.2 builds correctly, but fails on 'make install' because of a
 permission error after it ignores './configure --prefix=$HOME/local'

 PostgreSQL 9 is a Ubuntu package installed system-wide, postgis configure
 is using /usr/lib/postgresql/9.0/bin/pg_config

 I wish to install postgis locally.

 output:
 {{{
 PostGIS was built successfully. Ready to install.
 make -C postgis install
 make[1]: Entering directory `/home/myname/tmp/postgis-1.5.2/postgis'
 /bin/mkdir -p '/usr/lib/postgresql/9.0/lib'
 /bin/mkdir -p '/usr/share/postgresql/9.0/contrib/postgis-1.5'
 /bin/mkdir: cannot create directory `/usr/share/postgresql/9.0/contrib':
 Permission denied
 make[1]: *** [installdirs] Error 1
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/635>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list