OPENDAP / hyrax-dependencies

These are the source tar.gz distributions used by various BES modules that are normally delivered with Hyrax
0 stars 2 forks source link

gdal build fails due to missing json_object_private.h #36

Open captainkirk99 opened 3 years ago

captainkirk99 commented 3 years ago

On my Ubuntu system, the build of gdal fails like this:

libtool: compile:  g++ -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/port -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/gcore -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/alg -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/ogr -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/ogr/ogrsf_frmts -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/gnm -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/apps -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wnull-dereference -Wduplicated-cond -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -I/usr/include/json-c -I. -I.. -I../.. -DOGR_ENABLED -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/port -I/usr/include/libqhull -I/usr/include/qhull -I/home/ed/hd1/deps/include -DGDAL_COMPILATION -c ogrgeojsonwriter.cpp  -fPIC -DPIC -o ../o/.libs/ogrgeojsonwriter.o
ogrgeojsonwriter.cpp:35:10: fatal error: json_object_private.h: No such file or directory
   35 | #include <json_object_private.h>
      |          ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

I'm not sure if this is significant...

jgallagher59701 commented 3 years ago

What options are you passing to GDAL?

On Sun, Dec 13, 2020 at 7:23 AM Captain James Tiberius Kirk < notifications@github.com> wrote:

On my Ubuntu system, the build of gdal fails like this:

libtool: compile: g++ -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/port -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/gcore -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/alg -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/ogr -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/ogr/ogrsf_frmts -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/gnm -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/apps -g -O2 -Wall -Wextra -Winit-self -Wunused-parameter -Wformat -Werror=format-security -Wno-format-nonliteral -Wlogical-op -Wshadow -Werror=vla -Wnull-dereference -Wduplicated-cond -Wmissing-declarations -Wnon-virtual-dtor -Woverloaded-virtual -fno-operator-names -I/usr/include/json-c -I. -I.. -I../.. -DOGR_ENABLED -I/home/ed/hyrax-dependencies/src/gdal-2.1.1/port -I/usr/include/libqhull -I/usr/include/qhull -I/home/ed/hd1/deps/include -DGDAL_COMPILATION -c ogrgeojsonwriter.cpp -fPIC -DPIC -o ../o/.libs/ogrgeojsonwriter.o ogrgeojsonwriter.cpp:35:10: fatal error: json_object_private.h: No such file or directory 35 | #include | ^~~~~~~ compilation terminated.

I'm not sure if this is significant...

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OPENDAP/hyrax-dependencies/issues/36, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB7Q4KWALBUYCJT56LILBODSUTE6NANCNFSM4UZQ563A .

--

James Gallagher jgalagher@opendap.org