Error updating macports
Ryan Schmidt
ryandesign at macports.org
Sat May 17 12:44:46 PDT 2014
On May 17, 2014, at 07:14, Ted Kord wrote:
> I get an error during cgal configuration:
>
> ---> Configuring cgal
> Error: org.macports.configure for port cgal returned: configure failure: command execution failed
> Please see the log file for port cgal for details:
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log
> Error: Unable to upgrade port: 1
>
> The last few lines in the log file suggests a cmake problem (I could be wrong!):
>
> :info:configure
> :info:configure CMake Error at /opt/local/share/cmake-2.8/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.
We've had quite a few tickets about this problem; here's one:
https://trac.macports.org/ticket/41321
I don't see this problem building cgal on my system anymore, so we may already have resolved it in the latest versions of things.
First, make sure you're up to date:
sudo port selfupdate
sudo port clean cgal
sudo port upgrade outdated
Then try again. If cgal still fails, what version of MacPorts are you using? If a version earlier than 2.3.0rc1, please try 2.3.0rc1, available here:
https://lists.macosforge.org/pipermail/macports-users/2014-May/035383.html
More information about the macports-users
mailing list