Problem running Cmake on Yosemite for Mac
Posted: Wed Oct 22, 2014 1:05 am
Have had some trouble running Cmake for Codelite, and got this terminal message:
It says that it could not find the wx_confic script in the PATH. What do I need to do to fix this issue?
At the risk of providing too much information, I have output the log:
Thank you.
Code: Select all
Pauls-MacBook-Air:src pdenlinger$ ls
codelite wxWidgets-3.0.2
Pauls-MacBook-Air:src pdenlinger$ mv wxWidgets-3.0.2 codelite
Pauls-MacBook-Air:src pdenlinger$ ls
codelite
Pauls-MacBook-Air:src pdenlinger$ cd codelite
Pauls-MacBook-Air:codelite pdenlinger$ ls
AUTHORS FileGrep Subversion2 codelite_terminal
BuildInfo.txt Gizmos TODO.TXT codelite_utils
CMakeLists.txt InnoSetup TestDir codelitegcc
CMakePlugin Interfaces Tweaks codelitephp
COPYING LICENSE UnitTest++ cppchecker
CallGraph LLDBDebugger UnitTestCPP cscope
ClangOutputParser LiteEditor ZoomNavigator formbuilder
CodeCompletionsTests LiteEditor.workspace abbreviation gdbparser
CodeDesigner MacBundler about.html git
CodeFormatter MemCheck art icons
CodeLite Outline build-release le_exec
CodeLiteDiff PCH cmake mac-build.sh
CommentParser Plugin codelite-icons make_repo.txt
ContinuousBuild PreProcessor codelite-icons-dark make_src_targz.sh
Copyright QmakePlugin codelite-icons-fresh-farm pack-icons-all.bat
CxxParser README.md codelite.spec patches
DatabaseExplorer Runtime codelite.xml sdk
Debugger SFTP codelite_echo sqlite3
ExternalTools ScopeOptimizer codelite_launcher translations
File2Hex SnipWiz codelite_make wxWidgets-3.0.2
FileCrawler SpellChecker codelite_prefix.h wxformbuilder
Pauls-MacBook-Air:codelite pdenlinger$ cd build-release
Pauls-MacBook-Air:build-release pdenlinger$ cmake .. -DCMAKE_BUILD_TYPE=Release
-- BUILD_DIRECTORY is set to /Users/pdenlinger/src/codelite/build-release
-- OS name Darwin
CMake Error at CMakeLists.txt:87 (message):
No functional wx_config script was found in your PATH.
Is the wxWidgets development package installed?
-- Configuring incomplete, errors occurred!
See also "/Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeOutput.log".
Pauls-MacBook-Air:build-release pdenlinger$ subl . /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeOutput.log
At the risk of providing too much information, I have output the log:
Code: Select all
The system is: Darwin - 14.0.0 - x86_64
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc
Build flags:
Id flags:
The output was:
0
Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.out"
The C compiler identification is AppleClang, found in "/Users/pdenlinger/src/codelite/build-release/CMakeFiles/3.0.2/CompilerIdC/a.out"
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" succeeded.
Compiler: /usr/bin/c++
Build flags:
Id flags:
The output was:
0
Compilation of the CXX compiler identification source "CMakeCXXCompilerId.cpp" produced "a.out"
The CXX compiler identification is AppleClang, found in "/Users/pdenlinger/src/codelite/build-release/CMakeFiles/3.0.2/CompilerIdCXX/a.out"
Determining if the C compiler works passed with the following output:
Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1704462033/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec1704462033.dir/build.make CMakeFiles/cmTryCompileExec1704462033.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1704462033.dir/testCCompiler.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec1704462033.dir/testCCompiler.c.o -c /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTryCompileExec1704462033
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec1704462033.dir/link.txt --verbose=1
/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec1704462033.dir/testCCompiler.c.o -o cmTryCompileExec1704462033
Detecting C compiler ABI info compiled with the following output:
Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3932521228/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec3932521228.dir/build.make CMakeFiles/cmTryCompileExec3932521228.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o
/usr/bin/cc -o CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/CMakeCCompilerABI.c
Linking C executable cmTryCompileExec3932521228
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3932521228.dir/link.txt --verbose=1
/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec3932521228
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -o cmTryCompileExec3932521228 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-241.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed C implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec3932521228/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec3932521228.dir/build.make CMakeFiles/cmTryCompileExec3932521228.dir/build]
ignore line: [/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building C object CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o]
ignore line: [/usr/bin/cc -o CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -c /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/CMakeCCompilerABI.c]
ignore line: [Linking C executable cmTryCompileExec3932521228]
ignore line: [/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec3932521228.dir/link.txt --verbose=1]
ignore line: [/usr/bin/cc -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -o cmTryCompileExec3932521228 ]
ignore line: [Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)]
ignore line: [Target: x86_64-apple-darwin14.0.0]
ignore line: [Thread model: posix]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -o cmTryCompileExec3932521228 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.10.0] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec3932521228] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTryCompileExec3932521228.dir/CMakeCCompilerABI.c.o] ==> ignore
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
collapse lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]
Determining if the CXX compiler works passed with the following output:
Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec241842656/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec241842656.dir/build.make CMakeFiles/cmTryCompileExec241842656.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec241842656.dir/testCXXCompiler.cxx.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec241842656.dir/testCXXCompiler.cxx.o -c /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
Linking CXX executable cmTryCompileExec241842656
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec241842656.dir/link.txt --verbose=1
/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/cmTryCompileExec241842656.dir/testCXXCompiler.cxx.o -o cmTryCompileExec241842656
Detecting CXX compiler ABI info compiled with the following output:
Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec488853878/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec488853878.dir/build.make CMakeFiles/cmTryCompileExec488853878.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1
Building CXX object CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o
/usr/bin/c++ -o CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/CMakeCXXCompilerABI.cpp
Linking CXX executable cmTryCompileExec488853878
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec488853878.dir/link.txt --verbose=1
/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec488853878
Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)
Target: x86_64-apple-darwin14.0.0
Thread model: posix
"/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -o cmTryCompileExec488853878 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a
@(#)PROGRAM:ld PROJECT:ld64-241.8
configured to support archs: armv6 armv7 armv7s arm64 i386 x86_64 x86_64h armv6m armv7m armv7em
Library search paths:
/usr/lib
/usr/local/lib
Framework search paths:
/Library/Frameworks/
/System/Library/Frameworks/
Parsed CXX implicit link information from above output:
link line regex: [^( *|.*[/\])(ld|([^/\]+-)?ld|collect2)[^/\]*( |$)]
ignore line: [Change Dir: /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp]
ignore line: []
ignore line: [Run Build Command:"/usr/bin/make" "cmTryCompileExec488853878/fast"]
ignore line: [/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec488853878.dir/build.make CMakeFiles/cmTryCompileExec488853878.dir/build]
ignore line: [/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/pdenlinger/src/codelite/build-release/CMakeFiles/CMakeTmp/CMakeFiles 1]
ignore line: [Building CXX object CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o]
ignore line: [/usr/bin/c++ -o CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -c /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/CMakeCXXCompilerABI.cpp]
ignore line: [Linking CXX executable cmTryCompileExec488853878]
ignore line: [/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_link_script CMakeFiles/cmTryCompileExec488853878.dir/link.txt --verbose=1]
ignore line: [/usr/bin/c++ -Wl,-search_paths_first -Wl,-headerpad_max_install_names -v -Wl,-v CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -o cmTryCompileExec488853878 ]
ignore line: [Apple LLVM version 6.0 (clang-600.0.51) (based on LLVM 3.5svn)]
ignore line: [Target: x86_64-apple-darwin14.0.0]
ignore line: [Thread model: posix]
link line: [ "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld" -demangle -dynamic -arch x86_64 -macosx_version_min 10.10.0 -o cmTryCompileExec488853878 -search_paths_first -headerpad_max_install_names -v CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o -lc++ -lSystem /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld] ==> ignore
arg [-demangle] ==> ignore
arg [-dynamic] ==> ignore
arg [-arch] ==> ignore
arg [x86_64] ==> ignore
arg [-macosx_version_min] ==> ignore
arg [10.10.0] ==> ignore
arg [-o] ==> ignore
arg [cmTryCompileExec488853878] ==> ignore
arg [-search_paths_first] ==> ignore
arg [-headerpad_max_install_names] ==> ignore
arg [-v] ==> ignore
arg [CMakeFiles/cmTryCompileExec488853878.dir/CMakeCXXCompilerABI.cpp.o] ==> ignore
arg [-lc++] ==> lib [c++]
arg [-lSystem] ==> lib [System]
arg [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a] ==> lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
Library search paths: [;/usr/lib;/usr/local/lib]
Framework search paths: [;/Library/Frameworks/;/System/Library/Frameworks/]
remove lib [System]
collapse lib [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/../lib/clang/6.0/lib/darwin/libclang_rt.osx.a] ==> [/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
collapse library dir [/usr/lib] ==> [/usr/lib]
collapse library dir [/usr/local/lib] ==> [/usr/local/lib]
collapse framework dir [/Library/Frameworks/] ==> [/Library/Frameworks]
collapse framework dir [/System/Library/Frameworks/] ==> [/System/Library/Frameworks]
implicit libs: [c++;/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/clang/6.0/lib/darwin/libclang_rt.osx.a]
implicit dirs: [/usr/lib;/usr/local/lib]
implicit fwks: [/Library/Frameworks;/System/Library/Frameworks]