You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am following the installation process described in the wiki, using homebrew, but I am getting the following error :
ValueError: running 'pkg-config libffi --cflags-only-I' failed:
Package libffi was not found in the pkg-config search path.
Perhaps you should add the directory containing `libffi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libffi' found
and the default ['/usr/include/ffi'] is not a valid directory
make: *** [build_with_jit] Error 1
I am using OSX El Capitan 10.11.1, I think it has to be related to '/usr/include' not being a folder anymore, but brew install libffi doesn't create a libffi.pc file anyway.
Any idea to solve this?
Cheers!
The text was updated successfully, but these errors were encountered:
I built pixie today on OSX 10.11.4. See #491 and check out the updates on the wiki. Between the two of them you should come right. If not just give me a shout
I've seen this error while building when libffi was installed using brew.
I resolved this build issue by setting the 'PKG_CONFIG_PATH' environment variable based on information from brew info libffi
Portable Foreign Function Interface library
https://sourceware.org/libffi/
/usr/local/Cellar/libffi/3.0.13 (15 files, 374.5KB)
Poured from bottle on 2016-07-21 at 14:50:28
/usr/local/Cellar/libffi/3.2.1 (16 files, 296.9KB)
Poured from bottle on 2017-03-13 at 08:38:55
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libffi.rb
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local,
because some formulae require a newer version of libffi.
For compilers to find this software you may need to set:
LDFLAGS: -L/usr/local/opt/libffi/lib
For pkg-config to find this software you may need to set:
PKG_CONFIG_PATH: /usr/local/opt/libffi/lib/pkgconfig
so for me export PKG_CONFIG_PATH='/usr/local/opt/libffi/lib/pkgconfig'
I am following the installation process described in the wiki, using homebrew, but I am getting the following error :
I am using OSX El Capitan 10.11.1, I think it has to be related to '/usr/include' not being a folder anymore, but
brew install libffi
doesn't create alibffi.pc
file anyway.Any idea to solve this?
Cheers!
The text was updated successfully, but these errors were encountered: