Go Back   The macosxhints Forums > OS X Help Requests > UNIX - General



Reply
 
Thread Tools Rate Thread Display Modes
Old 09-08-2010, 02:41 AM   #1
aneuryzma
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 ?
aneuryzma is offline   Reply With Quote
Old 09-08-2010, 03:30 AM   #2
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
You should use Fink or MacPorts
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 09-08-2010, 03:32 AM   #3
aneuryzma
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 ?
aneuryzma is offline   Reply With Quote
Old 09-08-2010, 03:35 AM   #4
hayne
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
hayne is offline   Reply With Quote
Old 09-08-2010, 03:38 AM   #5
aneuryzma
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.
aneuryzma is offline   Reply With Quote
Old 09-08-2010, 03:39 AM   #6
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
Maybe it's merely not in your execution PATH.
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 09-08-2010, 03:44 AM   #7
aneuryzma
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
aneuryzma is offline   Reply With Quote
Old 09-08-2010, 09:47 AM   #8
hayne
Site Admin
 
Join Date: Jan 2002
Location: Montreal
Posts: 31,938
See this Unix FAQ
__________________
hayne.net/macosx.html
hayne is offline   Reply With Quote
Old 09-08-2010, 04:31 PM   #9
blb
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.
blb is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 09:01 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.