-
Notifications
You must be signed in to change notification settings - Fork 116
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
please add support to compile on macOS with ARM architecture / homebrew #275
Comments
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 |
No, there is only the arm architecture: |
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.The text was updated successfully, but these errors were encountered: