Opened 9 years ago

Closed 9 years ago

#49313 closed defect (invalid)

failed to install cmake on OS X 10.11 — at Version 1

Reported by: liulang.phy@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: Cc: ryandesign@…
Port: cmake

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

I have Xcode7.0.1 and newest command line tools installed. Macports is updated. But I failed to install cmake on OS X EI Capitan 10.11

sudo port install cmake
--->  Computing dependencies for cmake
--->  Fetching archive for cmake
Warning: Your DNS servers incorrectly claim to know the address of nonexistent hosts. This may cause checksum mismatches for some ports. See this page for more information: <https://trac.macports.org/wiki/MisbehavingServers>
--->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from http://jog.id.packages.macports.org/macports/packages/cmake
--->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from http://packages.macports.org/cmake
--->  Attempting to fetch cmake-3.3.2_1.darwin_15.x86_64.tbz2 from http://lil.fr.packages.macports.org/cmake
--->  Fetching distfiles for cmake
--->  Attempting to fetch cmake-3.3.2.tar.gz from http://cjj.kr.distfiles.macports.org/cmake
--->  Verifying checksums for cmake 
--->  Extracting cmake
--->  Applying patches to cmake
--->  Configuring cmake
--->  Building cmake
Error: org.macports.build for port cmake returned: 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

any suggestions? Thx

Change History (2)

Changed 9 years ago by liulang.phy@…

Attachment: main.log added

main log

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

Cc: ryandesign@… added
Description: modified (diff)
Port: cmake added
Resolution: invalid
Status: newclosed

The log shows the build failed due to undefined curl symbols. It also shows the reason for that was this:

:info:build ld: warning: ignoring file /Library/Frameworks/libcurl.framework/libcurl, missing required architecture x86_64 in file /Library/Frameworks/libcurl.framework/libcurl (2 slices)

Please remove the file /Library/Frameworks/libcurl.framework; it interferes with MacPorts. Other frameworks installed there could interfere too, and ideally should be removed as well. This is similar to the problem with installing software into /usr/local, which is documented in wiki/FAQ#usrlocal.

These frameworks may have been installed by other non-MacPorts software you're using, so removing the frameworks may break those programs.

Note: See TracTickets for help on using tickets.