Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installation instructions for Debian 12 (bookworm) #464

Open
phlibi opened this issue May 28, 2024 · 2 comments
Open

Installation instructions for Debian 12 (bookworm) #464

phlibi opened this issue May 28, 2024 · 2 comments

Comments

@phlibi
Copy link

phlibi commented May 28, 2024

Hi all,

I didn't find a more appropriate issue type for this, sorry if it's wrong. I tried to install LTFS on a Debian 12 (bookworm) machine, but had a hard time figuring out the required dependencies. Here's what I've found with some trial and error:

build-essential automake autoconf libtool fuse libfuse-dev uuid uuid-dev libxml2 libxml2-dev pkg-config icu-devtools libicu-dev libsnmp-dev

Maybe I overdid and something is not really required, but at least this allowed me to compile and install LTFS.

But: With the stable branch v2.4-stable, I needed some time to figure out a required change in configure.ac due to icu-config being deprecated and not available anymore:

diff --git a/configure.ac b/configure.ac
index f28d2b2..9453572 100644
--- a/configure.ac
+++ b/configure.ac
@@ -341,7 +341,7 @@ ICU_MODULE_CFLAGS="`icu-config --cppflags 2> /dev/null`";
 ICU_MODULE_LIBS="`icu-config --ldflags 2> /dev/null`";
 if test -z "$ICU_MODULE_LIBS"
 then
-    PKG_CHECK_MODULES([ICU_MODULE], [icu >= 0.21])
+    PKG_CHECK_MODULES([ICU_MODULE], [icu-i18n >= 0.21])
 fi
 
 AC_MSG_CHECKING([use latest ICU])

I see that this has already been integrated in master (with icu-uc instead of icu-i18n, but this probably doesn't matter), so it should not be required anymore.

Maybe it would help other people to provide at least the package list in the README. Of course, unless it is already there and I'm just not seeing it :S

Thanks!

@piste-jp
Copy link
Member

Supporting many destros is not a priority of this project. The main target of this project at this time is RHEL8 and RHEL7. And other platforms, macOS, FreeBSD and NetBSD.

On the other hand, build configuration is depends on the automake/autoconf. So I believe it is not so difficult to build the code on other distros with small changes into the tree.

Finally, build checker on many distros is running against each PR and each merge. You can see specific required package names in the repository under the organization https://github.com/LinearTapeFileSystem. Such as https://github.com/LinearTapeFileSystem/Debian10-Build.

@lshw
Copy link
Contributor

lshw commented Oct 30, 2024

https://mirrors.ustc.edu.cn/bjlx/pool/main/l/ltfs have debian12 source packages,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants