|
|
#1 |
|
Triple-A Player
Join Date: May 2007
Posts: 158
|
CMAKE on mac: command is not found
I downloaded CMAKE but the installation program says I already have a newer version installed on my mac.
From terminal I run cmake or ccmake and it says that the command is not found What should I do ? |
|
|
|
|
|
#2 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
You should use Fink or MacPorts
__________________
hayne.net/macosx.html |
|
|
|
|
|
#3 |
|
Triple-A Player
Join Date: May 2007
Posts: 158
|
COuld you elaborate more ? Why do I need to install it again if I already have it ?
|
|
|
|
|
|
#4 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Could you elaborate more? Are you already using Fink or MacPorts? They make installing open-source software much easier.
__________________
hayne.net/macosx.html |
|
|
|
|
|
#5 |
|
Triple-A Player
Join Date: May 2007
Posts: 158
|
oh ok, no I haven't them. But it seems that I already have cmake. Or bettern, the cmake installation software detects an existing version of it.
However, from terminal the command is not found. |
|
|
|
|
|
#6 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
Maybe it's merely not in your execution PATH.
__________________
hayne.net/macosx.html |
|
|
|
|
|
#7 |
|
Triple-A Player
Join Date: May 2007
Posts: 158
|
could you shortly tell me how I should add it ? Or just see what's inside my execution path
Also, I have no clue where cmake is installed |
|
|
|
|
|
#8 |
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
|
See this Unix FAQ
__________________
hayne.net/macosx.html |
|
|
|
|
|
#9 |
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 908
|
If you installed the one from cmake.org it looks like it installs an app bundle, with the cmake command line binaries within that at CMake 2.8-2.app/Contents/bin . If that's the case and assuming you placed that app in /Applications, then you'd add /Applications/CMake 2.8-2.app/Contents/bin to your PATH.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|