Unable to Install MultiTouch Utilities on Linux

Support about issues that aren't clearly in one of the above areas.

Moderator: The00Dustin

Unable to Install MultiTouch Utilities on Linux

Postby Cerin » 15 Oct 2006, 01:30

When I try to install the utilities in FC5, I get errors complaining about missing libs, even though they're all in /lib. From Google I found this problem might me caused my the line "export LD_ASSUME_KERNEL=2.2.5", and there's even an old patch for setupfw150.bin, but this fix doesn't work for setupfw160.bin. I tried manually removing the line in a hex editor but when I try to run the new file it just complains that "/tmp/install.dir.12271/Linux/resource/vm.tar.Z: not in gzip format".

Has anyone been able to install the utilities in Linux? What can I do?

Regards,
Chris

[chris@atlas touchstream]$ sh ./setupfw160.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...
Extracting the installation resources from the installer archive...
Configuring the installer for this system's environment...
awk: error while loading shared libraries: libdl.so.2: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared obj ect file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared ob ject file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared obj ect file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared ob ject file: No such file or directory

Launching installer...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/tmp/install.dir.12033/Linux/resource/jre/bin/java: error while loading shared l ibraries: libpthread.so.0: cannot open shared object file: No such file or direc tory

[chris@atlas touchstream]$ sh ./setupfw160-2.bin
Preparing to install...
Extracting the JRE from the installer archive...
Unpacking the JRE...

gzip: /tmp/install.dir.12271/Linux/resource/vm.tar.Z: not in gzip format
./setupfw160-2.bin: line 569: uncompress: command not found

gzip: /tmp/install.dir.12271/Linux/resource/vm.tar.Z: not in gzip format
The included VM could not be uncompressed (GZIP/UNCOMPRESS). Please try to
download the installer again and make sure that you download using 'binary'
mode. Please do not attempt to install this currently downloaded copy.
Cerin
Familiar
 
Posts: 17
Joined: 06 Sep 2006, 17:06

Postby Cerin » 15 Oct 2006, 02:00

Nevermind, the following Python script I wrote patches setupfw160.bin.

data = open('setupfw160.bin','rb').read()
key = 'export LD_ASSUME_KERNEL=2.2.5'
data = data.replace(key,' '*len(key))
open('setupfw160-2.bin','wb').write(data)
Cerin
Familiar
 
Posts: 17
Joined: 06 Sep 2006, 17:06

Postby ivanw » 15 Oct 2006, 09:54

Well, in exactly half an hour, you did not let the chance to anyone to post a reply telling that he would not have a clue about the issue.
Nice job, you've just bought yourself another survival period for the package.

It looks like a problem with the binary tools used by the extraction process. This is likely to happen with every major evolution of system dll's. The good news is about the Java layer, I think it should remain compatible for a while.
Last edited by ivanw on 15 Oct 2006, 19:08, edited 1 time in total.
User avatar
ivanw
Zealot
 
Posts: 390
Joined: 29 Jul 2005, 12:32
Location: Paris, France

Postby Cerin » 15 Oct 2006, 18:42

Thanks for the kudos. Glad I could help. I'll also mention that the utils with the included JVM will only work when run as root. Otherwise it complains about not being able to access the USB device. Unsurprisingly, the non-JVM version doesn't work with GCJ (nothing seems to), which is the only other JVM I have installed by default.
Cerin
Familiar
 
Posts: 17
Joined: 06 Sep 2006, 17:06

Postby ivanw » 15 Oct 2006, 19:48

You may try the last run-time version with the "require the specified version to run" command-line option:
-version:<value>
...with 1.4 for <value>
This way, Java 1.5 may also work with the archives...

Under Windows XP, it works even without this option:
<pre>
java -classpath FW_defaults.jar;jdom/jdom.jar;jdom/xerces.jar;jh.jar;jusb/jusb.jar;upgredit.jar;utility_help.jar fingerworks.firmup.UtilityLauncher
Usage:
java [-classpath ?] fingerworks.firmup.Upgrader [-options] firmwarefile configfileA configfileB ...
Options:
-b Upgrade Backup Konfig & Exec too
-q Close window when upgrade done
-O Override hardware version matching
-? Print this usage info

java -classpath FW_defaults.jar;jdom/jdom.jar;jdom/xerces.jar;jh.jar;jusb/jusb.jar;upgredit.jar;utility_help.jar fingerworks.firmup.Diagnostics
Usage:
java [-classpath ?] fingerworks.firmup.Diagnostics [options]
Options:
-p PORTNAME (must resemble: COM#, /dev/?, usb-?, or socket#)
-b Reboot gesture processor (GP)
-i Ignore Vendor & Product IDs
-R DON'T Request recalibration each cycle
-v Report imager version info
-X Exit when done
-? Print this usage info

java -classpath FW_defaults.jar;jdom/jdom.jar;jdom/xerces.jar;jh.jar;jusb/jusb.jar;upgredit.jar;utility_help.jar fingerworks.firmup.USBupgrader
Usage:
java [-classpath ?] fingerworks.firmup.Upgrader [-options] firmwarefile configfileA configfileB ...
Options:
-b Upgrade Backup Konfig & Exec too
-q Close window when upgrade done
-pid 0x??? Upgrade products with ??? ID only
-did 0x??? Upgrade products with version <= ??? only
-O Override hardware version matching
-? Print this usage info
</pre>
User avatar
ivanw
Zealot
 
Posts: 390
Joined: 29 Jul 2005, 12:32
Location: Paris, France


Return to Other troubleshooting

Who is online

Users browsing this forum: No registered users and 1 guest

cron