Opened 11 years ago

Closed 11 years ago

#41212 closed defect (invalid)

cmake: CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but the matching SDK does not exist

Reported by: h.ee@… Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: mavericks Cc: ryandesign (Ryan Carsten Schmidt), nerdling (Jeremy Lavergne)
Port: cmake

Description (last modified by ryandesign (Ryan Carsten Schmidt))

when I tried to install macports, it showed error as:

 Dependencies to be installed: bison gstreamer010-gst-plugins-base gnome-vfs gconf gtk2 pango harfbuzz graphite2 cmake pkgconfig shared-mime-info xorg-libXcomposite xorg-compositeproto xorg-libXfixes xorg-fixesproto xorg-libXcursor xorg-libXdamage xorg-damageproto xorg-libXi xorg-libXinerama xorg-xineramaproto xorg-libXrandr xorg-randrproto orbit2 libidl policykit gnome-mime-data libtheora libvorbis libogg orc xorg-libice xorg-libsm lcms mesa makedepend xorg-dri2proto xorg-glproto xorg-libXmu xorg-libXt xorg-libXxf86vm xorg-xf86vidmodeproto
--->  Configuring cmake
Error: org.macports.configure for port cmake returned: configure failure: command execution failed
Error: Failed to install cmake

my system is OSX 10.9

i don't know if the problem relates to the Xcode. Cause after I downloaded and installed the Xcode, and run xcode-select --install in to the terminal, followed the instruction, it shows 'Can't install the software because it is not currently available from the Software Update server.'

Attachments (2)

cmake-10.9-config-fail.log (86.2 KB) - added by Russell-Jones-OxPhys (Russell Jones) 11 years ago.
cmake build failure
main.log (7.4 KB) - added by h.ee@… 11 years ago.
cmake fail log

Download all attachments as: .zip

Change History (16)

comment:1 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Description: modified (diff)
Keywords: mavericks added; cmake removed
Owner: changed from macports-tickets@… to css@…
Port: cmake added
Summary: rrtool @ 2.2.1 + fail to install cmakecmake: configure fails

Attach the main.log so we can see why it failed.

But if you haven't installed the command line tools, that would be a good reason for it to fail.

It builds fine for me on Mavericks.

Install the command line tools. If "xcode-select --install" doesn't work, download the standalone installer from Apple.

Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

Attachment: cmake-10.9-config-fail.log added

cmake build failure

comment:2 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

Hi,

I get an error about the 10.9 SDK being missing, which it is on both Mavericks installs I have. One is a clean install, the other an upgrade. I ran xcode-select --install on both, then installed Xcode. On the machine the log is from, I downloaded and installed the CLI tools and removed then reinstalled MacPorts completely before installing just cmake.

comment:3 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Summary: cmake: configure failscmake: CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but the matching SDK does not exist

The log says:

:info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but the matching SDK does not exist
:info:configure   at:
:info:configure
:info:configure    "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk"

/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:4 in reply to:  3 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

I've already installed (copied from .dmg to /Applications) Xcode 5 twice. It doesn't seem to make the 10.9 SDK appear. I'll try downloading it again.

comment:5 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

I installed 5.0.2 (I had been using 5.0.1) and it's started building successfully. Thanks for looking into it.

Last edited 11 years ago by Russell-Jones-OxPhys (Russell Jones) (previous) (diff)

comment:6 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

Glad that's working.

Where di you get a dmg with Xcode 5.0.1? It worked fine for me when installed from the Mac App Store. Perhaps the dmg you downloaded contained an incomplete Xcode.

comment:7 in reply to:  6 Changed 11 years ago by Russell-Jones-OxPhys (Russell Jones)

Replying to ryandesign@…:

Glad that's working.

Where di you get a dmg with Xcode 5.0.1? It worked fine for me when installed from the Mac App Store. Perhaps the dmg you downloaded contained an incomplete Xcode.

From https://developer.apple.com We don't install via the app-store here since we don't find it suitable for mass centrally managed deployment.

Russell

comment:8 Changed 11 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added

Cc Me!

comment:9 in reply to:  1 Changed 11 years ago by h.ee@…

Replying to ryandesign@…:

Attach the main.log so we can see why it failed.

But if you haven't installed the command line tools, that would be a good reason for it to fail.

It builds fine for me on Mavericks.

Install the command line tools. If "xcode-select --install" doesn't work, download the standalone installer from Apple.

I installed the command line tools, and when I run "xcode-select --install"again, it shows the same thing that 'Can't install the software because it is not currently available from the Software Update server.' I put the main log in the attachment

Last edited 11 years ago by h.ee@… (previous) (diff)

Changed 11 years ago by h.ee@…

Attachment: main.log added

cmake fail log

comment:10 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

h.ee, your log shows a slightly different error; we've seen a third different error with cmake in another ticket. Same question to you: where did you get Xcode? Did you download from the developer web site like Russell, or from the Mac App Store? Also, does upgrading to 5.0.2 help, like it did for Russell?

comment:11 in reply to:  10 ; Changed 11 years ago by h.ee@…

Replying to ryandesign@…:

h.ee, your log shows a slightly different error; we've seen a third different error with cmake in another ticket. Same question to you: where did you get Xcode? Did you download from the developer web site like Russell, or from the Mac App Store? Also, does upgrading to 5.0.2 help, like it did for Russell?

I downloaded it from apple store, and just updated.

comment:12 Changed 11 years ago by ryandesign (Ryan Carsten Schmidt)

And did that help or not?

comment:13 in reply to:  11 Changed 11 years ago by h.ee@…

Replying to h.ee@…:

Replying to ryandesign@…:

h.ee, your log shows a slightly different error; we've seen a third different error with cmake in another ticket. Same question to you: where did you get Xcode? Did you download from the developer web site like Russell, or from the Mac App Store? Also, does upgrading to 5.0.2 help, like it did for Russell?

I downloaded it from apple store, and just updated.

Finally I fixed it!. I uninstall the previous xcode, and downloaded it again, somehow it worked! Thank all of your help! But I didn't install macport I used homebrew. Anyway, the wine works!

comment:14 Changed 11 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.