as the title says.
e.g.,
junhao@GIGABYTE:~/workspace/clp/components/core/tools/scripts/lib_install$ sudo ./fmtlib.sh 8.0.1
...
Install the project...
-- Install configuration: "Release"
-- Installing: /usr/local/lib/libfmt.a
CMake Error at cmake_install.cmake:46 (file):
file INSTALL cannot copy file
"/tmp/fmtlib-installation/fmt-8.0.1/cmake-build-release/libfmt.a" to
"/usr/local/lib/libfmt.a": No such file or directory.
make: *** [Makefile:130: install] Error 1
**** Installation failed. Aborting package creation.
Cleaning up...OK
Bye.
junhao@GIGABYTE:~$ uname -a
Linux GIGABYTE 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
junhao@GIGABYTE:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 24.04.1 LTS
Release: 24.04
Codename: noble
junhao@GIGABYTE:~$ cat /etc/os-release
PRETTY_NAME="Ubuntu 24.04.1 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.1 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
Bug
as the title says.
e.g.,
CLP version
329edf6
Environment
Reproduction steps
cd ~/workspace/clp/components/core/tools/scripts/lib_installsudo ./fmtlib.sh 8.0.1