[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[creduce-dev] OS X Configure-time Error (was Re: Run-time Perl Warnings from C-Reduce bc92ff4)



John Regehr <regehr@cs.utah.edu> writes:

> Also I still can't successfully configure C-Reduce against the LLVM 3.8
> binaries distributed from the LLVM web site on OS X.

I tried this just now.  My attempt failed to configure, because the LLVM test
program failed to compile, because some header file seems to be missing, or
path misconfigured, or something (as yet undiagnosed).

Attached is the error that I get, copied from "config.log".  Is is the same as
the error that you see, John?

Eric.

-----
configure:15953: checking can compile with and link with LLVM(engine)
configure:15979: g++ -o conftest -g -O2  -I/z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk -fPIC -fvisibility-inlines-hidden -std=c++11 -DNDEBUG -fno-exceptions -fno-rtti -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS  conftest.cpp  -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMInstrumentation -lLLVMProfileData -lLLVMTransformUtils -lLLVMBitWriter -lLLVMX86Desc -lLLVMMCDisassembler -lLLVMX86Info -lLLVMX86AsmPrinter -lLLVMX86Utils -lLLVMMCJIT -lLLVMExecutionEngine -lLLVMTarget -lLLVMAnalysis -lLLVMRuntimeDyld -lLLVMObject -lLLVMMCParser -lLLVMBitReader -lLLVMMC -lLLVMCore -lLLVMSupport -L/z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/lib -Wl,-search_paths_first -Wl,-headerpad_max_install_names -lcurses -lpthread -lz -lm >&5
clang: warning: no such sysroot directory: '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk'
In file included from conftest.cpp:24:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/IR/LLVMContext.h:18:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/CBindingWrapping.h:17:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/Casting.h:19:
In file included from /z/cr/clang+llvm-3.8.0-x86_64-apple-darwin/include/llvm/Support/type_traits.h:17:
In file included from /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/type_traits:205:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../include/c++/v1/__config:23:10: fatal error: 'unistd.h' file not found
#include <unistd.h>
         ^
1 error generated.
-----

-- 
-------------------------------------------------------------------------------
Eric Eide <eeide@cs.utah.edu>  .         University of Utah School of Computing
http://www.cs.utah.edu/~eeide/ . +1 (801) 585-5512 voice, +1 (801) 581-5843 FAX