Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#40845 closed defect (invalid)

cmake fails to install under Mavericks

Reported by: llamafilm Owned by: cssdev
Priority: Normal Milestone:
Component: ports Version: 2.2.0
Keywords: mavericks Cc: nils.hjelte@…, ryandesign (Ryan Carsten Schmidt)
Port: cmake

Description

Trying to install cmake in OS X 10.9 Mavericks gives the following error. I think the first 2 warnings are irrelevant, and related to the fact that I installed the Xcode command line tools without the entire Xcode application.

$ sudo port install cmake
Password:
Warning: xcodebuild exists but failed to execute
Warning: Xcode does not appear to be installed; most ports will likely fail to build.
--->  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

Attachments (1)

main.log (14.8 KB) - added by llamafilm 11 years ago.
cmake log

Download all attachments as: .zip

Change History (7)

Changed 11 years ago by llamafilm

Attachment: main.log added

cmake log

comment:1 Changed 11 years ago by nils.hjelte@…

Cc: nils.hjelte@… added

Cc Me!

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

Unable to reproduce; it installs fine for me. Are you sure you followed the migration instructions fully? Please install Xcode as well.

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

Cc: ryandesign@… added
Keywords: mavericks added
Owner: changed from macports-tickets@… to css@…
Port: cmake added

comment:4 Changed 11 years ago by llamafilm

I had previously only installed the Xcode command line tools. After your recommendation, here's what I did:

Install full Xcode from App Store, launch it to finish installing

port -qv installed > myports.txt
sudo port -f uninstall installed
sudo port clean all
cd MacPorts-2.2.0/
make clean
./configure
make
sudo make install

At this point, macports.conf has both lines commented already as shown in the migration guide.

sudo port selfupdate
sudo port install cmake

Problem solved.

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

Resolution: invalid
Status: newclosed

Great, glad that worked.

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

Has duplicate #40965.

Note: See TracTickets for help on using tickets.