Help updating advancemame
jmr at macports.org
Fri Sep 1 13:16:48 UTC 2017
On 2017-8-30 09:29 , Frank Schima wrote:
> Hi Josh,
>> On Aug 29, 2017, at 4:38 PM, Joshua Root <jmr at macports.org
>> <mailto:jmr at macports.org>> wrote:
>> On 2017-8-30 08:32 , Frank Schima wrote:
>>> I am attempting to update the advancemame port to version 3.5. But I
>>> am running into a configuration error:
>>> configure: error: cannot find install-sh, install.sh, or shtool in
>>> "." "./.." "./../..”
>>> My attempt is documented on Trac ticket #54692:
>>> Can anyone help me?
>> This is normally provided by autotools. Might need an autoreconf -i.
>> If install-sh is the only thing missing, you could copy it from
>> automake or libtool.
> I tried adding:
> autoreconf.args -fvi
> But that didn’t seem to help. However, copying install-sh, config.sub
> and config.guess from automake in a pre-configure block allowed the
> configure to succeed. But then later hit a build error with libpng:
> :info:build srcmess/artwork.c:2307:61: error: incomplete definition of
> type 'struct png_info_def'
> :info:build if (png.height != original->height || png.width !=
> :info:build /opt/local/include/png.h:484:16: note: forward declaration
> of 'struct png_info_def'
> It doesn’t seem to like libpng 1.6. Any more ideas?
It needs to be patched to use the accessor functions instead of
accessing members of the png_info struct directly. This has been
required since libpng 1.5 BTW (and direct access has been deprecated for
quite a bit longer).
More information about the macports-dev