Skip to content
This repository has been archived by the owner on Sep 9, 2019. It is now read-only.

Build fails on macOS if using libffi from Homebrew #18

Open
dlo opened this issue Aug 8, 2019 · 3 comments
Open

Build fails on macOS if using libffi from Homebrew #18

dlo opened this issue Aug 8, 2019 · 3 comments

Comments

@dlo
Copy link

dlo commented Aug 8, 2019

node-rsvg $ npm i
npm WARN deprecated gulp-util@3.0.8: gulp-util is deprecated - replace it, following the guidelines at https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
npm WARN deprecated minimatch@2.0.10: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated to-iso-string@0.0.2: to-iso-string has been deprecated, use @segment/to-iso-string instead.
npm WARN deprecated natives@1.1.6: This module relies on Node.js's internals and will break at some point. Do not use it, and update to graceful-fs@4.x.
npm WARN deprecated jade@0.26.3: Jade has been renamed to pug, please install the latest version of pug instead of jade
npm WARN deprecated minimatch@0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated minimatch@0.2.14: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
npm WARN deprecated graceful-fs@1.2.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js

> librsvg@0.7.0 install /Users/dan/Downloads/node-rsvg
> node-gyp rebuild

Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libffi', required by 'gobject-2.0', not found
gyp: Call to 'PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig pkg-config --cflags librsvg-2.0 cairo-png cairo-pdf cairo-svg' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
@pkkr
Copy link

pkkr commented Sep 9, 2019

same issue

@pkkr
Copy link

pkkr commented Sep 9, 2019

i set the PKG_CONFIG_PATH but this doesn't work

@lastw
Copy link
Member

lastw commented Sep 9, 2019

This project is no longer maintained.

If you have any issues, you can try prebuilt node-rsvg or create your own fork.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants