1.10.1 → 1.10.2 libvips + whole X server dependency?
-
I imagine you got the same error as this guy: https://community.nodebb.org/topic/12939/i-got-a-error-when-install
-
@rfc2822 Yes, sharp replaced jimp in 1.10.2 to fix some bugs. See: https://github.com/NodeBB/NodeBB/pull/6774
As far as I can tell libvips only need those X11 dependency to compile it. Not sure how FreeBSD works, could it be that it will compile it on the server when you want to install it? Could you compile it elsewhere and then install on the server?
-
According to this, sharp has precompiled binaries for multiple platforms: https://sharp.dimens.io/en/stable/install/
-
"Hmm... looks like Sharp isn't installing correctly..." Try some stuff at these lame docs https://sharp.dimens.io/en/stable/install/
Which is totally useless if installing/building from source is borked on non Linux. For e.g. SmartOS, a fringe OS, you know, from the good folks who invented nodejs?
Breaking things for non Linux platforms is rather cavalier - not what I expect from a minor update/patch release. Pretty disappointing. Yeah, I know, you make software, open source it, and all people do is bitch, bitch, bitch. Heh....
That said, this is still way lame from where I sit.
Peace--
-
So rather than just bitch about it, I spun up a freshie SmartOS (18.3) instance and endeavored to install NodeBB as per explained via docs that are admittedly a bit dated here: https://docs.nodebb.org/installing/os/smartos/
Prior to 1.10.2 these worked dandy (adjusting fer' some updatin').
Alas, not any more. v1.10.1, enter, stage left, sharp:
./nodebb setup starts spewin' about sharp, wh/tracks back to libvips, wh/does not seem to exist in Joyent's SmartOS pkgsrc (used by smartos, netbsd, dragonflybsd, etc.) repos. So, uh, the fallback to build from src flails about, thrashing mesirably in futile efforts to resuscitate itself... but I digress.
Hence the wannabe NodeBB on SmartOS innocent must either do some crunchin' and a munchin' of libvips src else nag OhJoy's pkgsrc team, eh? Fun, fun, fun ;-/
I suppose I should investigate v1.10.2 on FreeBSD, eh?
Alrighty then! We now return you to your regularly scheduled programming.
Rock on o/
P.S.; I saved logs but as this appears to be a sharp/libvips/nodejs on SmartOS issue I didn't figure y'all would be too intrigued. Peace, out o/
-
fwiw:
For the few, the brave, who may be interested, I built libvips pkgsrc port for SmartOS. It works in my testing and I expect it will be merged upstream so binaries should be coming.
So now I can install nodejs sharp dependency and run nodebb again.
Nice ;D
P.S.; This is w/nodejs-10.11.0, and yes, it does also need zlib.
-
@PitaJ sharp dependency on zlib 1.2.9 was a cause for an issue for me also.
Not the same issue, but similar.
I got around it by changing my node version.
Update to 1.1.0 Now Gets Parsing Errors · Issue #35 · barisusakli/nodebb-plugin-imgur
Updated to 1.0.2 (with 1.10.2) and now no uploads work, we get to 100% and get a parsing error every time. Then it says that the community has disconnected. If you log into https://mangolassi.it/ and try to upload an image, you can see i...
GitHub (github.com)
-
Understandable when you need to get things working. But not a good management strategy from my perspective so I strive to get to the root when possible. Frustrating as it may be many times. Thx for the pointer/link.