#44098 closed defect (fixed)
gdal upgrade to 1.11.0 fails - configure can't find json-c/json.h
Reported by: | watsodw | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.0 |
Keywords: | Cc: | nomaintainer@…, cooljeanius (Eric Gallager), petrrr | |
Port: | gdal |
Description
See log.
Attachments (3)
Change History (13)
Changed 10 years ago by watsodw
comment:1 Changed 10 years ago by Veence (Vincent)
comment:2 Changed 10 years ago by gnw3
r121213 gets past configure, but fails later with
:info:build argdataset.cpp:34:18: error: json.h: No such file or directory
See attached main.2.log
comment:4 Changed 10 years ago by Veence (Vincent)
Ok. Turns out that the json-c package is anyhow incompatible with GDAL (which seems to rely on an older version). In r121215 I forced the use of the internal JSON parser code, even if json-c is installed. It should compile fine now. Let me know.
comment:5 Changed 10 years ago by watsodw
It still didn't work, it can't find json.h. Around line 2879 in main2.log.
Changed 10 years ago by watsodw
comment:7 Changed 10 years ago by Veence (Vincent)
Seems odd. Are you sure you’ve the latest version? It should not be looking for an external .h since it ought to use internal code.
comment:8 Changed 10 years ago by watsodw
I thought I had the latest, but I did a selfupdate and tried again and it worked. Thanks.
comment:9 Changed 10 years ago by Veence (Vincent)
Resolution: | → fixed |
---|---|
Status: | new → closed |
Great news! Enjoy!
Note: See
TracTickets for help on using
tickets.
Should be fixed in r121213. Please try again.