google / samba-documents-provider

Access network file shares directly from the Android Downloads/Files app
GNU General Public License v3.0
650 stars 127 forks source link

macOS - wscript:223: error: could not configure a c compiler! #61

Closed jerrychong25 closed 5 years ago

jerrychong25 commented 5 years ago

Hi all,

I am trying to build this Android project in my macOS laptop.

However, when doing Step 7 (Run configure.sh to configure Samba project), it have following errors:

macusers-MacBook:samba-4.5.1 HighSierra$ ./configure.sh
Creating standalone toolchain...
./configure.sh: line 50: /ndk-bundle/build/tools/make_standalone_toolchain.py: No such file or directory
Configuring Samba...
Checking for program gcc or cc           : ['/Users/HighSierra/Desktop/samba-4.5.1/cc_shim.py', '/Users/HighSierra/Desktop/samba-4.5.1/bin/ndk/toolchain/bin/clang'] 
/Users/HighSierra/Desktop/samba-4.5.1/lib/replace/../../buildtools/wafsamba/wscript:223: error: could not configure a c compiler!

Could anyone assist on solving this issue?

Similar issue: https://github.com/google/samba-documents-provider/issues/55

Thanks.

jerrychong25 commented 5 years ago

Can't found a solution for this issue.

In the end, I have implemented smbj library for accessing Samba Files instead.

xiaoyg commented 5 years ago

/ndk-bundle/build/tools/make_standalone_toolchain.py: No such file or directory

NDK的路径不对

jerrychong25 commented 5 years ago

/ndk-bundle/build/tools/make_standalone_toolchain.py: No such file or directory

NDK的路径不对

谢谢,但是我已经使用另一个Library成功实现Samba Access了。