rdmark/netatalk-2.x

Removal of HAVE_CONFIG_H macro directive causing "missing file" errors building macipgw

NJRoadfan opened this issue · 5 comments

This issue cropped up when testing A2SERVER against newer releases of Netatalk-2.x. Since macipgw is built after the initial netatalk configuration and build, the generated config.h file is missing and will throw a "missing file" error and abort. This applies to any 3rd party programs that link to netatalk's headers as well.

Note that this is not an issue with netatalk-classic since that project folded macipgw into the main netatalk distribution.

This is the commit that removed the macro: https://github.com/christopherkobayashi/netatalk-classic/commit/fd796f7d027fe7aed65872d6b982123428a7ad49

Only the headers in "sys/netatalk" are referenced by macipgw.

@NJRoadfan So reverting the change will restore interoperability with macipgw? Please try this! 7280ed0

That did the trick, macipgw now builds without error.

Hmm, -DHAVE_CONFIG_H might need to be added back to the makefiles. Everything seems to build ok, but config.h is not being processed during normal netatalk builds now.

Do you have an idea what exactly is amiss? I looked at the Makefiles that get generated for me and see DEFS = -DHAVE_CONFIG_H consistently, so I'm not sure I'm seeing the same issue as you.

Late night and glancing at yet another build output. Looks ok after a cup of coffee the next morning.