[MacPorts] #44124: Postgis2 - Upgrade Failure ... Looking for JSON Header?
#44124: Postgis2 - Upgrade Failure ... Looking for JSON Header? --------------------------------------+-------------------------------- Reporter: joubertdj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.3.1 Component: ports | Version: 2.3.0 Keywords: Postgis2 json build fail | Port: Postgis2 --------------------------------------+-------------------------------- Dear all, I am using QGIS. After I upgraded to Macports 2.3 I did a "sudo port upgrade outdated" The only one that fails so far is Postgis2, it fails in the log file saying that it is looking for a JSON header ... Best regards,\ \Dawie -- Ticket URL: <https://trac.macports.org/ticket/44124> MacPorts <http://www.macports.org/> Ports system for OS X
#44124: Postgis2 - Upgrade Failure ... Looking for JSON Header? --------------------------+-------------------------------------- Reporter: joubertdj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.3.1 Component: ports | Version: 2.3.0 Resolution: | Keywords: Postgis2 json build fail Port: Postgis2 | --------------------------+-------------------------------------- Comment (by vince@…): Ok, I stumbled on that error two or three days ago. The json-c version provided by Macports is obviously either outdated or too recent for PostGIS/GDAL. I'll figure out a workaround. -- Ticket URL: <https://trac.macports.org/ticket/44124#comment:1> MacPorts <http://www.macports.org/> Ports system for OS X
#44124: Postgis2 - Upgrade Failure ... Looking for JSON Header? --------------------------+-------------------------------------- Reporter: joubertdj@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: MacPorts 2.3.1 Component: ports | Version: 2.3.0 Resolution: | Keywords: Postgis2 json build fail Port: Postgis2 | --------------------------+-------------------------------------- Comment (by vince@…): Should be fixed in r121330, but I had to disable JSON support (contrarily to GDAL, PostGIS does not embed its own JSON code). -- Ticket URL: <https://trac.macports.org/ticket/44124#comment:2> MacPorts <http://www.macports.org/> Ports system for OS X
#44124: postgis2: fatal error: 'json/json.h' file not found --------------------------+--------------------- Reporter: joubertdj@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: postgis2 | --------------------------+--------------------- Changes (by ryandesign@…): * keywords: Postgis2 json build fail => * milestone: MacPorts 2.3.1 => * owner: macports-tickets@… => vince@… * port: Postgis2 => postgis2 Old description:
Dear all,
I am using QGIS. After I upgraded to Macports 2.3 I did a "sudo port upgrade outdated"
The only one that fails so far is Postgis2, it fails in the log file saying that it is looking for a JSON header ...
Best regards,\ \Dawie
New description: Dear all, I am using QGIS.[[br]] After I upgraded to Macports 2.3 I did a "sudo port upgrade outdated" The only one that fails so far is Postgis2, it fails in the log file saying that it is looking for a JSON header ... Best regards,[[br]] Dawie -- Comment: The fix might be as simple as changing the path to the header; the most noticeable change in the latest version of json-c is a renaming and rearranging of files. Has this problem been reported to the developers of postgis2 so that they can fix it? If so, please mention the URL of the upstream bug report. -- Ticket URL: <https://trac.macports.org/ticket/44124#comment:3> MacPorts <http://www.macports.org/> Ports system for OS X
#44124: postgis2: fatal error: 'json/json.h' file not found --------------------------+--------------------- Reporter: joubertdj@… | Owner: vince@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.0 Resolution: | Keywords: Port: postgis2 | --------------------------+--------------------- Comment (by vince@…): Ryan, there is more in the new version of Json-C that a simple reorganization of file. Some API that were deprecated have been removed, and it seems the PostGIS code was using at least one of them. Upstream is aware of this caveat [http://trac.osgeo.org/postgis/ticket/2723], and it should be corrected in 2.1.4. Meanwhile, I can try to apply one of the proposed patches if need be. -- Ticket URL: <https://trac.macports.org/ticket/44124#comment:4> MacPorts <http://www.macports.org/> Ports system for OS X
participants (1)
-
MacPorts