Opened 13 years ago

Closed 13 years ago

#33730 closed defect (invalid)

Error configuring gmp

Reported by: s.mahajan1@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: Cc:
Port: gmp

Description (last modified by mf2k (Frank Schima))

I am trying to get pgplot using v2.0.4 (Xcode v.4.3.2) I am getting the following error. Please help!

phym-staff-041:~ smaha3$ sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer
phym-staff-041:~ smaha3$ sudo port install pgplot
--->  Computing dependencies for pgplot
--->  Dependencies to be installed: gcc45 gmp libiconv gperf libmpc mpfr xz gettext expat ncurses ncursesw ppl glpk zlib m4 libpng pkgconfig glib2 libffi perl5 perl5.12 gdbm xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 bzip2 db46 libedit openssl python_select sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans
--->  Configuring gmp
Warning: No processor dependent assembly code being used. gmp might be slower.
Error: Target org.macports.configure returned: configure failure: shell command failed (see log for details)
Error: Failed to install gmp
Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log
Error: The following dependencies were not installed: gcc45 gmp libiconv gperf libmpc mpfr xz gettext expat ncurses ncursesw ppl glpk zlib m4 libpng pkgconfig glib2 libffi perl5 perl5.12 gdbm xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 bzip2 db46 libedit openssl python_select sqlite3 python27 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans
Error: Status 1 encountered during processing.
To report a bug, see <http://guide.macports.org/#project.tickets>

Change History (5)

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Cc: s.mahajan1@… removed
Description: modified (diff)
Keywords: pgplot removed
Port: gmp added; pgplot removed
Summary: problem installing pgplotError configuring gmp

Please attach the log mentioned in the output so we can see what the problem is.

comment:2 Changed 13 years ago by s.mahajan1@…

where can I look for this log? please advice. Thanks!

comment:3 Changed 13 years ago by mf2k (Frank Schima)

Quoted from the output you provided:

Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log

comment:4 in reply to:  3 Changed 13 years ago by s.mahajan1@…

Replying to macsforever2000@…:

Quoted from the output you provided:

Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log

The log file reads:

version:1 :debug:main changing euid/egid - current euid: 0 - current egid: 0 :debug:main egid changed to: 501 :debug:main euid changed to: 503 :debug:main Executing org.macports.main (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.archivefetch (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.fetch (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.checksum (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.extract (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:main Skipping completed org.macports.patch (gmp) :debug:main Privilege de-escalation not attempted as not running as root. :debug:configure configure phase started at Fri Mar 23 17:26:32 EST 2012 :notice:configure ---> Configuring gmp :debug:configure Using compiler 'Mac OS X clang' :debug:configure Executing proc-pre-org.macports.configure-configure-0 :warn:configure No processor dependent assembly code being used. gmp might be slower. :debug:configure Executing org.macports.configure (gmp) :debug:configure Environment: CPATH='/opt/local/include' CPPFLAGS='-I/opt/local/include' LIBRARY_PATH='/opt/local/lib' MACOSX_DEPLOYMENT_TARGET='10.7' CXX='/usr/bin/llvm-g++-4.2' CC_PRINT_OPTIONS_FILE='/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/.CC_PRINT_OPTIONS' F90FLAGS='-O2 -m64' LDFLAGS='-L/opt/local/lib' OBJC='/usr/bin/clang' FCFLAGS='-O2 -m64' GI_SCANNER_DISABLE_CACHE='1' INSTALL='/usr/bin/install -c' OBJCFLAGS='-O2 -arch x86_64' FFLAGS='-O2 -m64' ABI='64' CC_PRINT_OPTIONS='YES' CC='/usr/bin/clang' :debug:configure Assembled command: 'cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-5.0.4" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --enable-cxx --build=x86_64-apple-darwin11.3.0' :debug:configure Executing command line: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-5.0.4" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --enable-cxx --build=x86_64-apple-darwin11.3.0 :info:configure checking build system type... x86_64-apple-darwin11.3.0 :info:configure checking host system type... x86_64-apple-darwin11.3.0 :info:configure checking for a BSD-compatible install... /usr/bin/install -c :info:configure checking whether build environment is sane... yes :info:configure checking for a thread-safe mkdir -p... ./install-sh -c -d :info:configure checking for gawk... no :info:configure checking for mawk... no :info:configure checking for nawk... no :info:configure checking for awk... awk :info:configure checking whether make sets $(MAKE)... yes :info:configure checking whether to enable maintainer-specific portions of Makefiles... no :info:configure checking ABI=64 :info:configure checking compiler /usr/bin/clang -I/opt/local/include... no :info:configure configure: error: could not find a working compiler, see config.log for details :info:configure shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/work/gmp-5.0.4" && ./configure --prefix=/opt/local --infodir=/opt/local/share/info --enable-cxx --build=x86_64-apple-darwin11.3.0 " returned error 1 :error:configure Target org.macports.configure returned: configure failure: shell command failed (see log for details) :debug:configure Backtrace: configure failure: shell command failed (see log for details)

while executing

"$procedure $targetname" :info:configure Warning: the following items did not execute (for gmp): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install :error:configure Failed to install gmp :debug:configure couldn't open "/System/Library/Frameworks/Tcl.framework/Versions/8.5/Resources/tclIndex": no such file or directory

while executing

"open [file join $dir tclIndex]" :notice:configure Log for gmp is at: /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_gmp/gmp/main.log

comment:5 Changed 13 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

In the future, please use WikiFormatting. Please attach the log mentioned, not paste the code into a comment.

Based on your (hard to read) output, you do not have Xcode installed or at least not correctly. Please read the wiki about that and follow-up on the Macports-users mailing list if you are still having problems.

Note: See TracTickets for help on using tickets.