Open sbarex opened 4 days ago
I, in fact, submitted a formula for iipsrv 1.2 for inclusion of iipsrv within Homebrew itself (https://github.com/ruven/homebrew-core/blob/8c6db7092a78addb9016ae4d005f89dd20097e08/Formula/i/iipsrv.rb), but there were some minor issues they didn't like. I'll re-submit when I release version 1.3 - the formula will then hopefully be sufficiently clean for acceptance and you'll be able to install iipsrv directly via Homebrew.
In the meantime, yes, to compile from source you'll need to add the appropriate homebrew paths if these are not standard. In any case, it's good to know that it compiles cleanly on ARM.
Yes, the compilation works correctly.
I don't know why the compiled file for intel is 487 kb while for (only) arm it's 1Mb. I didn't understand how to statically link all the dependencies, but it's not a big problem.
if you run file
on the compiled binary might tell you. Something that's twice the size makes me think it might be producing a "fat" binary (intel + arm in one) but that's just a guess.
No, there is only the arm architecture: Mach-O 64-bit executable arm64
.
Hi, Please add support for compiling on macOS with ARM architecture and external libraries installed via homebrew. On Apple Silicon homebrew installs applications and libraries not to
/usr/local/
but inside/opt/homebrew/
.I'm on a Apple Silicon, macOS 15.1.1. Libtiff, libjpeg, openjpeg installed via homebrew. I downloaded the IIPSRV repository via git and ran
autogen.sh
:Then, executing
./configure
the libtiff headers are not found:To be able to compile I have to manually add via
CFLAGS
,CXXFLAGS
andLDFLAGS
the correct path to the libraries installed with homebrew:Then
make
compiles successful.