mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Add section about PKG_CONFIG_PATH workaround on OSX.
This commit is contained in:
parent
9282527dff
commit
c4a16c52f3
1 changed files with 11 additions and 0 deletions
11
README.md
11
README.md
|
@ -97,6 +97,17 @@ Also, whenever you would like to update the modules, you will need to execute:
|
|||
|
||||
PKG_CONFIG_PATH=/opt/X11/lib/pkgconfig/ npm update
|
||||
|
||||
If you keep forgetting about this requirement, or would like to be able to type
|
||||
simple and clean commands, add this to your `.bash_profile` file:
|
||||
|
||||
# PKG Config for Pango / Cairo
|
||||
export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/opt/X11/lib/pkgconfig
|
||||
|
||||
After adding this line, your commands should work in the expected way:
|
||||
|
||||
npm install paper
|
||||
npm update
|
||||
|
||||
##### Installing Cairo, Pango and all other dependencies on Debian/Ubuntu Linux:
|
||||
|
||||
sudo apt-get install libcairo2-dev libpango1.0-dev libssl-dev libjpeg62-dev
|
||||
|
|
Loading…
Reference in a new issue