-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Install sharp on Raspberry Pi #324
Comments
Hello, proper ARM support should arrive as part of #312. I did manage to manually install libvips and most of its dependencies on a first generation Pi sometime last year, but it was't totally straightforward. What is/was the output of running the following? curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash - |
Hi @lovell,
I can't say I ran it last night :). I'll repeat it and report the output. Thanks so far |
I'll need to update that script to install libvips v8.1.0 from source on Jessie-based systems (as they only provide 7.40.6 via apt-get); leave it with me. You should be able to use sharp v0.11.4 for now. Thanks for reporting this! |
@lovell thanks for your help. Installation of sharp v0.11.4 worked perfect. |
Debian-based systems must compile from source
Commit 6d62051 should enforce the installation of libvips v8.1.1 and therefore allow the use of sharp v0.12.x on Raspbian Jessie systems. Are you able to test this? It would be great to add documented support for Raspberry Pis in time for Christmas :) |
It's a bit late for Christmas, but today I was able to test the installation of sharp on a brand new Raspberry Pi 2 running Raspbian Jessie.
Thx @lovell for your support |
Great news, thanks for confirming. If you'd be interested in |
If anyone is still having issues I was able to get it to work after much headache. Running raspbian gnu/linux 9.4 on a pi 3 npm version 5.6.0 sudo npm install n -g --save ** Make sure you are the owner of ~, this was the cause of a bunch of cryptic messages for me npm install sharp --build-from-source |
Hello,
is there a way to install
sharp
on a Raspberry Pi (raspian jessie)?When trying to
npm install sharp
I get the following errormessage.My npm-version is: 1.4.21
I ran the preinstall-script as described here
Is this a specific problem with
sharp
or a general one.Thank you for suggestions, what a non Linuxexpert like me can do to fix it.
All the best
Schwaddi
The text was updated successfully, but these errors were encountered: