I am trying to compile Quantum's LTFS software from source on a Debian Squeeze system.
They provide binaries for Red Hat and SUSE, but not Debian, thus I need to compile myself.
I have installed the dependancies:
> sudo apt-get install libicu-dev libfuse-dev uuid uuid-dev libxml++2.6-2 libxml++2.6-dev
./configure completes without error.
However, when attempting to "make" I see the following:
make: Entering directory `/home/station/Downloads/qtmltfs-1.2.0'
Making all in messages
make: Entering directory `/home/station/Downloads/qtmltfs-1.2.0/messages'
genrb number of files: 3
sh: ./icu-config: not found
pkgdata: icu-config: Could not read from icu-config. (fix PATH or use -O option)
required parameter is missing: -O is required for static and shared builds.
Run 'pkgdata --help' for help.
make: *** [bin_mkltfs_dat.o] Error 1
make: Leaving directory `/home/station/Downloads/qtmltfs-1.2.0/messages'
make: *** [all-recursive] Error 1
make: Leaving directory `/home/station/Downloads/qtmltfs-1.2.0'
make: *** [all] Error 2
I've tried exporting the path to icu-config (/usr/bin), I've tried manually editing some of the pkgdata paths in the Makefile, but still receive the same error.
I am a bit stuck now and at the end of my Linux knowledge. Any assistance much appreciated.
[12 hours later....]
Sitting at Heathrow airport with 30 minutes to spare, I decided to have another look at this. I have with me a 3 year old netbook running Ubuntu 10.04 Lucid Lynx NBR. Not exactly the machine I want to connect up to a Quantum LTO5 tape drive, but nonetheless, something I thought I could at least trouble shoot on.
Anyway, the software compiled without error on this machine.
This leads me to the conclusion that there is some library or path linking problem with vanilla Debian. If anyone has some insight into this, I'd certainly appreciate it. Otherwise, I guess I will be installing Ubuntu on the workstation when I'm back in the office.