Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't install rsvg #6

Open
dandaka opened this issue Sep 23, 2014 · 10 comments
Open

Can't install rsvg #6

dandaka opened this issue Sep 23, 2014 · 10 comments

Comments

@dandaka
Copy link

dandaka commented Sep 23, 2014

dandaka-mbp:html dandaka$ npm install rsvg
npm WARN package.json [email protected] No repository field.
npm http GET https://registry.npmjs.org/rsvg
npm http 304 https://registry.npmjs.org/rsvg

[email protected] install /Users/dandaka/projects/oco-web/html/node_modules/rsvg
node-gyp rebuild

/bin/sh: pkg-config: command not found
gyp: Call to 'pkg-config --libs-only-l librsvg-2.0 cairo-png cairo-pdf cairo-svg' returned exit status 127.
gyp ERR! configure error
gyp ERR! stack Error: gyp failed with exit code: 1
gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:337:16)
gyp ERR! stack at ChildProcess.EventEmitter.emit (events.js:98:17)
gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:797:12)
gyp ERR! System Darwin 13.4.0
gyp ERR! command "node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/dandaka/projects/oco-web/html/node_modules/rsvg
gyp ERR! node -v v0.10.26
gyp ERR! node-gyp -v v0.12.2
gyp ERR! not ok
npm ERR! [email protected] install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is most likely a problem with the rsvg package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get their info via:
npm ERR! npm owner ls rsvg
npm ERR! There is likely additional logging output above.

npm ERR! System Darwin 13.4.0
npm ERR! command "node" "/usr/local/bin/npm" "install" "rsvg"
npm ERR! cwd /Users/dandaka/projects/oco-web/html
npm ERR! node -v v0.10.26
npm ERR! npm -v 1.4.3
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /Users/dandaka/projects/oco-web/html/npm-debug.log
npm ERR! not ok code 0
dandaka-mbp:html dandaka$ node-gyp rebuild
-bash: node-gyp: command not found
dandaka-mbp:html dandaka$ npm owner ls rsvg
npm http GET https://registry.npmjs.org/rsvg
npm http 304 https://registry.npmjs.org/rsvg
walling [email protected]

@dandaka
Copy link
Author

dandaka commented Sep 23, 2014

I've installed RSVG with Homebrew. But it did't help. Still same output.

@ghost
Copy link

ghost commented Oct 9, 2014

I'm also getting this as well.

@arianrashidi
Copy link

Me too.

@kamilsk
Copy link

kamilsk commented Dec 23, 2014

+1 :(

@leibnizli
Copy link

+1

@gkathan
Copy link

gkathan commented Feb 28, 2015

holy crap - me too... no solution in the horizon ?

@patternleaf
Copy link

FWIW just uninstalling and reinstalling pkg-config via brew fixed this for me.

I also got an error that the post-install step did not succeed. Uninstalling and reinstalling libffi seemed to make that happy.

However I now am seeing issue #7. So.

@ali-habibzadeh
Copy link

+1

1 similar comment
@codetker
Copy link

codetker commented Jun 9, 2017

+1

@rissell
Copy link

rissell commented May 22, 2018

@patternleaf This worked for me also to insta librsvg, solving problems with cordova and sugarcrm mobile sdk

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

No branches or pull requests

9 participants