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

Building package expat:x64-osx failed with: BUILD_FAILED #14757

Closed
WilliamZkl opened this issue Nov 24, 2020 · 4 comments
Closed

Building package expat:x64-osx failed with: BUILD_FAILED #14757

WilliamZkl opened this issue Nov 24, 2020 · 4 comments
Assignees
Labels
category:question This issue is a question

Comments

@WilliamZkl
Copy link

Describe the bug
Building package expat:x64-osx failed with: BUILD_FAILED
Package: expat:x64-osx
Vcpkg version: 2020.11.12-unknownhash

Environment

  • OS: macOS
  • Compiler: C

To Reproduce
Steps to reproduce the behavior:

  1. ./vcpkg install readosm
  2. See error
    CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:533 (message):
    Could not find pkg-config. Please install it via your package manager:
    brew install pkg-config
    Call Stack (most recent call first):
    scripts/cmake/vcpkg_fixup_pkgconfig.cmake:272 (vcpkg_find_acquire_program)
    ports/expat/portfile.cmake:30 (vcpkg_fixup_pkgconfig)
    scripts/ports.cmake:136 (include)

Error: Building package expat:x64-osx 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: expat:x64-osx
Vcpkg version: 2020.11.12-unknownhash
Additionally, attach any relevant sections from the log files above.

Expected behavior
I hope to see the solutions to solve this error and build the package expat:x64-osx successfully.

Failure logs
Error: Building package expat:x64-osx 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: expat:x64-osx
Vcpkg version: 2020.11.12-unknownhash
Additionally, attach any relevant sections from the log files above.

Additional context
I want to use the Vcpkg to install the 'readosm' for Visual Studio Code because the includepath doesn't include <dos.h>.

@JonLiu1993 JonLiu1993 self-assigned this Nov 25, 2020
@Hoikas
Copy link
Contributor

Hoikas commented Nov 25, 2020

Could not find pkg-config. Please install it via your package manager:
brew install pkg-config

@JonLiu1993
Copy link
Member

@WilliamZkl ,Please install pkg-config first, make sure vcpkg is the latest version, and then rebuild

@JonLiu1993 JonLiu1993 added the category:question This issue is a question label Nov 26, 2020
@longhuan2018
Copy link
Contributor

If you want to use readosm in osx, you can try this PR #14951

@PhoebeHui
Copy link
Contributor

@WilliamZkl, please reopen this issue if it still be a problem for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:question This issue is a question
Projects
None yet
Development

No branches or pull requests

5 participants