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

Fix PKG_CONFIG_PATH on macOS#17

Open
hansottowirtz wants to merge 1 commit into2gis:masterfrom
hansottowirtz:master
Open

Fix PKG_CONFIG_PATH on macOS#17
hansottowirtz wants to merge 1 commit into2gis:masterfrom
hansottowirtz:master

Conversation

@hansottowirtz
Copy link
Copy Markdown

@hansottowirtz hansottowirtz commented May 13, 2019

On macOS, PKG_CONFIG_PATH is always overridden on install. I have libffi and other packages installed elsewhere and they're already on PKG_CONFIG_PATH. In this fix, /opt/X11/lib/pkgconfig is added to the path instead of overriding it.

Typical error:

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

@lastw
Copy link
Copy Markdown
Member

lastw commented May 14, 2019

This repo is not maintained anymore.

You can try prebuilt node-rsvg: https://github.com/f3lang/node-rsvg-prebuilt, and there is similar PR: f3lang#12

@f3lang, i'm going to make this repo read-only. What do you think?

@hansottowirtz
Copy link
Copy Markdown
Author

Okay, please also create an unmaintained note in the readme.

dlo added a commit to dlo/mathoid that referenced this pull request Aug 8, 2019
Per 2gis/node-rsvg#17 (comment), node-rsvg ("librsvg") is no longer maintained. That package also does not compile on macOS as noted in the linked PR. librsvg-prebuilt has prebuilt binaries for all major platforms.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants