Error installing gmp

John T. Chung jchung at nyquest.com
Thu May 19 03:19:36 PDT 2016


Hello all,

I'm a macbook pro running OSX 10.8.5
I'm trying to install gmp via mac ports but getting this error:














*sh-3.2# port install gmpWarning: The Xcode Command Line Tools don't appear
to be installed; most ports will likely fail to build.Warning: You can
install them from Xcode's Preferences in the Downloads section.Warning: See
http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43
<http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43>
for more information.--->  Configuring gmpWarning: No processor dependent
assembly code being used. gmp might be slower.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.logError:
org.macports.configure for port gmp returned: configure failure: command
execution failedPlease see the log file for port gmp for details:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.logTo
report a bug, follow the instructions in the guide:
http://guide.macports.org/#project.tickets
<http://guide.macports.org/#project.tickets>Error: Processing of port gmp
failedsh-3.2# *

when I view this log file:

*/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log*

I see this:







*: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:info:configure configure: error: could not find a
working compiler, see config.log for details: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:info:configure Exit code:
1: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:error:configure
org.macports.configure for port gmp returned: configure failure: command
execution failed*

However,  and this is the strange part , if I run the command which failed
manually:


*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*
that step works fine.



















*config.status: linking mpn/x86_64/aorrlsh2_n.asm to
mpn/addlsh2_n.asmconfig.status: linking mpn/x86_64/aorrlsh2_n.asm to
mpn/rsblsh2_n.asmconfig.status: linking mpn/x86_64/k8/aorrlsh_n.asm to
mpn/addlsh_n.asmconfig.status: linking mpn/x86_64/k8/aorrlsh_n.asm to
mpn/rsblsh_n.asmconfig.status: linking mpn/generic/add_n_sub_n.c to
mpn/add_n_sub_n.cconfig.status: linking mpn/x86_64/addaddmul_1msb0.asm to
mpn/addaddmul_1msb0.asmconfig.status: linking mpn/x86_64/k8/gmp-mparam.h to
gmp-mparam.hconfig.status: executing libtool commandsconfigure: summary of
build options:  Version:           GNU MP 6.1.0  Host type:
x86_64-apple-darwin12.5.0  ABI:               64  Install prefix:
/opt/local  Compiler:          gcc  Static libraries:  yes  Shared
libraries:  yes*

Any idea what's going on here?

-- 




*John ChungTechnology ArchitectNyquest Consultinghttp://www.nyquest.com
<http://www.nyquest.com>Mobile 419.464.9637 Office: 419.973.9072*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-users/attachments/20160519/d2d7f9fb/attachment.html>


More information about the macports-users mailing list