Skip to content
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

configure: error: Package requirements (libffi >= 3.0.0) were not met: No package 'libffi' found #287

Closed
cmey opened this issue Jul 24, 2019 · 2 comments · Fixed by #292
Closed

Comments

@cmey
Copy link

cmey commented Jul 24, 2019

On a fresh Julia 1.1.1 install and a fresh ~/.julia (just totally deleted it):

(WaveSim.jl) pkg> add Cairo
(WaveSim.jl) pkg> build Cairo
  Building LibCURL ─→ `~/.julia/packages/LibCURL/lWJxD/deps/build.log`
  Building WinRPM ──→ `~/.julia/packages/WinRPM/Y9QdZ/deps/build.log`
  Building Homebrew → `~/.julia/packages/Homebrew/s09IX/deps/build.log`
  Building Cairo ───→ `~/.julia/packages/Cairo/p68X8/deps/build.log`
┌ Error: Error building `Cairo`, showing the last 100 of log:
[...]
configure: error: Package requirements (libffi >= 3.0.0) were not met:
│
│ No package 'libffi' found
[...]

Full log build.log

This is on macOS, versions:

julia> versioninfo()
Julia Version 1.1.1
Commit 55e36cc (2019-05-16 04:10 UTC)
Platform Info:
  OS: macOS (x86_64-apple-darwin15.6.0)
  CPU: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-6.0.1 (ORCJIT, skylake)
Environment:
  JULIA_NUM_THREADS = 4

(WaveSim.jl) pkg> status
    Status `~/Code/julia/WaveSim.jl/Project.toml`
  [159f3aea] + Cairo v0.6.0
@mirestrepo
Copy link

this is also seen in #271

@cmey
Copy link
Author

cmey commented Jul 29, 2019

Cairo.jl master might work better:

(WaveSim.jl) pkg> add Cairo.jl#master

I'm hitting a different error: JuliaPackaging/Homebrew.jl#262

Though I'm not sure yet if this error occurs past, or even earlier than, the aforementioned libffi issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants