question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

fficonfig.h: No such file or directory (Armbian/Ubuntu)

See original GitHub issue

I can’t install a package that uses node-ffi on Armbian. I installed the libffi6 and libffi-dev package.

I’m running the latest Node version 11.

  CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
In file included from ../deps/libffi/src/prep_cif.c:27:0:
../deps/libffi/include/ffi_common.h:17:10: fatal error: fficonfig.h: No such file or directory
 #include <fficonfig.h>
          ^~~~~~~~~~~~~
compilation terminated.

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:2
  • Comments:7

github_iconTop GitHub Comments

4reactions
olof-nordcommented, Sep 15, 2020

I run into the same issue when trying to install Signal-Desktop on my PinePhone running mobian. Are there any known solutions?

gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
make: Entering directory '/home/mobian/git/Signal-Desktop/node_modules/ffi-napi/build'
  CC(target) Release/obj.target/ffi/deps/libffi/src/prep_cif.o
In file included from ../deps/libffi/src/prep_cif.c:27:
../deps/libffi/include/ffi_common.h:17:10: fatal error: fficonfig.h: No such file or directory
   17 | #include <fficonfig.h>
      |          ^~~~~~~~~~~~~
compilation terminated.
make: *** [deps/libffi/ffi.target.mk:127: Release/obj.target/ffi/deps/libffi/src/prep_cif.o] Error 1
gyp ERR! build error 
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/mobian/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack     at ChildProcess.emit (events.js:210:5)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Linux 5.7-pinephone
gyp ERR! command "/home/mobian/.nvm/versions/node/v12.13.0/bin/node" "/home/mobian/.nvm/versions/node/v12.13.0/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
make: Leaving directory '/home/mobian/git/Signal-Desktop/node_modules/ffi-napi/build'
gyp ERR! cwd /home/mobian/git/Signal-Desktop/node_modules/ffi-napi
Operating System: Debian GNU/Linux bullseye/sid
Kernel: Linux 5.7-pinephone
Architecture: arm64
2reactions
WieeRdcommented, May 17, 2021

same here with Ubuntu 20.04 LTS on RPi 4 Model B.

Read more comments on GitHub >

github_iconTop Results From Across the Web

fficonfig.h: No such file or directory (Armbian/Ubuntu)
I can't install a package that uses node-ffi on Armbian. I installed the libffi6 and libffi-dev package. I'm running the latest Node version ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found