Created
August 29, 2017 14:26
-
-
Save beechnut/029b6c35d5db9c7f95f76f16e003896c to your computer and use it in GitHub Desktop.
GDAL is failing to compile (zoning.io)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/matt/.rubies/ruby-2.2.3/bin/ruby -r ./siteconf20170829-5441-z90xo9.rb extconf.rb | |
checking for main() in -lgdal... yes | |
creating Makefile | |
make "DESTDIR=" clean | |
make "DESTDIR=" | |
compiling osr.cpp | |
In file included from osr.cpp:1888: | |
In file included from /Applications/Postgres.app/Contents/Versions/9.6/include/cpl_string.h:35: | |
In file included from /Applications/Postgres.app/Contents/Versions/9.6/include/cpl_error.h:34: | |
/Applications/Postgres.app/Contents/Versions/9.6/include/cpl_port.h:516:13: warning: 'STRCASECMP' macro redefined [-Wmacro-redefined] | |
# define STRCASECMP(a,b) (strcasecmp(a,b)) | |
^ | |
/Users/matt/.rubies/ruby-2.2.3/include/ruby-2.2.0/ruby/ruby.h:1801:9: note: previous definition is here | |
#define STRCASECMP(s1, s2) (st_locale_insensitive_strcasecmp((s1), (s2))) | |
^ | |
In file included from osr.cpp:1888: | |
In file included from /Applications/Postgres.app/Contents/Versions/9.6/include/cpl_string.h:35: | |
In file included from /Applications/Postgres.app/Contents/Versions/9.6/include/cpl_error.h:34: | |
/Applications/Postgres.app/Contents/Versions/9.6/include/cpl_port.h:517:13: warning: 'STRNCASECMP' macro redefined [-Wmacro-redefined] | |
# define STRNCASECMP(a,b,n) (strncasecmp(a,b,n)) | |
^ | |
/Users/matt/.rubies/ruby-2.2.3/include/ruby-2.2.0/ruby/ruby.h:1802:9: note: previous definition is here | |
#define STRNCASECMP(s1, s2, n) (st_locale_insensitive_strncasecmp((s1), (s2), (n))) | |
^ | |
osr.cpp:2476:12: error: no matching function for call to 'OSRImportFromOzi' | |
return OSRImportFromOzi( self, datum, proj, projParms ); | |
^~~~~~~~~~~~~~~~ | |
/Applications/Postgres.app/Contents/Versions/9.6/include/ogr_srs_api.h:348:16: note: candidate function not viable: requires 2 arguments, but 4 were provided | |
OGRErr CPL_DLL OSRImportFromOzi( OGRSpatialReferenceH , const char * const *); | |
^ | |
2 warnings and 1 error generated. | |
make: *** [osr.o] Error 1 | |
make failed, exit code 2 | |
/Users/matt/Code/zoning-api/vendor/bundle/extensions/x86_64-darwin-16/2.2.0-static/gdal-1.0.0/gem_make.out (END) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ gcc --version (master) | |
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1 | |
Apple LLVM version 8.1.0 (clang-802.0.42) | |
Target: x86_64-apple-darwin16.6.0 | |
Thread model: posix | |
InstalledDir: /Library/Developer/CommandLineTools/usr/bin | |
$ ruby --version (master) | |
ruby 2.2.3p173 (2015-08-18 revision 51636) [x86_64-darwin16] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment