Cannot Configure
Describe the bug Trying to compile on a Debian 12.1 system. I'm following the instructions in the README.md, but every time I do a "./configure" it bombs out. It failes on icu >=0.21
To Reproduce Steps to reproduce the behavior:
- Unpack the tarball or clone the source (I happen to be using ltfs-2.4.5.0-10502)
- cd into the new directory and do the ./autogen.sh
- Once the above completes, do ./configure
- Watch it bomb-out like so:: checking pkg-config is at least version 0.9.0... yes checking for fuse >= 2.6.0... yes checking for libxml-2.0 >= 2.6.16... yes checking for uuid >= 1.36... yes checking for pthread_create in -lpthread... yes checking for clock_gettime in -lrt... yes checking for icu >= 0.21... no configure: error: Package requirements (icu >= 0.21) were not met:
Expected behavior I expected it to configure appropriately. I do have the following installed: icu-devtools libicu-dev:amd64 libicu72:amd64
Screenshots
If applicable, add screenshots to help explain your problem.
** (please complete the following information):**
- Debian 12.1
I have tried the suggestions here: https://www.linuxquestions.org/questions/linux-software-2/compiling-quantum-ltfs-software-on-debian-894103/page2.html
but I didn't gain any insights. I've tried setting the PKG_CONFIG_PATH variable to the fully qualified path where I'm attempting my compile, but that didn't help either. I would set the ICU_MODULE_LIBS variable... but I don't have a clue on what to set that to... and I"m not convinced it would help anyway. What am I missing?
Thanks.
They are not listed on https://github.com/LinearTapeFileSystem/ltfs#buildable-linux-distributions.
So, it's not a surprise to me.
@piste-jp-ibm Yes, those two versions of debian are 2 and 3 revisions behind current.
I found a solution that worked for me.
Because of some reason you need to create the file /usr/bin/icu-config:
#!/bin/sh
opts=$1
case $opts in
'--cppflags')
echo '' ;;
'--ldflags')
echo '-licuuc -licudata' ;;
*)
echo '/usr/lib/x86_64-linux-gnu/icu/pkgdata.inc' ;;
esac
This is also done in the Debian 10 test build environment and worked for me. After installing all missing packages, I was able to configure, make and make install successfully.
I hope this helps.
Holy capacoli batman!
That did it! Thanks MaZe. You are the bomb.
Close this because there is no activity long time.
Please feel free to reopen if something new is found.