Re: Compilation patch for Solaris and Darwin
On Thu, 2010-08-12 at 19:26:32 +0200, Fabian Groffen wrote:
> Please find attached a patch to fix compilation on at least Solaris and
> Darwin of dpkg-184.108.40.206. Both platforms do not have _POSIX_MAX_PATH
> defined, unless limits.h is included. Further, linking fails, because
> of missing libintl_* symbols, which is due to a missing -lintl on these
> platforms which get it from gettext, as it is not in their libc (like
> GNU libc).
Both patches applied and released with 220.127.116.11, thanks!
> On a sidenote, compilation on Darwin fails early in the process like
> cc1: error: unrecognized command line option "-Wvla"
> You may want to check the WFLAGS if they are supported. However, it is
> fine for me just to use --disable-compiler-warnings.
I've noted down to take a look into checking for the warning flags
availability at configure time, as it can be easily disabled and it
does not seem an urgent thing for now.