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

How do I install libffi ? #12616

Closed
snnn opened this issue Jul 28, 2020 · 3 comments
Closed

How do I install libffi ? #12616

snnn opened this issue Jul 28, 2020 · 3 comments
Assignees
Labels
category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly

Comments

@snnn
Copy link
Member

snnn commented Jul 28, 2020

     Starting package 3/10: libffi:x64-windows
     Building package libffi[core]:x64-windows...
     Could not locate cached archive: C:\Users\packer\AppData\Local\vcpkg\archives\5b\5bd19f1ecdf84222fdf9565bb4f2ef3a4a9178a3.zip
     -- Downloading https://github.com/libffi/libffi/archive/v3.3.tar.gz...
     -- Extracting source C:/vcpkg/downloads/libffi-libffi-v3.3.tar.gz
     -- Using source at C:/vcpkg/buildtrees/libffi/src/v3.3-2d8a36299e.clean
     -- Configuring x64-windows
     -- Building x64-windows-dbg
     -- Building x64-windows-rel
     -- Fixing pkgconfig
     CMake Error at scripts/cmake/vcpkg_fixup_pkgconfig.cmake:279 (find_program):
       Could not find PKGCONFIG using the following names: pkg-config
     Call Stack (most recent call first):
       ports/libffi/portfile.cmake:47 (vcpkg_fixup_pkgconfig)
       scripts/ports.cmake:79 (include)
    
    
     Error: Building package libffi:x64-windows failed with: BUILD_FAILED
     Please ensure you're using the latest portfiles with `.\vcpkg update`, then
     submit an issue at https://github.com/Microsoft/vcpkg/issues including:
       Package: libffi:x64-windows
       Vcpkg version: 2020.06.15-nohash 

Does it require pkg-config.exe? Where should I get it?

@PhoebeHui PhoebeHui self-assigned this Jul 29, 2020
@PhoebeHui PhoebeHui added the category:port-bug The issue is with a library, which is something the port should already support label Jul 29, 2020
@PhoebeHui
Copy link
Contributor

@snnn, this issue would be fixed by PR #12569, could you try the changes? sorry for blocking you.

@PhoebeHui PhoebeHui added category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly and removed category:port-bug The issue is with a library, which is something the port should already support labels Jul 29, 2020
@PhoebeHui
Copy link
Contributor

Duplicated to #12565

@yzthr
Copy link

yzthr commented Feb 13, 2021

Same error :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:tool-update The issue is with build tool or build script, which requires update or should be executed correctly
Projects
None yet
Development

No branches or pull requests

3 participants