Opened 11 years ago
Closed 10 years ago
#41318 closed defect (fixed)
cmake: Ignoring CMAKE_OSX_SYSROOT value because the directory does not exist
Reported by: | guesn10000@… | Owned by: | cssdev |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.2.1 |
Keywords: | mavericks | Cc: | ryandesign (Ryan Carsten Schmidt), valery.vv@…, mojca (Mojca Miklavec) |
Port: | cmake |
Description
When I tried to install putty for mac, it showed error as:
---> Computing dependencies for putty ---> Dependencies to be installed: gtk2 pango harfbuzz graphite2 cmake shared-mime-info intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto ---> Configuring cmake Error: org.macports.configure for port cmake returned: configure failure: command execution failed Error: Failed to install cmake Please see the log file for port cmake for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log Error: The following dependencies were not installed: gtk2 pango harfbuzz graphite2 cmake shared-mime-info intltool gnome-common p5.12-getopt-long p5.12-pathtools p5.12-scalar-list-utils p5.12-xml-parser xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port putty failed
And I install cmake alone, it shows error like this:
---> Computing dependencies for cmake ---> Configuring cmake Error: org.macports.configure for port cmake returned: configure failure: command execution failed Please see the log file for port cmake for details: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port cmake failed
I think it failed because of configuring cmake error. And my operating system is 10.9. How can I fix the problems?
Attachments (4)
Change History (13)
Changed 11 years ago by guesn10000@…
comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Cc: | ryandesign@… added |
---|---|
Keywords: | mavericks added; putty cmake removed |
Owner: | changed from macports-tickets@… to css@… |
Port: | cmake added; Putty removed |
Priority: | High → Normal |
Summary: | Processing of port putty failed → cmake: Ignoring CMAKE_OSX_SYSROOT value because the directory does not exist |
The log says:
:info:configure Ignoring CMAKE_OSX_SYSROOT value: :info:configure :info:configure /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk :info:configure :info:configure because the directory does not exist.
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk should exist if you have installed Xcode 5.0.1. If it does not, something is wrong with your Xcode and you should reinstall it.
comment:2 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
We've had other reports of similar problems with cmake, when Xcode was installed via the dmg available on the Apple developer web site. If that's also how you installed Xcode, please try installing it using the Mac App Store instead; that worked for me.
comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)
Also, we've had a report that updating to Xcode 5.0.2 helped; try that.
comment:4 Changed 11 years ago by cssdev
Status: | new → assigned |
---|
Has updating Xcode resolved this issue?
comment:5 Changed 11 years ago by valery.vv@…
I have Xcode 5.0.2 installed, yet cmake
port fails to configure.
:info:configure CMake Error at Modules/Platform/Darwin.cmake:211 (message): :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but CMAKE_OSX_SYSROOT: :info:configure :info:configure "" :info:configure :info:configure is not set to a MacOSX SDK with a recognized version. Either set :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to :info:configure empty.
Attaching the following files to the ticket:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/main.log /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_cmake/cmake/work/cmake-2.8.12-x86_64/CMakeFiles/CMakeOutput.log
Changed 11 years ago by valery.vv@…
Attachment: | main.3.log added |
---|
Changed 11 years ago by valery.vv@…
Attachment: | CMakeOutput.log added |
---|
comment:9 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This should no longer be an issue since the cmake portgroup now always sets the SDK.
the log file for port cmake