Open hmoffatt opened 3 years ago
Also requires but fails to check for automake (for the aclocal) command - discovered this on OSX.
Please provide failure log /home/hamish/tmp/vcpkg/vcpkg-2021.04.30/buildtrees/libsass/autoconf-x64-linux-err.log.
Thanks.
Sorry I thought I had attached it to the original message. autoconf-x64-linux-err.log
src/GNUmakefile.am:27: error: Libtool library used but 'LIBTOOL' is undefined
src/GNUmakefile.am:27: The usual way to define 'LIBTOOL' is to add 'LT_INIT'
src/GNUmakefile.am:27: to 'configure.ac' and run 'aclocal' and 'autoconf' again.
src/GNUmakefile.am:27: If 'LT_INIT' is in 'configure.ac', make sure
src/GNUmakefile.am:27: its definition is in aclocal's search path.
Can you please try install libtool first? sudo apt-get install libtool
.
Yes it works if libtool is installed. If autoconf is missing you get a nice error, but not if libtool is missing.
The same problem occurs for automake (if aclocal is missing) on osx.
cc @Neumann-A, we should look for autoconf and libtool in advance in osx/linux I think.
Same problem on Linux (Debian) - that is where I saw the libtool issue.
error: building libsass:arm64-osx failed with: BUILD_FAILED
Please ensure you're using the latest port files with git pull
and vcpkg update
.
Then check for known issues at:
https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+libsass
You can submit a new issue at:
https://github.com/microsoft/vcpkg/issues/new?title=[libsass]+Build+error&body=Copy+issue+body+from+%2FUsers%2Foleksandrpc%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md
I can confirm this is still an issue on Ubuntu LTS 22.04, and is resolved by sudo apt install libtool -y
(autoconf is needed as well)
Host Environment
To Reproduce Without system libtool installed:
./vcpkg install libsass
Failure logs
Additional context Problem is solved by installing libtool through the system package manager, but the port fails to check for this.