Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#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)

main.log (31.7 KB) - added by watsodw 10 years ago.
main.2.log (1.3 MB) - added by gnw3 10 years ago.
main.log using r121213 on Snow Leoaprd
main3.log (1.9 MB) - added by watsodw 10 years ago.

Change History (13)

Changed 10 years ago by watsodw

Attachment: main.log added

comment:1 Changed 10 years ago by Veence (Vincent)

Should be fixed in r121213. Please try again.

Last edited 10 years ago by Veence (Vincent) (previous) (diff)

Changed 10 years ago by gnw3

Attachment: main.2.log added

main.log using r121213 on Snow Leoaprd

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:3 Changed 10 years ago by cooljeanius (Eric Gallager)

Cc: egall@… added

Cc Me!

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

Attachment: main3.log added

comment:6 Changed 10 years ago by watsodw

I mean main3.log.

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: newclosed

Great news! Enjoy!

comment:10 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

Note: See TracTickets for help on using tickets.