Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 01 May 2018 19:40:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 226962] databases/postgis24 Question: How to run postgis24 with postgresql10 ?
Message-ID:  <bug-226962-7788-mfRVNppQNE@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-226962-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-226962-7788@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=3D226962

John Parkey <john@acru.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john@acru.co.uk

--- Comment #3 from John Parkey <john@acru.co.uk> ---
I am having a similar problem.  I am building using synth, on FreeBSD 11.1.

My /etc/make.conf contains a line to add DEFAULT_VERSIONS+=3Dpgsql=3D10

I have cleared down the whole environment, so that I am building everything
from scratch.  First I build postgresql10-server, -client, -contrib, to make
sure that they are all there.  If I then try to build postgis24, something =
in
the dependency tree causes postgresql95-server to be pulled in.

I stripped it right back and found that graphics/gdal pulls in 17 dependenc=
ies,
and this results in postgresql95-server being built again.  I edited the
Makefile for graphics/gdal to include 'pgsql' in the USES directive, but th=
is
didn't solve the problem.  Looking at the dependencies, it wasn't clear to =
me
what was causing this - I thought that it might be something to do with
graphics/libgeotiff, but I couldn't find anything definitive (and, to be
honest, I don't really know what I am looking for).

I edited /usr/ports/Mk/bsd.default-versions.mk and set PGSQL_DEFAULT?=3D 10=
 -
this allowed graphics/gdal to build, and so then I tried databases/postgis24
which pulled in a further 168 dependencies, and everything built cleanly
(hurrah! finally some progress after two days).  The remaining 728 packages=
 are
building now, so I am hopeful that they will complete without postgresql95
being pulled in again.

Clearly what I have done is a bit of a hack, and I risk the
bsd.default-versions.mk file being overwritten at some point when I refresh=
 the
ports, but hopefully it will help to narrow down the source of the problem.

--=20
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-226962-7788-mfRVNppQNE>