Opened 10 years ago
Last modified 10 years ago
#46167 closed defect
cmake fails to build on clean 2.3.3 installation — at Initial Version
Reported by: | diochnos | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | cmake |
Description
I find it hard to believe that I am posting this ticket, but I can not see what I have done wrong.
In a nutshell: cmake fails to install on a new macports installation.
Background: There was a previous version of macports installed on the system (before the upgrade to Yosemite), which was uninstalled entirely (together with complete removal of the /opt/local/ directory). In particular, for the previous version I gave the following:
$ sudo port -f uninstall installed
$ sudo port clean all
For this version (2.3.3) I also gave a
$ make clean
before I started.
This time I attempted a custom installation with the following command for configuration:
$ env PATH=/usr/bin:/bin:/usr/sbin:/sbin CFLAGS="-pipe -Os" ./configure --prefix=/opt/macports/yosemite --with-applications-dir=/opt/macports/yosemite/Applications
Other than that
$ make
$ sudo make install
$ sudo port selfupdate
$ sudo port upgrade outdated
(everything as expected; meanwhile I also gave at some point xcode-select --install
, so that's not a problem either)
Then:
$ sudo port install cmake
fails on the last package, when attempting to bring in cmake.
Upon the error:
$ sudo port clean cmake
$ sudo port install cmake
Same problem (even with a restart). Log attached. Running Xcode 6.1.1 on OS X 10.10.1.
Log file