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

Joel Pearson japearson at agiledigital.com.au
Tue May 11 22:09:10 PDT 2010


Hmm weird.

As a sanity check, I compiled postgis 1.3.6 against 8.4 and it
compiled fine.  I then tried compile postgis 1.5.1 and it failed with
this error:

/bin/sh /usr/lib/pgsql/pgxs/src/makefiles/../../config/install-sh -c
pgsql2shp /var/tmp/postgis-1.5.1-2-root-japearson/usr/bin
/bin/sh /usr/lib/pgsql/pgxs/src/makefiles/../../config/install-sh -c
shp2pgsql /var/tmp/postgis-1.5.1-2-root-japearson/usr/bin
make[1]: Leaving directory `/home/japearson/rpmbuild/BUILD/postgis-1.5.1/loader'
+ install -d /var/tmp/postgis-1.5.1-2-root-japearson/usr/lib/pgsql/
+ install 'lwgeom/liblwgeom.so*'
/var/tmp/postgis-1.5.1-2-root-japearson/usr/lib/pgsql/
install: cannot stat `lwgeom/liblwgeom.so*': No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.56429 (%install)

So I'm guessing that there is something wrong with my setup.  So if I
can get postgis 1.5.1 to compile against postgres 8.4.3 then 9 beta1
may work as well.

Cheers,

-Joel

On 12 May 2010 14:32, Paul Ramsey <pramsey at opengeo.org> wrote:
> No, seems to compile and install perfectly fine under OS/X.
>
> Two regression failures (*sigh*) due to a slight change in output from
> SQL (select queries that don't return rows now return 'SELECT <number
> of rows>' instead of just 'SELECT')
>
> P.
>
> On Tue, May 11, 2010 at 6:13 PM, Joel Pearson
> <japearson at agiledigital.com.au> 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
>>
>>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



-- 
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



More information about the postgis-users mailing list