Opened 12 years ago

Closed 11 years ago

#2081 closed defect (fixed)

installation from source fails

Reported by: brushtyler Owned by: robe
Priority: medium Milestone: PostGIS 2.1.0
Component: postgis Version: master
Keywords: Cc:


I've built postgis from source, but installing it I get the following error message:

/usr/bin/install -c -m 644 ./sql/postgis--2.0.0--2.1.0SVN.sql ./sql/postgis--2.0.1--2.1.0SVN.sql ./sql/postgis--2.1.0SVN--2.1.0SVNnext.sql ./sql/postgis--2.1.0SVNnext--2.1.0SVN.sql ./sql/postgis--2.1.0SVN.sql ./sql/postgis--unpackaged--2.1.0SVN.sql ./sql/postgis--2.1.0SVN.sql '/usr/local/pgsql/share/extension/'

/usr/bin/install: will not overwrite just-created `/usr/local/pgsql/share/extension/postgis--2.1.0SVN.sql' with `./sql/postgis--2.1.0SVN.sql'

make[2]: Error 1

I'm on Ubuntu 11.04, trying to install PostGIS trunk.

Attachments (1)

postgis_ticket_2081.diff (1.6 KB ) - added by brushtyler 12 years ago.
patch to fix #2081

Download all attachments as: .zip

Change History (7)

comment:1 by robe, 12 years ago

Milestone: PostGIS 2.0.2PostGIS 2.1.0

Which version of postgresql?


SELECT version();

by brushtyler, 12 years ago

Attachment: postgis_ticket_2081.diff added

patch to fix #2081

in reply to:  1 comment:2 by brushtyler, 12 years ago

Replying to robe:

Which version of postgresql?

I'm using postgresql trunk (9.3devel).

BTW I've attached a patch that fixes the problem (at least here): the /usr/bin/install is called passing "./sql/postgis—2.1.0SVN.sql" 2 times.

It doesn't seem to me related to postgresql version in anyway.

comment:3 by robe, 12 years ago

weird I'm not seeing any errors when I do make install on my 9.2 test server.

I'll give your change a try and commit if it doesn't cause any issues. I wonder if 9.3 is more sensitive to the duplication (or Ubuntu is). On 9.3 we just pull the latest weekly and just do a make check (not make install).

comment:4 by robe, 12 years ago

Owner: changed from pramsey to robe

okay committed at r10641 (for 2.1.0). I assume 2.0 probably has a similar issue, but I'll wait off on that for a bit and leave this ticket open until I commit that.

comment:5 by robe, 11 years ago

Milestone: PostGIS 2.1.0PostGIS 2.0.4

comment:6 by robe, 11 years ago

Milestone: PostGIS 2.0.4PostGIS 2.1.0
Resolution: fixed
Status: newclosed

hmm I'm afraid to touch 2.0 since I don't seem to be having issue make install. let's just call it fixed at 2.1.0

Note: See TracTickets for help on using tickets.