Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install problem #151

Open
ellisium opened this issue Feb 5, 2017 · 3 comments
Open

Install problem #151

ellisium opened this issue Feb 5, 2017 · 3 comments

Comments

@ellisium
Copy link

ellisium commented Feb 5, 2017

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

`

@BartDuwez
Copy link

same problem here...

@uscivics
Copy link

From what I've found this has to do with deprecated features in the latest version of XCode. Still haven't found a workaround.

@theaspirational
Copy link

theaspirational commented Mar 9, 2020

try to download android ndk10 and re run
build_scripts/android-configure.sh /path/to/android/ndk/
it solved problem for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants