Problem running Cmake on Yosemite for Mac

CodeLite installation/troubleshooting forum
pdenlinger
CodeLite Curious
Posts: 7
Joined: Wed Oct 22, 2014 12:33 am
Genuine User: Yes
IDE Question: C++
Contact:

Problem running Cmake on Yosemite for Mac

Post by pdenlinger »

Have had some trouble running Cmake for Codelite, and got this terminal message:

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
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:

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]
Thank you.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by eranif »

Make sure you have read the HOW TO POST thread
pdenlinger
CodeLite Curious
Posts: 7
Joined: Wed Oct 22, 2014 12:33 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by pdenlinger »

Thank you, I did follow those instructions.

The place I got the error message was after Step 2: Create the build folder. After I ran the cmake .. -DCMAKE_BUILD_TYPE=Release command, I got the

Code: Select all

No functional wx_config script was found in your PATH.

  Is the wxWidgets development package installed?
And couldn't figure out how to resolve the issue.

Thank you.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by eranif »

What do you get when run from Terminal:

Code: Select all

which wx-config
Eran
Make sure you have read the HOW TO POST thread
pdenlinger
CodeLite Curious
Posts: 7
Joined: Wed Oct 22, 2014 12:33 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by pdenlinger »

No response; it doesn't return anything:

Code: Select all

Pauls-MacBook-Air:~ pdenlinger$ which wx-config
Pauls-MacBook-Air:~ pdenlinger$ 
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by eranif »

Did you ran make install after building wxWidgets?
Note that by default, wxWidgets us installed under /usr/local/bin
So make sure that /usr/local/bin is in your PATH environment varaible
Make sure you have read the HOW TO POST thread
pdenlinger
CodeLite Curious
Posts: 7
Joined: Wed Oct 22, 2014 12:33 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by pdenlinger »

May have missed on make for wxWidgets, so I went back to make it. Here is what I got:

Code: Select all

Pauls-MacBook-Air:codelite pdenlinger$ cd wxWidgets-3.0.2
Pauls-MacBook-Air:wxWidgets-3.0.2 pdenlinger$ ls
BuildSVN.txt		build			descrip.mms		locale			src
Makefile.in		build-release		distrib			misc			tests
acinclude.m4		config.guess		docs			mkinstalldirs		utils
aclocal.m4		config.sub		include			regen			version-script.in
art			configure		install-sh		samples			wx-config-inplace.in
autoconf_inc.m4		configure.in		interface		setup.h.in		wx-config.in
autogen.sh		demos			lib			setup.h_vms		wxwin.m4
Pauls-MacBook-Air:wxWidgets-3.0.2 pdenlinger$ sudo make install
Password:
make: *** No rule to make target `install'.  Stop.
Pauls-MacBook-Air:wxWidgets-3.0.2 pdenlinger$ 
When I tried to make it, I got this line:

Code: Select all

Pauls-MacBook-Air:wxWidgets-3.0.2 pdenlinger$ sudo make install
Password:
make: *** No rule to make target `install'.  Stop.
FYI, the wxWidgets directory is in my Codelite directory.

Here are my environment variables:

Code: Select all

Pauls-MacBook-Air:~ pdenlinger$ echo $PATH
/Users/pdenlinger/.rvm/gems/ruby-2.1.1/bin:/Users/pdenlinger/.rvm/gems/ruby-2.1.1@global/bin:/Users/pdenlinger/.rvm/rubies/ruby-2.1.1/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/git/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin:/Users/pdenlinger/.rvm/bin
Thank you.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by eranif »

pdenlinger wrote:make: *** No rule to make target `install'.  Stop.
If you followed the steps I provided here, then you should be running

Code: Select all

sudo make install
from the build-release folder

Eran
Make sure you have read the HOW TO POST thread
pdenlinger
CodeLite Curious
Posts: 7
Joined: Wed Oct 22, 2014 12:33 am
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by pdenlinger »

Yes, thank you.

I ran "sudo make install" in the previous line, and it asked for my PW (as it should). But then when I did, it returned the line:

Code: Select all

make: *** No rule to make target `install'.  Stop
.

Just retried it again just to make sure that it was consistent, and it returned the same line again.
User avatar
eranif
CodeLite Plugin
Posts: 6367
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Problem running Cmake on Yosemite for Mac

Post by eranif »

Can you please describe the steps you used for building wxWidgets?

Eran
Make sure you have read the HOW TO POST thread
Post Reply