<div dir="ltr">Hi Ryan<div><br></div><div>Sorry for the late reply.</div><div><br></div><div>I just updated to the latest version of MacPorts: 2.3.0. Then:</div><div><br></div><div>sudo port clean cgal</div><div>sudo port upgrade outdated</div>
<div><br></div><div>I still get: </div><div><br></div><div>
<p class="">---> Configuring cgal</p>
<p class="">Error: org.macports.configure for port cgal returned: configure failure: command execution failed</p>
<p class="">Please see the log file for port cgal for details:</p>
<p class=""> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log</p>
<p class="">Error: Unable to upgrade port: 1</p><p class="">====</p><p class="">The last lines of the log file:</p><p class=""><br></p><p class="">:info:configure -- Configuring incomplete, errors occurred!</p><p class="">
:info:configure See also "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/work/CGAL-4.4/CMakeFiles/CMakeOutput.log".</p><p class="">:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/work/CGAL-4.4" && /opt/local/bin/cmake -DCMAKE_INSTALL_PREFIX=/opt/local -DCMAKE_VERBOSE_MAKEFILE=ON -DCMAKE_COLOR_MAKEFILE=ON -DCMAKE_BUILD_TYPE=Release -DCMAKE_BUILD_WITH_INSTALL_RPATH=ON -DCMAKE_INSTALL_RPATH=/opt/local/lib -DCMAKE_INSTALL_NAME_DIR=/opt/local/lib -DCMAKE_SYSTEM_PREFIX_PATH="/opt/local;/usr" -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DCGAL_INSTALL_CMAKE_DIR="share/CGAL/cmake" -DWITH_CGAL_Qt3:BOOL=OFF -DWITH_CGAL_Qt4:BOOL=OFF -DBoost_DIR:PATH=/opt/local -DWITH_Eigen3:BOOL=ON -DWITH_ZLIB:BOOL=ON -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG" -DCMAKE_OSX_ARCHITECTURES="x86_64" -DCMAKE_OSX_SYSROOT="/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" -DCMAKE_OSX_DEPLOYMENT_TARGET="10.9"</p>
<p class="">:info:configure Exit code: 1</p><p class="">:error:configure org.macports.configure for port cgal returned: configure failure: command execution failed</p><p class="">:debug:configure Error code: NONE</p><p class="">
:debug:configure Backtrace: configure failure: command execution failed</p><p class=""> while executing</p><p class="">"portconfigure::configure_main org.macports.configure"</p><p class=""> ("eval" body line 1)</p>
<p class=""> invoked from within</p><p class="">"eval $procedure $targetname"</p><p class="">
</p><p class="">:info:configure Warning: targets not executed for cgal: org.macports.install org.macports.configure org.macports.build org.macports.destroot</p></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On 17 May 2014 20:44, Ryan Schmidt <span dir="ltr"><<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="">On May 17, 2014, at 07:14, Ted Kord wrote:<br>
<br>
> I get an error during cgal configuration:<br>
><br>
> ---> Configuring cgal<br>
> Error: org.macports.configure for port cgal returned: configure failure: command execution failed<br>
> Please see the log file for port cgal for details:<br>
> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log<br>
> Error: Unable to upgrade port: 1<br>
><br>
> The last few lines in the log file suggests a cmake problem (I could be wrong!):<br>
><br>
> :info:configure<br>
> :info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake:211 (message):<br>
> :info:configure CMAKE_OSX_DEPLOYMENT_TARGET is '10.9' but CMAKE_OSX_SYSROOT:<br>
> :info:configure<br>
> :info:configure ""<br>
> :info:configure<br>
> :info:configure is not set to a MacOSX SDK with a recognized version. Either set<br>
> :info:configure CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to<br>
> :info:configure empty.<br>
<br>
</div>We've had quite a few tickets about this problem; here's one:<br>
<br>
<a href="https://trac.macports.org/ticket/41321" target="_blank">https://trac.macports.org/ticket/41321</a><br>
<br>
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.<br>
<br>
First, make sure you're up to date:<br>
<br>
sudo port selfupdate<br>
sudo port clean cgal<br>
sudo port upgrade outdated<br>
<br>
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:<br>
<br>
<a href="https://lists.macosforge.org/pipermail/macports-users/2014-May/035383.html" target="_blank">https://lists.macosforge.org/pipermail/macports-users/2014-May/035383.html</a><br>
<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>Best regards,<div><br></div><div>Theodore</div><div><br></div>
</div>