-
-
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
Unable to install on Solus #856
Labels
Milestone
Comments
Hello, I don't have any experience of Solus, but it looks like it uses glibc 2.25. Are you able to try the following change to your local binding.js file to see if it works? - if (/(glibc|gnu libc|gentoo)/i.test(lddVersion)) {
+ if (/(glibc|gnu libc|gentoo|solus)/i.test(lddVersion)) { |
Hi again! Seems it's worked after I cloned the repo, changed the line and installed local file: > fsevents@1.1.2 install /tmp/sharp/node_modules/fsevents
> node install
> sharp@0.18.2-alpha install /tmp/sharp
> node-gyp rebuild
make: Entering directory '/tmp/sharp/build'
TOUCH Release/obj.target/libvips-cpp.stamp
CXX(target) Release/obj.target/sharp/src/common.o
../src/common.cc: In function ‘std::tuple<int, int> sharp::CalculateCrop(int, int, int, int, int)’:
../src/common.cc:440:13: warning: this statement may fall through [-Wimplicit-fallthrough=]
top = inHeight - outHeight;
~~~~^~~~~~~~~~~~~~~~~~~~~~
../src/common.cc:441:7: note: here
case 7:
^~~~
CXX(target) Release/obj.target/sharp/src/metadata.o
CXX(target) Release/obj.target/sharp/src/operations.o
CXX(target) Release/obj.target/sharp/src/pipeline.o
CXX(target) Release/obj.target/sharp/src/sharp.o
CXX(target) Release/obj.target/sharp/src/utilities.o
SOLINK_MODULE(target) Release/obj.target/sharp.node
COPY Release/sharp.node
TOUCH Release/obj.target/win_copy_dlls.stamp
make: Leaving directory '/tmp/sharp/build'
npm notice created a lockfile as package-lock.json. You should commit this file.
added 962 packages in 73.795s |
Great, thanks for confirming. Are you able to submit a PR with this change? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi guys,
I'm using Solus operating system with Node 6.11 & npm 5.0.3. During installation of sharp, I had an error like below:
I've checked out installation page but there was no information available for my os.
The text was updated successfully, but these errors were encountered: