Trouble building 6.10.08 on 10.13.1 - error configuring LZMA

HI there,

build is stopping at LZMA configure:

[ 53%] Performing configure step for 'LZMA’
CMake Error at /Users/schaffer/work/root/LZMA-prefix/src/LZMA-stamp/LZMA-configure-RelWithDebInfo.cmake:16 (message):
Command failed: 1

‘/Users/schaffer/work/root/LZMA-prefix/src/LZMA/configure’ ‘–prefix’ ‘/Users/schaffer/work/root’ ‘–libdir’ ‘/Users/schaffer/work/root/lib’ ‘–with-pic’ ‘–disable-shared’ ‘–quiet’ ‘CC=/Applications/’ ‘CXX=/Applications/’ ‘CFLAGS=-Wno-format-nonliteral’ ‘LDFLAGS=-Qunused-arguments’

See also


make[2]: *** [LZMA-prefix/src/LZMA-stamp/LZMA-configure] Error 1
make[1]: *** [CMakeFiles/LZMA.dir/all] Error 2
make: *** [all] Error 2

and the log files:

[RDS] root % cat LZMA-prefix/src/LZMA-stamp/LZMA-configure-err.log
configure: error: in /Users/schaffer/work/root/LZMA-prefix/src/LZMA': configure: error: cannot run C compiled programs. If you meant to cross compile, use–host’.
See `config.log’ for more details
[RDS] root % cat LZMA-prefix/src/LZMA-stamp/LZMA-configure-out.log

XZ Utils 5.2.1

System type:

Configure options:

Initializing Automake:

Suggestions at to what I am missing? I just do a simple “cmake” with not additional options.

  thanks, RD

Hi RD. Did you upgrade recently the version of Xcode?
What happens if you do
/Applications/ --version?

Hi Pere,

I get:

% /Applications/ --version
Apple LLVM version 9.0.0 (clang-900.0.38)
Target: x86_64-apple-darwin17.2.0
Thread model: posix
InstalledDir: /Applications/


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.