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

Vcpkg unable to find meson on linux #3928

Closed
MarkIanHolland opened this issue Jul 19, 2018 · 5 comments
Closed

Vcpkg unable to find meson on linux #3928

MarkIanHolland opened this issue Jul 19, 2018 · 5 comments

Comments

@MarkIanHolland
Copy link
Contributor

MarkIanHolland commented Jul 19, 2018

Platform ubuntu
Steps to reproduce: vcpkg install libepoxy
Expected result: install successful
Actual result: BUILD_FAILED

Could not find meson. Please install it via your package manager.

When vcpkg tries to find meson, it looks for the script 'meson.py', so it does not find the binary from apt, as 'meson'. When I specified that the linux version is 'meson', it works for me. Worth a PR? I also updated meson and added the references needed for it to display the package example too.

@MVoz
Copy link
Contributor

MVoz commented Jul 24, 2018

python3 -m pip install meson ?

@MarkIanHolland
Copy link
Contributor Author

I don't have any issues installing meson. Just that vcpkg cannot find it, output from your suggestion.

@MVoz
Copy link
Contributor

MVoz commented Jul 25, 2018

which meson ?

@MarkIanHolland
Copy link
Contributor Author

~/.local/bin/meson

@MVoz
Copy link
Contributor

MVoz commented Jul 25, 2018

hmm... add to ?
https://github.com/MarkIanHolland/vcpkg/blob/meson-madness/scripts/cmake/vcpkg_find_acquire_program.cmake#L133

add
    elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
      set(SCRIPTNAME meson)
else()

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

No branches or pull requests

2 participants