LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
LinkBack Search this Thread
Old 07-27-2011, 11:03 AM   #1
phillc
LQ Newbie
 
Registered: Nov 2007
Posts: 10

Rep: Reputation: 7
Compiling Quantum LTFS Software on Debian


I am trying to compile Quantum's LTFS software from source on a Debian Squeeze system.

Software here:

http://www.quantum.com/Products/Tape...TFS/Index.aspx
http://www.quantum.com/ServiceandSup...TFS/Index.aspx

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:

sudo make
make all-recursive
make[1]: Entering directory `/home/station/Downloads/qtmltfs-1.2.0'
Making all in messages
make[2]: 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[2]: *** [bin_mkltfs_dat.o] Error 1
make[2]: Leaving directory `/home/station/Downloads/qtmltfs-1.2.0/messages'
make[1]: *** [all-recursive] Error 1
make[1]: 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.

Last edited by phillc; 07-28-2011 at 12:39 AM. Reason: Further Information
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 07-28-2011, 06:57 AM   #2
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,458

Rep: Reputation: Disabled
Do you have build-essential installed on your Debian machine?.
I'd guess Ubuntu installs this by default where Debian can often not.
 
Old 07-28-2011, 08:18 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,299

Rep: Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351Reputation: 1351
( 'build-essential' provides g++ ( and the g++ dependencies ) + make : No 'configure'
would work in qtmltfs with no gcc etc.)


Debian Squeeze :
The issue is the libicu44 devel files (icu-config ?) ( libicu-dev version "44".)
Solution : 1) # apt-get remove libicu-dev ( Can be reinstalled later.)
( Don't remove libicu44, several libicu* can be installed at the same time.)

2) # dpkg -i libicu42* ( From Ubuntu 10.04 : No libicu42 avavilable for i386, amd64 Debian.).
http://packages.ubuntu.com/lucid/libicu42

3) # dpkg -i libicu-dev_4.2.1-3_<arch>.deb
http://packages.ubuntu.com/lucid/libicu-dev

( I tried some other workarounds for qtmltfs, only the above worked.)

..

Last edited by knudfl; 07-29-2011 at 04:16 AM.
 
2 members found this post helpful.
Old 07-28-2011, 08:40 AM   #4
the trooper
Senior Member
 
Registered: Jun 2006
Location: England
Distribution: Debian Testing/Unstable Amd64
Posts: 1,458

Rep: Reputation: Disabled
I stand corrected.Thanks knudfl.
 
Old 08-03-2011, 05:20 AM   #5
phillc
LQ Newbie
 
Registered: Nov 2007
Posts: 10

Original Poster
Rep: Reputation: 7
Apologies it has taken me so long to reply, but only just back with access to this machine today.

The good news is that your solution worked, knudfl. Thank you for your assistance with this.

I can now hopefully back up data to LTO5 tape to my heart's content.
 
Old 08-04-2011, 12:02 PM   #6
phillc
LQ Newbie
 
Registered: Nov 2007
Posts: 10

Original Poster
Rep: Reputation: 7
If you're interested, I also needed to compile a custom kernel with legacy scsi support turned on, to finally get this drive working:

http://stream0.org/2011/08/04/settin...ive-on-debian/
 
1 members found this post helpful.
Unread 05-30-2012, 02:50 PM   #7
timmcart
LQ Newbie
 
Registered: May 2012
Posts: 7

Rep: Reputation: Disabled
LTFS on Fedora 16

Hi all,

I am having the same problem building the LTFS package from source on a system running Fedora 16. I get the exact same error when I run the make command. The default libicu for the build is 4.6-4. There are a ton of packages that have dependancies to the current libicu. That being said I don't want to remove the current version.

I downloaded an .rpm for 4.2, but when I try to install it I get an error saying that I have a newer version and the older version cannot be installed.

Any suggestions on how to get around?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Quantum physics poll H_TeXMeX_H General 36 06-08-2011 04:14 AM
[SOLVED] quantum lto 4 hh and linux napata Linux - Hardware 2 08-08-2010 02:59 AM
Quantum computer ronlau9 General 7 05-19-2008 03:29 PM
LXer: Quantum Ships Latest Version of StorNext FX Data Management Software LXer Syndicated Linux News 0 10-23-2006 10:33 PM


All times are GMT -5. The time now is 12:39 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration