[MacPorts] #40259: postgis2 @2.0.3_0 Won't install alongside Postgis 1.5 even in a separate PostgreSQL

MacPorts noreply at macports.org
Tue Aug 27 08:48:11 PDT 2013


#40259: postgis2 @2.0.3_0 Won't install alongside Postgis 1.5 even in a separate
PostgreSQL
--------------------+----------------------------------------
 Reporter:  jea@…   |      Owner:  macports-tickets@…
     Type:  defect  |     Status:  new
 Priority:  Normal  |  Milestone:
Component:  ports   |    Version:  2.2.0
 Keywords:          |       Port:  postgis postgis2 mapserver
--------------------+----------------------------------------
 I have a PostgreSQL 9.1. server running in production with a PostGIS 1.5
 in it.  I also have a PostgreSQL 9.2 server installed (but not running),
 with a PostGIS2 in it.  However when I try to update or re-install
 PostGIS2 it won't do it, complaining that a conflicting port is installed
 {{{
 sudo port install postgis2
 --->  Computing dependencies for postgis2
 Error: Unable to execute port: Can't install postgis2 because conflicting
 ports are installed: postgis
 sudo port installed postgis2
 The following ports are currently installed:
   postgis2 @2.0.1_0+postgresql92+raster+topology
   postgis2 @2.0.3_0+postgresql92+raster+topology (active)

 sudo port installed postgis
 The following ports are currently installed:
   postgis @1.5.5_0+postgresql91
   postgis @1.5.8_0+postgresql91 (active)
 }}}

 Somehow I managed to get both installed, I can't remember how, maybe I
 installed Postgis1.58 after Postgis2.  But now I can't do any maintenance
 on the PostGIS2 port because it always complains about the installed (and
 running -- in production) Postgis1.5.8  port.

 This also relates to mapserver, and presumably other ports that want to
 use the postgis2 libraries.  I want the mapserver port to use the Postgis2
 libraries even though there is a running production postgis1.5 elsewhere
 on the machine (in a different postgresql installation), but macports
 keeps complaining that it can't do anything with postgis2 because postgis
 (1.5.8) is installed.

-- 
Ticket URL: <https://trac.macports.org/ticket/40259>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list