![]() ![]() src/JPEGStream.h:10:10: fatal error: 'jpeglib.h' file not found #include ^ 1 error generated. > node-gyp rebuild SOLINK_MODULE(target) Release/canvas-postbuild.node CXX(target) Release/obj.target/canvas/src/Canvas.o In file included from. > install /REDACTED/connect-thumbs/node_modules/canvas → brew info pkgconfig pkg-config: stable 0.28 (bottled) Manage compile and link flags for libraries /usr/local/Cellar/pkg-config/0.28 (10 files, 600K) * Poured from bottle From: → brew info pixman pixman: stable 0.32.8 (bottled) Low-level library for pixel manipulation /usr/local/Cellar/pixman/0.32.8 (11 files, 1.2M) * Poured from bottle From: => Dependencies Build: pkg-config ✔ => Options -universal Build a universal binary → brew info cairo cairo: stable 1.14.2 (bottled) Vector graphics library with cross-device output support /usr/local/Cellar/cairo/1.14.2_1 (111 files, 6.0M) * Poured from bottle From: => Dependencies Build: xz ✔, pkg-config ✔ Required: freetype ✔, fontconfig ✔, libpng ✔, pixman ✔, glib ✔ => Options -universal Build a universal binary -with-x11 Build with x11 support → brew info libjpeg jpeg: stable 8d (bottled) JPEG image manipulation library /usr/local/Cellar/jpeg/8d (18 files, 760K) * Poured from bottle From: => Options -universal Build a universal binaryĪnd yet, when I try to npm install canvas -save it fails :( Or did I set this up incorrectly in the config file? What's really odd is that now it's finding Xlib.h but it can't find X.h and they live in the same folder, which really makes me think it just doesn't know where to find the X11 "stuff". ![]() Is there an environment variable or path I'm missing in my profile? Is it ignoring the linking flag. It also seems to be ignoring the linking line I gave it in the config.make file LINKLIB = -I/usr/X11/include -L/usr/X11/lib -lX11 In order for it to find Xlib.h I modified this (which I'm pretty sure isn't correct)īefore it would die on finding Xlib.h. I installed XQuartz and I can see the files it's expecting, but it seems to have trouble with the path to X11 per my understanding of this error In file included from xwin11/Xwin2.c:74: I've done this install a few years ago and remember it being straight forward, but it was on an older version of OS el capitan I think and I'm on a "lite" version of Big Sur. In the process of trying to build some software AVL I'm getting some X11 library issues. ![]()
0 Comments
Leave a Reply. |