-
-
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
Improve installation experience when a globally-installed libvips below the minimum required version is found #1148
Comments
Hello, the presence of http://jcupitt.github.io/libvips/install.html#building-libvips-from-a-source-tarball The You might also like to upgrade to sharp v0.20.0, which should remove the need for compilation. |
already have bumped to .20 and this is where the above is happening you saying i should apt-get install glib2.0-dev? |
You can either:
|
i already had glib2.0-dev installed
yet sharp failed to build |
Does $ locate glib-object.h | grep usr
/usr/include/glib-2.0/glib-object.h Is $ pkg-config --cflags vips-cpp
-pthread -I/usr/local/include -I/usr/include/glib-2.0 ...
|
dont have the |
The $ find /usr -name glib-object.h
/usr/include/glib-2.0/glib-object.h |
thanks... so yes it exists
and no, pkg-config isn't aware of it
|
Please can you try that second command with the same $ PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:/usr/lib/pkgconfig pkg-config --cflags vips-cpp My best guess is that there's one or more (partial?) installations of libvips that are conflicting. |
nope that wont work either
and yes, on the server i have two nodejs projects running both using your package (local installs) |
I'd suggest ether re-installing libvips or totally removing it. Without looking at the machine I'm unlikely to be able to help further. Good luck! |
same error on ubuntu 16.04 with libvips-dev and glib dev installed, also file exists in fs |
If using a globally-installed libvips (e.g. via the http://sharp.pixelplumbing.com/en/stable/changelog/ For example, sharp v0.20.x requires libvips v8.6.1+ but the most recent Ubuntu package is v8.4.5. |
fyi I see this issue on mac osx as well. |
Thanks for the additional reports. This appears to only impact those using v0.20.0 with an globally-installed libvips that does not meet the minimum required version. I have an idea about how to improve the installation experience in this scenario. |
Commit 48c5f86 should make the installation experience a little smoother - this will be in v0.20.1. |
What is the timeframe for v0.20.1? Thank you in advance |
v0.20.1 now available, thank you for the feedback. |
The text was updated successfully, but these errors were encountered: