Install problem
ellisium opened this issue · 3 comments
Hello,
I try to install it on mac OS sierra
when I run this command :
build_scripts/android_compile.sh /usr/local/Cellar/android-ndk/r17 --embed-leveldown
I get this error
`Compiling Android ARM7
Node.js configure error: No acceptable C compiler found!
Please make sure you have a C compiler installed on your system and/or
consider adjusting the CC environment variable if you installed
it in a non-standard prefix.
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C out BUILDTYPE=Release V=1
arm-linux-androideabi-gcc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DHAVE_CONFIG_H' '-DCARES_STATICLIB' -I../deps/cares/include -I../deps/cares/src -I../deps/cares/config/darwin -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-inconsistent-missing-override -fno-strict-aliasing -MMD -MF /Users/ellisium/spir/jxcore/out/Release/.deps//Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o.d.raw -c -o /Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o ../deps/cares/src/ares_cancel.c
arm-linux-androideabi-gcc '-D_DARWIN_USE_64_BIT_INODE=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D_GNU_SOURCE' '-DHAVE_CONFIG_H' '-DCARES_STATICLIB' -I../deps/cares/include -I../deps/cares/src -I../deps/cares/config/darwin -Os -gdwarf-2 -mmacosx-version-min=10.5 -arch x86_64 -Wall -Wendif-labels -W -Wno-unused-parameter -Wno-inconsistent-missing-override -fno-strict-aliasing -MMD -MF /Users/ellisium/spir/jxcore/out/Release/.deps//Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares__close_sockets.o.d.raw -c -o /Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares__close_sockets.o ../deps/cares/src/ares__close_sockets.c
make[1]: arm-linux-androideabi-gcc: No such file or directory
make[1]: arm-linux-androideabi-gcc: No such file or directory
make[1]: *** [/Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares_cancel.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: *** [/Users/ellisium/spir/jxcore/out/Release/obj.target/cares/deps/cares/src/ares__close_sockets.o] Error 1
make: *** [jx] Error 2
compilation aborted for arm target
`
same problem here...
From what I've found this has to do with deprecated features in the latest version of XCode. Still haven't found a workaround.
try to download android ndk10 and re run
build_scripts/android-configure.sh /path/to/android/ndk/
it solved problem for me