[MacPorts] #52326: Failed to configure gmp on osSierra
#52326: Failed to configure gmp on osSierra -----------------------------+-------------------------------- Reporter: alexmartin715@… | Owner: macports-tickets@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Keywords: | Port: -----------------------------+-------------------------------- I have installed the latest Xcode (8.0) and command line tools. When I run {{{ sudo port install gmp +universal }}} I get: {{{ ---> Fetching distfiles for gmp ---> Verifying checksums for gmp ---> Extracting gmp ---> Applying patches to gmp ---> Configuring gmp 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.1-x86_64/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Please 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.log To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port gmp failed }}} I have tried cleaning and I have attached the config.log and main.log -- Ticket URL: <https://trac.macports.org/ticket/52326> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Changes (by ryandesign@…): * keywords: => sierra * owner: macports-tickets@… => mcalhoun@… * port: => gmp Comment: gmp built successfully on our Sierra buildbot worker, which suggests a problem on your machine. Are you certain you installed both Xcode 8 and the Xcode 8 version of the command line tools? -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:1> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by a.j.martin@…): Thanks, for the reply it could quite well be something on my machine. I have reinstalled Xcode and it is version 8. I did the command to install command line tools also and it says already installed, for updates go through the App Store and there are none available. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:2> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by shiqiu.iub@…): Replying to [comment:1 ryandesign@…]:
gmp built successfully on our Sierra buildbot worker, which suggests a problem on your machine. Are you certain you installed both Xcode 8 and the Xcode 8 version of the command line tools?
gmp built manually and passd all tests, but complained when installing via macports on my machine. I have Xcode 8 and the correct command line tool installed. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:4> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by arthur.michaut@…): Same error message. Xcode and command line tools are installed as well. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:6> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by andre.david@…): FWIW, I just processed my upgrade and `gmp @6.1.1_0+universal` installed without issue. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:7> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by shiqiu.iub@…): the problem appears to your older version of macports. Remove your macports completely as instructed and reinstall. In this way, gmp builds fine on my machine. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:8> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by arthur.michaut@…): You are right. I completely removed the old version by removing /opt/local and installed the new version. The installation of the gmp port went smoothly afterwards. Problem solved for me. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:9> MacPorts <https://www.macports.org/> Ports system for macOS
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+------------------------ Reporter: alexmartin715@… | Owner: mcalhoun@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+------------------------ Comment (by a.j.martin@…): Replying to [comment:8 shiqiu.iub@…]:
the problem appears to your older version of macports. Remove your macports completely as instructed and reinstall. In this way, gmp builds fine on my machine.
This works fine for me thanks for the advice! gmp now installs. -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:10> MacPorts <https://www.macports.org/> Ports system for the Mac operating system
#52326: gmp @6.1.1: error: C++ compiler not available, see config.log for details ------------------------------+--------------------------------- Reporter: alexmartin715@… | Owner: MarcusCalhoun-Lopez Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: sierra Port: gmp | ------------------------------+--------------------------------- Comment (by murrayE): Just went through migration process from El Capitan to Sierra (10.12.1), and even trying {{{ sudo port install gmp @6.1.1_0+universal }}} failed. Error in configure, I thing at: {{{ :debug:configure could not read "/opt/local/share/man/man5/stab.5.gz": no such file or directory while executing }}} -- Ticket URL: <https://trac.macports.org/ticket/52326#comment:11> MacPorts <https://www.macports.org/> Ports system for macOS
participants (1)
-
MacPorts