samba-documents-provider icon indicating copy to clipboard operation
samba-documents-provider copied to clipboard

wscript:223: error: could not configure a c compiler!

Open baldraider opened this issue 6 years ago • 5 comments

Getting an error on running sh configure.sh on mac

Creating standalone toolchain... usage: make_standalone_toolchain.py [-h] --arch {arm,arm64,mips,mips64,x86,x86_64} [--api API] [--stl {gnustl,libc++,stlport}] [--force] [-v] [--package-dir PACKAGE_DIR | --install-dir INSTALL_DIR] make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers Configuring Samba... Checking for program gcc or cc : ['/Users/sasuke/Downloads/samba-4.5.1/cc_shim.py', '/Users/sasuke/Downloads/samba-4.5.1/bin/ndk/toolchain/bin/clang'] /Users/sasuke/Downloads/samba-4.5.1/lib/replace/../../buildtools/wafsamba/wscript:223: error: could not configure a c compiler!

baldraider avatar Apr 22 '18 05:04 baldraider

Have you got a solution of this? I've encounted the same problem.

faterap avatar May 09 '18 09:05 faterap

@faterap have you found solution? Thanks

NikolaHadzicNs avatar Jul 24 '18 13:07 NikolaHadzicNs

make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers please use NDK r15c the higher version can't recognize arguments: --unified-headers

llxTnT avatar Jul 28 '18 10:07 llxTnT

make_standalone_toolchain.py: error: unrecognized arguments: --unified-headers please use NDK r15c the higher version can't recognize arguments: --unified-headers

just delete --unified-headers, it is the default for newer versions

hereisderek avatar May 02 '19 09:05 hereisderek

Hi @baldraider @faterap @NikolaHadzicNs @llxTnT @hereisderek,

I faced same issue for this today.

My Issue Link: https://github.com/google/samba-documents-provider/issues/61

Could advise how to fix this issue?

Thanks.

jerrychong25 avatar Jul 09 '19 02:07 jerrychong25