[FreeBSD/MyDevil.net] fatal error: 'vips/vips8' file not found



  • During installation of NodeBB i got that error:

    ERR! sharp FreeBSD systems require manual installation of libvips >= 8.7.0
    ERR! sharp Please see http://sharp.pixelplumbing.com/page/install
    gmake: Wejście do katalogu '/usr/home/artur9010/domains/mydomain.com/public_nodejs/node_modules/sharp/build'
      TOUCH Release/obj.target/libvips-cpp.stamp
      CXX(target) Release/obj.target/sharp/src/common.o
    ../src/common.cc:25:10: fatal error: 'vips/vips8' file not found
    #include <vips/vips8>
             ^~~~~~~~~~~~
    1 error generated.
    gmake: *** [sharp.target.mk:124: Release/obj.target/sharp/src/common.o] Błąd 1
    gmake: Opuszczenie katalogu '/usr/home/artur9010/domains/mydomain.com/public_nodejs/node_modules/sharp/build'
    gyp ERR! build error
    gyp ERR! stack Error: `gmake` failed with exit code: 2
    gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:262:23)
    gyp ERR! stack     at ChildProcess.emit (events.js:182:13)
    gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:239:12)
    gyp ERR! System FreeBSD 11.2-RELEASE-p2
    gyp ERR! command "/usr/local/devil/node10/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
    gyp ERR! cwd /usr/home/artur9010/domains/mydomain.com/public_nodejs/node_modules/sharp
    gyp ERR! node -v v10.9.0
    gyp ERR! node-gyp -v v3.7.0
    gyp ERR! not ok
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! sharp@0.21.0 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)`
    npm ERR! Exit status 1
    npm ERR!
    npm ERR! Failed at the sharp@0.21.0 install script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
     
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/artur9010/.npm/_logs/2018-12-16T02_48_16_150Z-debug.log
    

    debug.log: https://gist.github.com/artur9010/293deed43cb2cf231f2c1c595ce78b98


  • Global Moderator

    Did you actually read the error message? It's pretty clear that you will have to install libvips yourself some you're using freebsd


Log in to reply
 

Suggested Topics

| |