[CMake] OSX incorrect path problem

Bo Huang BHuang at xrite.com
Wed Sep 10 13:51:01 EDT 2008


Cat ~/.bash_profile

Export PATH=/usr/local/bin:$PATH

 

Echo $PATH

/usr/local/bin:bin:/sbin:/usr/bin:/usr/sbin

 

Cat ~/.MacOSX/environment.plist

No such file or directory

 

Thus I am unsure where CMake is getting that erroneous directory. 

 

I use cmake-2.6.1-Darwin-universal on OSX 10.4.9

 

________________________________

From: David Cole [mailto:david.cole at kitware.com] 
Sent: Wednesday, September 10, 2008 1:11 PM
To: Bo Huang
Cc: cmake at cmake.org
Subject: Re: [CMake] OSX incorrect path problem

 

There is no occurrence of "Develeper" in the CMake code base right now
(either in CVS HEAD or the CMake-2-6 branch...)

 

It must be coming from someplace else on your system.

(Check the files "~/.bash_profile" and/or "~/.MacOSX/environment.plist"
... ?)

 

See http://developer.apple.com/qa/qa2001/qa1067.html or google for more
info on environment variables on the Mac.

 

 

 

On Wed, Sep 10, 2008 at 11:43 AM, Bo Huang <BHuang at xrite.com> wrote:

On OSX, while running CMake-GUI

 

CMAKE_OSX_SYSROOT is always /Develeper/SDKs/MacOSX10.4u.sdk

 

Notice the incorrect spelling 'Develeper' instead of Developer. Nor does
this erroneous directory exist.

 

I correct the spelling but after pressing 'Configure', it switches back.

 

Moreover, this directory, misspelled or not, does not exist when I type
'set' or 'env' in a command line. I also uninstalled, restarted, and
reinstalled Xcode.

 

Where in OSX or CMake can I correct this behavior?

 

Thanks


_______________________________________________
CMake mailing list
CMake at cmake.org
http://www.cmake.org/mailman/listinfo/cmake

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080910/dd7b240b/attachment.htm>


More information about the CMake mailing list