Opened 10 years ago
Closed 10 years ago
#46814 closed defect (worksforme)
gmp configure error
Reported by: | subhashsamuel@… | Owned by: | MarcusCalhoun-Lopez (Marcus Calhoun-Lopez) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.3.3 |
Keywords: | Cc: | ||
Port: | gmp |
Description (last modified by larryv (Lawrence Velázquez))
Hello.
As part of building linphone package, the following ports are being installed. However, wget installation fails at dependency gap. Logs are attached.
sh-3.2# sudo port install automake autoconf libtool pkgconfig intltool wget cunit antlr3 speex libvpx readline sqlite3 libsoup openldap libupnp ffmpeg-devel -gpl2 ---> Computing dependencies for automake ---> Cleaning automake ---> Computing dependencies for autoconf ---> Cleaning autoconf ---> Computing dependencies for libtool ---> Cleaning libtool ---> Computing dependencies for pkgconfig ---> Cleaning pkgconfig ---> Computing dependencies for intltool ---> Cleaning intltool ---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> 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.0.0-x86_64/config.log Error: org.macports.configure for port gmp returned: configure failure: command execution failed Error: Failed to install gmp 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 Error: The following dependencies were not installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit To report a bug, follow the instructions in the guide: http://guide.macports.org/#project.tickets Error: Processing of port wget failed
Attachments (6)
Change History (19)
Changed 10 years ago by subhashsamuel@…
comment:1 follow-up: 4 Changed 10 years ago by larryv (Lawrence Velázquez)
Cc: | subhashsamuel@… removed |
---|---|
Description: | modified (diff) |
Keywords: | Failed to configure gmp removed |
Port: | gmp added; wget removed |
Priority: | High → Normal |
Summary: | wget gmp configure error - installation failure → gmp configure error |
Replying to subhashsamuel@…:
---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmp
The fact that MacPorts jumped directly to configuring gmp
implies that the build attempt was not clean. As per the MacPorts Guide, please run sudo port clean gmp wget
and try installing it again. If that fails, please upload the main.log
file as an attachment to this ticket.
comment:2 follow-up: 3 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)
Owner: | changed from macports-tickets@… to mcalhoun@… |
---|
The log says:
configure: error: C++ compiler not available, see config.log for details
Have you installed the compiler—in other words, Xcode and the Xcode command line tools?
What does the config.log say?
comment:3 follow-up: 5 Changed 10 years ago by subhashsamuel@…
Thanks for the quick response. Please note, this installation was the Nth attempt, hence, port directly went to wget as few other packages preceding it were already installed.
Xcode - version 6.1 is on the system (MacOS version - 10.10.2)
Command line tools are installed on the system (Please see version of compiler below)
clang++ -v Apple LLVM version 6.0 (clang-600.0.56) (based on LLVM 3.5svn) Target: x86_64-apple-darwin14.1.0 Thread model: posix
Have attached config.log also.
Kindly advise.
Replying to ryandesign@…:
The log says:
configure: error: C++ compiler not available, see config.log for detailsHave you installed the compiler—in other words, Xcode and the Xcode command line tools?
What does the config.log say?
comment:4 follow-up: 6 Changed 10 years ago by subhashsamuel@…
Hi, the recommended step was done. The install attempt still results in the same error.
Replying to larryv@…:
Replying to subhashsamuel@…:
---> Computing dependencies for wget ---> Dependencies to be installed: gnutls gmp libtasn1 nettle p11-kit desktop-file-utils glib2 libffi popt libxslt libxml2 xz pcre bzip2 libedit ---> Configuring gmpThe fact that MacPorts jumped directly to configuring
gmp
implies that the build attempt was not clean. As per the MacPorts Guide, please runsudo port clean gmp wget
and try installing it again. If that fails, please upload themain.log
file as an attachment to this ticket.
comment:5 follow-up: 8 Changed 10 years ago by larryv (Lawrence Velázquez)
Replying to subhashsamuel@…:
Command line tools are installed on the system (Please see version of compiler below)
That doesn’t tell us whether the CLT are installed. Does the /usr/include
directory exist?
comment:6 Changed 10 years ago by larryv (Lawrence Velázquez)
Replying to subhashsamuel@…:
Hi, the recommended step was done. The install attempt still results in the same error.
Please upload the main.log
from that attempt, then.
comment:8 follow-up: 9 Changed 10 years ago by subhashsamuel@…
Yes ,/usr/include
directory exists on the system.also we have attached the latest main.log.
Replying to larryv@…:
Replying to subhashsamuel@…:
Command line tools are installed on the system (Please see version of compiler below)
That doesn’t tell us whether the CLT are installed. Does the
/usr/include
directory exist?
comment:9 follow-up: 10 Changed 10 years ago by larryv (Lawrence Velázquez)
The log you attached is, again, incomplete. Please do exactly this:
- Run
sudo port clean gmp
. - Run
sudo port install gmp
. - When that fails, attach the
main.log
andconfig.log
files immediately. Do not execute any commands prior to attaching those logs.
comment:10 Changed 10 years ago by subhashsamuel@…
Hello, these steps were followed and respective logs attached.
Replying to larryv@…:
The log you attached is, again, incomplete. Please do exactly this:
- Run
sudo port clean gmp
.- Run
sudo port install gmp
.- When that fails, attach the
main.log
andconfig.log
files immediately. Do not execute any commands prior to attaching those logs.
comment:11 follow-up: 12 Changed 10 years ago by neverpanic (Clemens Lang)
It seems you set macosx_deployment_target
in your macports.conf
. It's causing this problem, because it cannot be set independent from the C++ runtime, which you apparently left at its default.
comment:12 Changed 10 years ago by subhashsamuel@…
Hello,
We rebuilt the code without setting the macos_deployment_target as recommended for linphone build in /opt/local/etc/macports/macports.conf This helped us get past the gmp installation failure. Thank you for your help in getting past that roadblock.
However, while continuing on with the linphone build, we are faced with another error
configure: error: Package requirements (gtk-mac-integration >= 2.0.1) were not met: We appreciate any pointers that you can provide to get past this one.
No package 'gtk-mac-integration' found
Replying to cal@…:
It seems you set
macosx_deployment_target
in yourmacports.conf
. It's causing this problem, because it cannot be set independent from the C++ runtime, which you apparently left at its default.
comment:13 Changed 10 years ago by neverpanic (Clemens Lang)
Resolution: | → worksforme |
---|---|
Status: | new → closed |
OK, since your problem with gmp is solved, I'm closing this ticket.
For the missing gtk-mac-integration, I know we have that in MacPorts, but I'm not sure whether we have the correct version and I also don't remember which port provides it. You should as on the macports-users MailingLists.
gmp-config-failure