From: John B. <joh...@gm...> - 2013-02-27 03:47:50
|
On Tue, Feb 26, 2013 at 8:14 PM, <szu...@ar...> wrote: > I was able to configure 'libpng-1.7.0beta03' with > the following script: > --------------------------------------- > cflags=CPPFLAGS='-I/usr/local/include' LDFLAGS='-L/usr/local/lib' I'm guessing that this is on Windows, because of the ^M, but Min/GW is supported on Linux (cross compilation) too, and all those paths look very unixey. Assuming I'm correct, we only support libpng on Min/GW using MSYS - i.e. configure must be run in an MSYS shell. This is because otherwise incompatible tools might be used: > But calling 'make' did not succeed: > > line 809 incorrectly formated PNG_DFN line: > PNG_DFN_END_SORT^M That's coming out of an awk script (scripts/dfn.awk) because the awk program is presenting the carriage return in the input to the script. I need to verify that this doesn't happen with MSYS - (well, it may be called "beta03" but it is very very seriously "alpha"); the sorting is new, but I suspect it is because the C compiler being used for pre-processing is putting \r\n line endings yet the awk program which reads the output is expecting \n ending and this is a tool mismatch - the tools have to agree on the line endings! -- John Bowler <joh...@gm...> +1 (541) 450-9885 PO BOX 3151 KERBY OR 97531-3151 USA |