<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="">---&gt;  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 &quot;/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&quot;.</p><p class="">:info:configure Command failed:  cd &quot;/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/work/CGAL-4.4&quot; &amp;&amp; /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=&quot;/opt/local;/usr&quot; -DCMAKE_MODULE_PATH=/opt/local/share/cmake/modules -DCMAKE_FIND_FRAMEWORK=LAST -Wno-dev -DCGAL_INSTALL_CMAKE_DIR=&quot;share/CGAL/cmake&quot; -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=&quot;-DNDEBUG&quot; -DCMAKE_CXX_FLAGS_RELEASE=&quot;-DNDEBUG&quot; -DCMAKE_OSX_ARCHITECTURES=&quot;x86_64&quot; -DCMAKE_OSX_SYSROOT=&quot;/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk&quot; -DCMAKE_OSX_DEPLOYMENT_TARGET=&quot;10.9&quot;</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="">&quot;portconfigure::configure_main org.macports.configure&quot;</p><p class="">    (&quot;eval&quot; body line 1)</p>
<p class="">    invoked from within</p><p class="">&quot;eval $procedure $targetname&quot;</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">&lt;<a href="mailto:ryandesign@macports.org" target="_blank">ryandesign@macports.org</a>&gt;</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>
&gt; I get an error during cgal configuration:<br>
&gt;<br>
&gt; ---&gt;  Configuring cgal<br>
&gt; Error: org.macports.configure for port cgal returned: configure failure: command execution failed<br>
&gt; Please see the log file for port cgal for details:<br>
&gt;     /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gis_cgal/cgal/main.log<br>
&gt; Error: Unable to upgrade port: 1<br>
&gt;<br>
&gt; The last few lines in the log file suggests a cmake problem (I could be wrong!):<br>
&gt;<br>
&gt; :info:configure<br>
&gt; :info:configure CMake Error at /opt/local/share/cmake-2.8/Modules/Platform/Darwin.cmake:211 (message):<br>
&gt; :info:configure   CMAKE_OSX_DEPLOYMENT_TARGET is &#39;10.9&#39; but CMAKE_OSX_SYSROOT:<br>
&gt; :info:configure<br>
&gt; :info:configure    &quot;&quot;<br>
&gt; :info:configure<br>
&gt; :info:configure   is not set to a MacOSX SDK with a recognized version.  Either set<br>
&gt; :info:configure   CMAKE_OSX_SYSROOT to a valid SDK or set CMAKE_OSX_DEPLOYMENT_TARGET to<br>
&gt; :info:configure   empty.<br>
<br>
</div>We&#39;ve had quite a few tickets about this problem; here&#39;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&#39;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&#39;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>