[postgis-users] Cannot install postgis 1.5.1 on Postgres 9.0 beta1

psg psg at cooldog.com
Thu Sep 16 08:28:30 PDT 2010


AHA!  I found the problem.  Line 89 of
/usr/src/postgis-1.5.1/postgis/Makefile needs to be changed from:

PGXSOVERRIDE = 1

to

PGXSOVERRIDE = 0

Apparently the pgxs makefile that is in the postgis source tree doesn't work
with PostgreSQL 9.0 at all.




psg wrote:
> 
> Has anyone got a solution for this?  I'm trying to build on Centos 5.4
> with PostgreSQL 9.0RC1.
> 
> My best guess is that it is failing to build the extension binary, but I
> don't know why.
> 
> Here's where the "make install" breaks:
> 
> PostGIS was built successfully. Ready to install.
> make -C postgis install
> make[1]: Entering directory `/usr/src/postgis-1.5.1/postgis'
> Makefile.pgxs:17: warning: overriding commands for target `install'
> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:99: warning: ignoring old
> commands for target `install'
> Makefile.pgxs:63: warning: overriding commands for target `installdirs'
> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:147: warning: ignoring old
> commands for target `installdirs'
> Makefile.pgxs:82: warning: overriding commands for target `uninstall'
> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:171: warning: ignoring old
> commands for target `uninstall'
> /bin/mkdir -p '/usr/pgsql-9.0/lib'
> '/usr/pgsql-9.0/share/contrib/postgis-1.5'
> make[1]: /usr/pgsql-9.0/share/contrib/postgis-1.5: Command not found
> make[1]: *** [installdirs] Error 127
> 
> 
> 
> 
> Joel Pearson-2 wrote:
>> 
>> Hi,
>> 
>> Postgis 1.5.1 compiles ok on Postgres 9.0 beta1, but when I run make
>> install
>> it fails:
>> 
>> ...
>> PostGIS was built successfully. Ready to install.
>> make -C postgis install
>> make[1]: Entering directory
>> `/home/japearson/postgis/postgis-1.5.1/postgis'
>> Makefile.pgxs:17: warning: overriding commands for target `install'
>> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:100: warning: ignoring old
>> commands for target `install'
>> Makefile.pgxs:63: warning: overriding commands for target `installdirs'
>> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:148: warning: ignoring old
>> commands for target `installdirs'
>> Makefile.pgxs:82: warning: overriding commands for target `uninstall'
>> /usr/pgsql-9.0/lib/pgxs/src/makefiles/pgxs.mk:172: warning: ignoring old
>> commands for target `uninstall'
>> /bin/mkdir -p '/usr/pgsql-9.0/lib'
>> '/usr/pgsql-9.0/share/contrib/postgis-1.5'
>> make[1]: /usr/pgsql-9.0/share/contrib/postgis-1.5: Command not found
>> make[1]: *** [installdirs] Error 127
>> make[1]: Leaving directory
>> `/home/japearson/postgis/postgis-1.5.1/postgis'
>> make: *** [postgis-install] Error 2
>> 
>> Any ideas?  Is postgis simply incompatible with Postgres 9.0beta at the
>> moment?
>> 
>> Cheers,
>> 
>> -Joel
>> 
>> -- 
>> Joel Pearson
>> Software Engineer
>> Agile Digital Engineering Pty Ltd
>> A.B.N. 98 106 361 273
>> A: 5/28 Eyre St Kingston ACT 2604
>> P: +61 1300-858-277
>> F: +61 1300-858-477
>> M: +61 (0) 405-417-843
>> E: joel.pearson at agiledigital.com.au
>> W: http://www.agiledigital.com.au
>> 
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at postgis.refractions.net
>> http://postgis.refractions.net/mailman/listinfo/postgis-users
>> 
>> 
> 
> 

-- 
View this message in context: http://old.nabble.com/Cannot-install-postgis-1.5.1-on-Postgres-9.0-beta1-tp28531067p29729738.html
Sent from the PostGIS - User mailing list archive at Nabble.com.




More information about the postgis-users mailing list