How to automatically install all dependencies packages (by apt, brew, and so on) when using manifest mode #36719
Unanswered
traversebitree
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
How to automatically install all dependencies when using manifest mode.
Or know in advance which system packages (from apt, brew, and so on) are needed for all the packages in my
vcpkg.json.-- Fixing pkgconfig file: /home/kong/Documents/Workspace/traversebitree-bot-iot-nfc-first-6fd4955a599f/.vcpkg/vcpkg-src/packages/fmt_x64-linux/lib/pkgconfig/fmt.pc CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message): Could not find pkg-config. Please install it via your package manager: sudo apt-get install pkg-config Call Stack (most recent call first): scripts/cmake/vcpkg_fixup_pkgconfig.cmake:203 (vcpkg_find_acquire_program) buildtrees/versioning_/versions/fmt/3f452404270b508daf355b72031ad3ee7d0d5751/portfile.cmake:46 (vcpkg_fixup_pkgconfig) scripts/ports.cmake:170 (include) error: building fmt:x64-linux failed with: BUILD_FAILED-- Installing port from location: /home/kong/Documents/Workspace/traversebitree-bot-iot-nfc-first-6fd4955a599f/.vcpkg/vcpkg-src/buildtrees/versioning_/versions/libpcap/7bfda50e586151e14fb6704ed154e8747bc64ea9 libpcap currently requires the following libraries from the system package manager: flex libbison-dev These can be installed on Ubuntu systems via sudo apt install flex libbison-dev -- Downloading https://github.com/the-tcpdump-group/libpcap/archive/libpcap-1.10.4.tar.gz -> the-tcpdump-group-libpcap-libpcap-1.10.4.tar.gz... -- Extracting source /home/kong/Documents/Workspace/traversebitree-bot-iot-nfc-first-6fd4955a599f/.vcpkg/vcpkg-src/downloads/the-tcpdump-group-libpcap-libpcap-1.10.4.tar.gz -- Applying patch install-pc-on-msvc.patch -- Applying patch add-disable-packet-option.patch -- Using source at /home/kong/Documents/Workspace/traversebitree-bot-iot-nfc-first-6fd4955a599f/.vcpkg/vcpkg-src/buildtrees/libpcap/src/cap-1.10.4-ccca6b697d.clean CMake Error at scripts/cmake/vcpkg_find_acquire_program.cmake:166 (message): Could not find bison. Please install it via your package manager: sudo apt-get install bison Call Stack (most recent call first): buildtrees/versioning_/versions/libpcap/7bfda50e586151e14fb6704ed154e8747bc64ea9/portfile.cmake:25 (vcpkg_find_acquire_program) scripts/ports.cmake:170 (include)Beta Was this translation helpful? Give feedback.
All reactions