-1

I am attempting to install vips using Homebrew which has jpeg-xl as a dependency. I am aware that the OS is old and unsupported but I am hoping to make it work a little while longer. Wondering if there is some other way to get jpeg-xl installed or a way to work around it to install vips.

I am attempting to install jpeg-xl with the following command:

brew install jpeg-xl

Here is the end of the output. Right before it tells me not to report this issue and to stop using macos 10.14

[ 56%] Building CXX object lib/CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o
cd /tmp/jpeg-xl-20230818-7030-149qojd/libjxl-0.8.2/build/lib && /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -DHWY_DISABLED_TARGETS="(HWY_SVE|HWY_SVE2|HWY_SVE_256|HWY_SVE2_128|HWY_RVV)" -DJPEGXL_MAJOR_VERSION=0 -DJPEGXL_MINOR_VERSION=8 -DJPEGXL_PATCH_VERSION=2 -DJXL_INTERNAL_LIBRARY_BUILD -D__DATE__=\"redacted\" -D__TIMESTAMP__=\"redacted\" -D__TIME__=\"redacted\" -I/tmp/jpeg-xl-20230818-7030-149qojd/libjxl-0.8.2 -I/tmp/jpeg-xl-20230818-7030-149qojd/libjxl-0.8.2/lib/include -I/tmp/jpeg-xl-20230818-7030-149qojd/libjxl-0.8.2/build/lib/include -fno-rtti -funwind-tables -Xclang -mrelax-all -Xclang -mconstructor-aliases -fno-omit-frame-pointer -O3 -DNDEBUG -O2 -std=c++11 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wno-builtin-macro-redefined -Wall -fmerge-all-constants -fno-builtin-fwrite -fno-builtin-fread -Wextra -Wc++11-compat -Warray-bounds -Wformat-security -Wimplicit-fallthrough -Wno-register -Wno-unused-function -Wno-unused-parameter -Wnon-virtual-dtor -Woverloaded-virtual -Wvla -Wdeprecated-increment-bool -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wgnu-redeclared-enum -Winfinite-recursion -Wliteral-conversion -Wno-c++98-compat -Wno-unused-command-line-argument -Wprivate-header -Wself-assign -Wstring-conversion -Wtautological-overlap-compare -Wthread-safety-analysis -Wundefined-func-template -Wunreachable-code -Wunused-comparison -fsized-deallocation -fno-exceptions -fmath-errno -fnew-alignment=8 -fno-cxx-exceptions -fno-slp-vectorize -fno-vectorize -disable-free -disable-llvm-verifier -DJPEGXL_ENABLE_TRANSCODE_JPEG=1 -DJPEGXL_ENABLE_BOXES=1 -MD -MT lib/CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o -MF CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o.d -o CMakeFiles/jxl_dec-obj.dir/jxl/jpeg/jpeg_data.cc.o -c /tmp/jpeg-xl-20230818-7030-149qojd/libjxl-0.8.2/lib/jxl/jpeg/jpeg_data.cc
[ 56%] Built target jxl_dec-obj
make: *** [all] Error 2
jcanipar
  • 1,442
  • 2
  • 11
  • 8
  • You can just edit the `vips.rb` formula to remove the `depends_on "jpeg-xl"` line. A bit hacky, but it should work. – jcupitt Aug 19 '23 at 01:35

0 Answers0