Question: Tgicl Installation
0
gravatar for Daniel Fernandez
7.8 years ago by
Daniel Fernandez0 wrote:

Hi,

This is my problem, I've tried to install TGICL for clustering EST, from http://sourceforge.net/projects/tgicl/ My machine is Linux 32-bits, Ubuntu 11.10

I decompress the file perl-tgicl2.1-1all.deb: tar xcvf perl-tgicl2.1-1all.deb Then I copied all files from perl-tgicl2.1-1all/usr/bin to /usr/local/bin (executables and perl scripts)

But when I try to run tgicl in the console appear

Can't locate TGI/Mailer.pm in @INC (@INC contains: /usr/local/bin /etc/perl /usr/local/lib/perl/5.12.4 /usr/local/share/perl/5.12.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.12 /usr/share/perl/5.12 /usr/local/lib/site_perl .) at /usr/local/bin/tgicl line 12. BEGIN failed--compilation aborted at /usr/local/bin/tgicl line 12.

Well I'm confuse whit this, please can you help me with this.

Thanks

Daniel Fernandez

est clustering • 3.9k views
ADD COMMENTlink modified 2.2 years ago by Biostar ♦♦ 20 • written 7.8 years ago by Daniel Fernandez0

maybe you need to tell perl where to find the modules. The easiest way is to add a pointer (which points to where mailer.pm is, like 'use /.../tgicl/modules/) in front of the main tgicl perl script.

ADD REPLYlink written 7.8 years ago by Vitis2.2k
1
gravatar for Neilfws
7.8 years ago by
Neilfws48k
Sydney, Australia
Neilfws48k wrote:

This is the first time I've heard that a .deb file can be extracted using tar. I doubt that this is exactly what you did.

Anyway, since the software was packaged for Debian/Ubuntu, all you should need to do is:

sudo dpkg -i perl-tgicl_2.1-1_all.deb

And if any dependencies were not satisfied, an additional step:

sudo apt-get -f install

If that doesn't work, you can start to worry about whether the Perl modules are in the correct location (@INC).

ADD COMMENTlink written 7.8 years ago by Neilfws48k

Thanks, you're right, is with spkg but then I need to install some packages lib32z libc6-i386 libfile-homedir-perl libfile-spec-perl But in synaptic I only found the last 2, how can I install the lib32z & libc6-i386?

ADD REPLYlink written 7.8 years ago by Daniel Fernandez0

apt-cache search on my system (Ubuntu 11.10) finds lib32z1, lib32z1-dev and libc6-i386. Check that all repositories are enabled in /etc/apt/sources.list, then sudo apt-get update and try e.g. "apt-cache search lib32z".

ADD REPLYlink written 7.8 years ago by Neilfws48k

I check this package with apt-cache search but I don't have them, and when I try apt-get install lib32z libc6-i386, in the terminal appears Unable to locate package

ADD REPLYlink written 7.8 years ago by Daniel Fernandez0

Note the correct package name for the first one: lib32z1. With a "1" after the "z".

ADD REPLYlink written 7.8 years ago by Neilfws48k

I don't have any similar to lib32z*, lib32z or lib32z1 or similar to lib32, and with libc6-i386 the most similar (libc6, libc6-dbg, libc6-dev, libc6-pic, libc6-proc, libc6-amd64, libc6-dev-amd64, libc6-armel-armhf-cross, libc6-aremel-cross, libc6-armhf-armel-cross, libc6-armhf-cross,libc6-dbg-armel-cross, libc6-dbgarmhf-cross, libc6-dev-armel-armhf-cross, libc6-dev-armel-cross)

ADD REPLYlink written 7.8 years ago by Daniel Fernandez0

This is interesting. I have lib32z1 on my home machine which is 64-bit, but not at work on my 32-bit machine. I see your system is also 32-bit. I think you will have to do some web searching and double-check at the TGICL website to figure out how to get things working on 32-bit. It's probably something to do with the zlib library.

ADD REPLYlink written 7.8 years ago by Neilfws48k
Please log in to add an answer.

Help
Access

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.
Powered by Biostar version 2.3.0
Traffic: 1720 users visited in the last hour