Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Nov 2014 11:02:09 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 193619] databases/py-psycopg2: pkg install removes postgresql 9.3 server/client
Message-ID:  <bug-193619-13-2GjIpgchL4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-193619-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-193619-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=193619

Palle Girgensohn <girgen@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Open                        |Issue Resolved
                 CC|                            |girgen@FreeBSD.org
         Resolution|---                         |Works As Intended

--- Comment #6 from Palle Girgensohn <girgen@FreeBSD.org> ---
The short answer is that you must use the port, (i.e. cd
/usr/ports/databases/py-psocypg2; make install) to install software depending
on a "non-default" postgresql version.

This is a design limitation.

The default PostgreSQL version is 9.2. This is the only version for which you
can use prebuilt packages to install dependant software.

For example, there is only one py-psycopg2 port. It is built against
postgresql92-client. The resulting package is py27-psycopg2. There is no
package automaticially built for python32 or postgresql93. The default packages
are built with the default set of versions, for example python27 and
postgresql92.

Another way to design this would be to have different ports for different
versions of postgresql, e.g. py27-pg92-psycopg2, py27-pg93-psycopg2 and so on.
No-one has stepped forward to actually do this, and I am not entirely sure that
it is even a good idea, given the complexity and the amount of ports this would
require. With five versions of postgresql and four versions of python, we would
get 20 ports for psycopg2 alone =). Even with a framework where one port would
create 20 packages, the complexity of it all is still a bit overwhelming.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-193619-13-2GjIpgchL4>