Hi Gabor,

On 11/09/14 08:26, Gabor Szabo wrote:
Hmm...  Looks like a unified diff to me...
The text leading up to this was:
--------------------------
|--- src/generic/grid.cpp       2009-09-04 06:52:48.000000000 +0200
|+++ src/generic/grid.cpp       2009-10-18 14:43:42.000000000 +0200
--------------------------
Patching file src/generic/grid.cpp using Plan A...
print() on unopened filehandle NULL at ../inc/bin/patch line 716, <IN> line 
12370.
print() on unopened filehandle NULL at ../inc/bin/patch line 717, <IN> line 
12371.
print() on unopened filehandle NULL at ../inc/bin/patch line 720, <IN> line 
12371.
print() on unopened filehandle NULL at ../inc/bin/patch line 726, <IN> line 
12371.
Hunk #1 succeeded at 6145.
     Offset: 548
done
xcodebuild: error: invalid option '--version'
The first thing I see is that it throws an exception almost immediately with the --version error. I don't know what that is about, but then it carries on normally.

All looks good until it finally crashes with:

/work/1410419901.57381/Alien-wxWidgets-0.65/wxWidgets-3.0.0/bld/lib/wx/include/osx_cocoa-unicode-3.0
 -I../include -Wall -Wundef -O2 -fno-strict-aliasing -fno-common  
../src/tiff/libtiff/tif_lzma.c
../src/tiff/libtiff/tif_lzma.c:38:10: fatal error: 'lzma.h' file not found
#include "lzma.h"
          ^
1 error generated.
make: *** [wxtiff_tif_lzma.o] Error 1
Before that, however, we had some other warnings:
checking for png.h > 0.90... no
checking for png.h... (cached) no
configure: WARNING: system png library not found or too old, will use built-in 
instead
checking for jpeglib.h... no
configure: WARNING: system jpeg library not found, will use built-in instead
checking for tiffio.h... no
configure: WARNING: system tiff library not found, will use built-in instead
However, jpeg compilation works as does the png one.

.tiff is a very old format, I doubt you use it. I suggest you play with --with-libtiff, maybe:

perl Build.PL --wxWidgets-extraflags="--with-libtiff=no"

At least you should avoid that particular crash.

Regards,

Steve.

Reply via email to