|
From: Uwe K. <Uwe...@gm...> - 2022-08-12 13:20:21
|
Hello Andreas,
I am struggeling very much with building a universal (x86_64/arm64) version of tkImg-1.4.13.
I had not managed to build a x86_64 version either because of a missing tiffconf.h but luckily I could fallback on the prebuilt distribution.
In file included from tifftcl.c:29:
In file included from ./tifftcl.h:50:
In file included from ./tifftclDecls.h:37:
In file included from ./../compat/libtiff/libtiff/tiffio.h:31:
./../compat/libtiff/libtiff/tiff.h:28:10: fatal error: 'tiffconf.h' file not found
#include "tiffconf.h"
^~~~~~~~~~~~
Unfortunately, there was no prebuilt universal package when I last checked (a few days ago). Do you intend to provide a prebuild universal tkImg-1.4.13?
On Apple Silicon (M1 MacMini) I cannot proceed far enough to run into the missing tiffconf.h issue which had stopped me on my Intel Mac. Rather, I fail much earlier in the configure process. Looking at config.log I assume that a „windows“ platform is recognized.
checking for tclsh... tclsh86.exe
checking for wish... wish86.exe
In the "tkImg-1.4.13“ directory I run:
autoconf
./genConfigureScripts.sh
./configure —with-tcl=… —with-tk=… CFLAGS=„-arch x86_64 -arch arm64“
make
…but no luck. Script stops due to an invalid libzlibtclstub1.2.11.a (when attempting to produce pngtcl1.6.37.dylib). I did a lipo -archs on libzlibtclstub1.2.11.a and lipo complains about an illegal fat file in the archive…
Can you please have a look at the log-files and tell me what is going wrong?
Best regards,
Uwe
|