Opened 14 years ago

Closed 13 years ago

Last modified 11 years ago

#10495 closed defect (fixed)

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 (1)

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

Download all attachments as: .zip

Change History (16)

Changed 14 years ago by aconchillo@…

Attachment: mdk-1.2.3-macports.tar.gz added

mdk 1.2.3 port

comment:1 Changed 14 years ago by aconchillo@…

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

comment:2 Changed 14 years ago by markd@…

Type: defectenhancement

comment:3 Changed 14 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 14 years ago by markd@…

Resolution: fixed
Status: newclosed

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

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

Resolution: fixed
Status: closedreopened

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 14 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 13 years ago by kballard (Lily Ballard)

Milestone: Available Ports

comment:8 Changed 13 years ago by pipping@…

Milestone: Available PortsPort Updates

comment:9 Changed 13 years ago by markd@…

Summary: UPDATE: mdk 1.2.3BUG: mdk 1.2.3 missing dependencies

comment:10 Changed 13 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 13 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 13 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 13 years ago by nox@…

Milestone: Port UpdatesPort Bugs
Priority: ExpectedNormal
Type: enhancementdefect
Version: 1.2

comment:14 Changed 13 years ago by ryandesign (Ryan Schmidt)

Resolution: fixed
Status: reopenedclosed

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 11 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.