New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #10495 (closed defect: fixed)

Opened 7 years ago

Last modified 4 years ago

BUG: mdk 1.2.3 missing dependencies

Reported by: aconchillo@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version:
Keywords: mdk Cc: arto.bendiken@…, markd@…, boeyms@…
Port:

Description

New upstream release

Attachments

mdk-1.2.3-macports.tar.gz (1.8 KB) - added by aconchillo@… 7 years ago.
mdk 1.2.3 port

Change History

Changed 7 years ago by aconchillo@…

mdk 1.2.3 port

comment:1 Changed 7 years ago by aconchillo@…

* Bug 10291 has been marked as a duplicate of this bug. *

comment:2 Changed 7 years ago by markd@…

  • Type changed from defect to enhancement

comment:3 Changed 7 years ago by markd@…

I am getting configure errors. I can't attach them because of a problem with Trac right now so I'm pasting them.

---> Configuring mdk DEBUG: Executing com.apple.configure (mdk) DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_mdk/work/mdk-1.2.3" && automake' DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_mdk/work/mdk-1.2.3" && autoconf' configure.in:42: error: possibly undefined macro: AC_PROG_INTLTOOL

If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.

configure.in:64: error: possibly undefined macro: AC_MSG_WARN Error: Target com.apple.configure returned: autoconf failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_mdk/work/mdk-1.2.3" && autoconf" returned error 1 Command output: configure.in:42: error: possibly undefined macro: AC_PROG_INTLTOOL

If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation.

configure.in:64: error: possibly undefined macro: AC_MSG_WARN

comment:4 Changed 7 years ago by markd@…

  • Status changed from new to closed
  • Resolution set to fixed

oops, this was a problem in my test build machine. The update builds fine. Committed. Thanks!

comment:5 Changed 6 years ago by arto.bendiken@…

  • Status changed from closed to reopened
  • Resolution fixed deleted

Mark, I'm getting the same exact problem trying to build MDK 1.2.3 on MacPorts 1.320:

--->  Configuring mdk
Error: Target com.apple.configure returned: autoconf failure: shell command "cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_lang_mdk/work/mdk-1.2.3" && autoconf" returned error 1
Command output: configure.in:42: error: possibly undefined macro: AC_PROG_INTLTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.
configure.in:64: error: possibly undefined macro: AC_MSG_WARN

Could you elaborate on what the problem on your build machine was, and how you resolved it? (I should note that I don't have any problems building other ports - just MDK).

comment:6 Changed 6 years ago by arto.bendiken@…

Never mind, with some research I got MDK 1.2.3 to build and install after first installing a bunch of other stuff:

sudo port install coreutils +normal_install_names
sudo port install m4 +normal_install_names
sudo port install autoconf
sudo port install automake

Hopefully this will help someone else stumbling onto the same problem. It seems that the dependencies for this package could be added to, as it doesn't quite seem able to build itself with the standard OS X toolchain provided by Apple.

comment:7 Changed 6 years ago by eridius@…

  • Milestone set to Available Ports

comment:8 Changed 6 years ago by pipping@…

  • Milestone changed from Available Ports to Port Updates

comment:9 Changed 6 years ago by markd@…

  • Summary changed from UPDATE: mdk 1.2.3 to BUG: mdk 1.2.3 missing dependencies

comment:10 Changed 6 years ago by boeyms@…

  • Cc arto.bendiken@…, markd@…, boeyms@… added

arto.bendiken, do you still get the same error when attempting to install mdk? And which OS, architecture, version of XCode and version of MacPorts did you get the error on? It built without trouble for me (Intel, XCode 2.4.1, Mac OS X 10.4.9), so I'm guessing that you are on Panther, in which case we probably can add the dependencies for that platform.

comment:11 Changed 6 years ago by arto.bendiken@…

No, this was on Tiger:

$ uname -a
Darwin arto.local 8.9.1 Darwin Kernel Version 8.9.1: Thu Feb 22 20:55:00 PST 2007; root:xnu-792.18.15~1/RELEASE_I386 i386 i386

I don't recall the MacPorts version, but it was a few upgrades ago.

comment:12 Changed 6 years ago by boeyms@…

  • Keywords mdk added

On further testing, I find that I don't need port:coreutils, but I do need all of port:m4 (the ordinary one, not with +normal_install_names), port:automake and port:autoconf installed; if I remove any one of these three, the configure step fails. Arto, could you try uninstalling and cleaning mdk, setting up the above port installation, and then retrying compiling mdk? If that works, I'll update the ports dependencies (it seems that the currently listed port maintainer may have gone AWOL).

comment:13 Changed 6 years ago by nox@…

  • Priority changed from Expected to Normal
  • Version 1.2 deleted
  • Type changed from enhancement to defect
  • Milestone changed from Port Updates to Port Bugs

comment:14 Changed 5 years ago by ryandesign@…

  • Status changed from reopened to closed
  • Resolution set to fixed

I think it's about time someone resolved this. I confirmed that without automake, it does not build, so I added automake as a build dependency (automake depends on autoconf which depends on m4). Based on the output of otool -L against the three binaries that then got installed, I also added library dependencies on gmp, libiconv, readline, ncurses and libtool. This is all in r32300.

comment:15 Changed 4 years ago by anonymous

  • Milestone Port Bugs deleted

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.