Opened 9 years ago

Closed 9 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)

main.log (6.4 KB) - added by subhashsamuel@… 9 years ago.
gmp-config-failure
main.2.log (6.4 KB) - added by subhashsamuel@… 9 years ago.
port-gmp-log
config.log (41.0 KB) - added by subhashsamuel@… 9 years ago.
Config Log
main.rtf (6.8 KB) - added by subhashsamuel@… 9 years ago.
main.log
main.3.log (9.1 KB) - added by subhashsamuel@… 9 years ago.
Main.log
config.2.log (41.0 KB) - added by subhashsamuel@… 9 years ago.
Config.log

Download all attachments as: .zip

Change History (19)

Changed 9 years ago by subhashsamuel@…

Attachment: main.log added

gmp-config-failure

Changed 9 years ago by subhashsamuel@…

Attachment: main.2.log added

port-gmp-log

comment:1 in reply to:  description ; Changed 9 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: HighNormal
Summary: wget gmp configure error - installation failuregmp 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 Changed 9 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?

Changed 9 years ago by subhashsamuel@…

Attachment: config.log added

Config Log

comment:3 in reply to:  2 ; Changed 9 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 details

Have you installed the compiler—in other words, Xcode and the Xcode command line tools?

What does the config.log say?

comment:4 in reply to:  1 ; Changed 9 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 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:5 in reply to:  3 ; Changed 9 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 in reply to:  4 Changed 9 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:7 Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

And the config.log.

Changed 9 years ago by subhashsamuel@…

Attachment: main.rtf added

main.log

comment:8 in reply to:  5 ; Changed 9 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 in reply to:  8 ; Changed 9 years ago by larryv (Lawrence Velázquez)

The log you attached is, again, incomplete. Please do exactly this:

  1. Run sudo port clean gmp.
  2. Run sudo port install gmp.
  3. When that fails, attach the main.log and config.log files immediately. Do not execute any commands prior to attaching those logs.

Changed 9 years ago by subhashsamuel@…

Attachment: main.3.log added

Main.log

Changed 9 years ago by subhashsamuel@…

Attachment: config.2.log added

Config.log

comment:10 in reply to:  9 Changed 9 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:

  1. Run sudo port clean gmp.
  2. Run sudo port install gmp.
  3. When that fails, attach the main.log and config.log files immediately. Do not execute any commands prior to attaching those logs.

comment:11 Changed 9 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 in reply to:  11 Changed 9 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 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:13 Changed 9 years ago by neverpanic (Clemens Lang)

Resolution: worksforme
Status: newclosed

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.

Note: See TracTickets for help on using tickets.