<div dir="ltr"><div><div><div><div><div><div>Hello all, <br><br></div>I'm a macbook pro running OSX 10.8.5<br></div>I'm trying to install gmp via mac ports but getting this error:<br><b><span style="font-family:monospace,monospace"><br>sh-3.2# port install gmp<br>Warning: The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.<br>Warning: You can install them from Xcode's Preferences in the Downloads section.<br>Warning: See <a href="http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43">http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43</a> for more information.<br>---> Configuring gmp<br>Warning: No processor dependent assembly code being used. gmp might be slower.<br>Error: Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.0/config.log<br>Error: org.macports.configure for port gmp returned: configure failure: command execution failed<br>Please see the log file for port gmp for details:<br> /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log<br>To report a bug, follow the instructions in the guide:<br> <a href="http://guide.macports.org/#project.tickets">http://guide.macports.org/#project.tickets</a><br>Error: Processing of port gmp failed<br>sh-3.2# </span></b><br><br></div>when I view this log file:<br><br> <span style="font-family:monospace,monospace"><b>/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log</b></span><br><br></div>I see this:<br><br><span style="font-family:monospace,monospace"><b>:info:configure checking compiler /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -O2 -pedantic -fomit-frame-pointer -m64 -I/opt/local/include... no, gnupro alpha ev6 char spilling<br>:info:configure configure: error: could not find a working compiler, see config.log for details<br>:info:configure Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.0" && ./configure --prefix=/opt/local --enable-cxx<br>:info:configure Exit code: 1<br>:error:configure Failed to configure gmp, consult /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.0/config.log<br>:error:configure org.macports.configure for port gmp returned: configure failure: command execution failed<br></b></span><br><br></div>However, and this is the strange part , if I run the command which failed manually:<br><br><b><span style="font-family:monospace,monospace">cd
"/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-6.1.0"
&& ./configure --prefix=/opt/local --enable-cxx<br></span></b><br></div>that step works fine.<br><br><b><span style="font-family:monospace,monospace">config.status: linking mpn/x86_64/aorrlsh2_n.asm to mpn/addlsh2_n.asm<br>config.status: linking mpn/x86_64/aorrlsh2_n.asm to mpn/rsblsh2_n.asm<br>config.status: linking mpn/x86_64/k8/aorrlsh_n.asm to mpn/addlsh_n.asm<br>config.status: linking mpn/x86_64/k8/aorrlsh_n.asm to mpn/rsblsh_n.asm<br>config.status: linking mpn/generic/add_n_sub_n.c to mpn/add_n_sub_n.c<br>config.status: linking mpn/x86_64/addaddmul_1msb0.asm to mpn/addaddmul_1msb0.asm<br>config.status: linking mpn/x86_64/k8/gmp-mparam.h to gmp-mparam.h<br>config.status: executing libtool commands<br>configure: summary of build options:<br><br> Version: GNU MP 6.1.0<br> Host type: x86_64-apple-darwin12.5.0<br> ABI: 64<br> Install prefix: /opt/local<br> Compiler: gcc<br> Static libraries: yes<br> Shared libraries: yes<br><br clear="all"></span></b><div><div><div><div><div><div><div><br></div><div>Any idea what's going on here?<br><br></div><div>-- <br><div class="gmail_signature"><font size="2"><i><b><span style="font-family:times new roman,serif">John Chung</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Technology Architect</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Nyquest Consulting</span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif"><a href="http://www.nyquest.com" target="_blank">http://www.nyquest.com</a></span><br style="font-family:times new roman,serif"><span style="font-family:times new roman,serif">Mobi<font size="2">le 419.464.9637 Office: </font>419.973.9072</span></b></i></font><br></div>
</div></div></div></div></div></div></div></div>