Open SenthilDurai opened 2 months ago
@SenthilDurai Thanks for posting this issue, please run command sudo apt-get install autoconf
and try again.
Thanks @FrankXie05 for your advise but still getting the error: The issue log as follows:
Package: libmount:x64-linux@2.40
Host Environment
To Reproduce
vcpkg install opencv
Failure logs
-- Using cached util-linux-2.40.tar.xz.
-- Cleaning sources at /mnt/d/Linux/vcpkg/buildtrees/libmount/src/2.40-b5c733b07e.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /mnt/d/Linux/vcpkg/downloads/util-linux-2.40.tar.xz
-- Applying patch hide-private-symbols.diff
-- Using source at /mnt/d/Linux/vcpkg/buildtrees/libmount/src/2.40-b5c733b07e.clean
-- Getting CMake variables for x64-linux-dbg
-- Getting CMake variables for x64-linux-rel
-- Generating configure for x64-linux
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:127 (message):
Command failed: /usr/bin/autoreconf -vfi
Working Directory: /mnt/d/Linux/vcpkg/buildtrees/libmount/src/2.40-b5c733b07e.clean/
Error code: 1
See logs for more information:
/mnt/d/Linux/vcpkg/buildtrees/libmount/autoconf-x64-linux-err.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_make.cmake:731 (vcpkg_execute_required_process)
ports/libmount/portfile.cmake:25 (vcpkg_configure_make)
scripts/ports.cmake:192 (include)
The error message indicates that the libtoolize command is missing from your system. This is required because the package you're working with uses Libtool. To resolve this issue, you need to install the libtool package. You can do this by running the following command:
sudo apt-get install libtool
After installing libtool, try running the autoreconf command again. This should resolve the issue and allow the process to continue.
Basically marjority Linux based libs needs these tools, just FYI:
sudo apt-get install autoconf automake libtool
Basically marjority Linux based libs needs these tools, just FYI:
sudo apt-get install autoconf automake libtool
I got same error after install these:
/usr/bin/ar: .libs/libblkid.lax/lt1-la-minix.o: No such file or directory make[2]: *** [Makefile:7956: libblkid.la] Error 1 make[1]: *** [Makefile:16921: all-recursive] Error 1 make: *** [Makefile:7280: all] Error 2
@foobra could you provide more context please
@foobra could you provide more context please
- what is the step you are running
- what is your Linux distro
- full error logs
cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.6 LTS"
`./vcpkg install sdl2 Computing installation plan... The following packages will be built and installed:
`CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: /usr/bin/make V=1 -j 17 -f Makefile all Working Directory: /Users/jtang/Documents/Projects/Migu/MGYX/vcpkg-linux/buildtrees/libmount/x64-linux-dbg/ See logs for more information: /Users/jtang/Documents/Projects/Migu/MGYX/vcpkg-linux/buildtrees/libmount/build-x64-linux-dbg-out.log /Users/jtang/Documents/Projects/Migu/MGYX/vcpkg-linux/buildtrees/libmount/build-x64-linux-dbg-err.log
Call Stack (most recent call first): scripts/cmake/vcpkg_build_make.cmake:136 (vcpkg_execute_build_process) scripts/cmake/vcpkg_install_make.cmake:2 (vcpkg_build_make) ports/libmount/portfile.cmake:38 (vcpkg_install_make) scripts/ports.cmake:192 (include)`
error log
/usr/bin/ar: .libs/libblkid.lax/lt1-la-minix.o: No such file or directory make[2]: *** [Makefile:7956: libblkid.la] Error 1 make[1]: *** [Makefile:16921: all-recursive] Error 1 make: *** [Makefile:7280: all] Error 2
btw, my linux distro is headless
error log
/usr/bin/ar: .libs/libblkid.lax/lt1-la-minix.o: No such file or directory make[2]: *** [Makefile:7956: libblkid.la] Error 1 make[1]: *** [Makefile:16921: all-recursive] Error 1 make: *** [Makefile:7280: all] Error 2
The output log shows an attempt to create the file:
libtool: link: ln libblkid/src/superblocks/la-minix.o .libs/libblkid.lax/lt1-la-minix.o || cp libblkid/src/superblocks/la-minix.o .libs/libblkid.lax/lt1-la-minix.o
/mnt/d/
Maybe a WSL quirk? (Why run Ubuntu 20.04 in WSL - what else is outdated here?)
This is an automated message. Per our repo policy, stale issues get closed if there has been no activity in the past 28 days. The issue will be automatically closed in 14 days. If you wish to keep this issue open, please add a new comment.
Package: libmount:x64-linux@2.40
Host Environment
To Reproduce
vcpkg install opencv
Failure logs