View Full Version : Linux install
Arthur
Apr 17th, '03, 10:33 AM
Has anybody gotten HD to install on a Linux system? I got the shipped CD, tried running the install script, and it bombs out. Apparently, it is looking for some kind of libraries. I use SuSE 8.1.
Simon
Apr 17th, '03, 10:42 AM
One Linux' main strengths is also one of its main weaknesses. The versatility and customizability of the system make it very difficult to create an app that will run on every distro without some configuration.
There are other folks on this board that have installed to SuSE, so they'll likely be able to help you out far easier than I can, never having installed to that distro, myself.
It will likely help if you post the actual error message that you're getting when you try to run the installer.....
lemming
Apr 17th, '03, 02:53 PM
It's probably the RH kernel kludge that screwing up the install. The attached perl oneliner should do the trick, but you'll have to run it on the HeroDesigner file as well.
YMMV, make backups, etc...
Arthur
Apr 17th, '03, 04:14 PM
I did manage to save the error messages I recd.
*************************************
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...
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/bin/ls: error while loading shared libraries: librt.so.1: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
dirname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
basename: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
hostname: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
Launching installer...
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
rm: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory.
*************************************
Looks like I have to install some libraries. glibc rings a bell. Not sure how to proceed from here, though.
lemming
Apr 17th, '03, 07:54 PM
Originally posted by Arthur
Looks like I have to install some libraries. glibc rings a bell. Not sure how to proceed from here, though.
Maybe in addition, but you need to run my script as well.
Arthur
Apr 18th, '03, 08:19 AM
OK, but how do I go about "running" a text file? Do I rename it to .bin and execute it as a shell script? I understand that the .txt extension doesn't mean it's not executable, but I'm still not sure of the best way to invoke it.
Also, what does it mean to "run it against Hero Designer"? Some kind of parameter?
Chris Goodwin
Apr 18th, '03, 01:22 PM
Can't help you with hdfix. However, try this one on:
Get thee to http://java.sun.com/j2se/1.4.1/index.html
Go to J2SE downloads
Go to J2SE 1.4.1
Download the JRE for your operating environment
Install it according to the instructions that come with it (or if it's an .rpm and you're using Red Hat, use your RPM software)
Then install HeroDesigner.
Arthur
Apr 26th, '03, 09:38 AM
Finally got the thing working. Here's what I had to do:
FOUND THIS SECTION IN INSTALL SCRIPT. THIS IS WHAT IT LOOKED LIKE AFTER EDIT
# glibc floating stack problem on Linux
#f [ `uname -s` = Linux ]
#hen
#ase `uname -r` in
#.[456]*)
#D_ASSUME_KERNEL=2.2.5
#xport LD_ASSUME_KERNEL
#;
#sac
#i
DO THE EXACT SAME THING IN THE HeroDesigner FILE AFTER UNPACKING.
SuSE Linux uses version 3.2 of gcc. Apparently, previous versions had some sort of FP operations issue, and Java scripts added a kludge for it. The newer library not only doesn't need the band-aid; the band-aid actually breaks the current implementation.
The SuSE Linux newsgroup was an invaluable aid. I noted that that perl one liner was supposed to do something similar, but I never got it to execute. Probably a PEBCAK issue on that one.
lemming
Apr 26th, '03, 05:27 PM
sorry. Didn't get back to you, but you're right. That's what the perl one liner would do. For future reference, to get the hdfix.txt. To get it to run all you'd have to do is type: "perl hdfix.txt install.bin" which would create install.bak and a modified install.bin. After running the install, you'd then "perl hdfix.txt HeroDesigner"
I keep needing to be reminded that other people aren't programmers and/or with 20 years of Unix experience :D
Arthur
Apr 27th, '03, 01:55 PM
Originally posted by lemming
all you'd have to do is type: "perl hdfix.txt install.bin" which would create install.bak and a modified install.bin. After running the install, you'd then "perl hdfix.txt HeroDesigner"
I keep needing to be reminded that other people aren't programmers and/or with 20 years of Unix experience :D
So that Perl one-liner is a text modification command? I take it you mean it would have done automatically what I did manually.
I was a C programmer for five years. However, my last programming gig ended in March 2001. I never studied Perl. Before that, I was a VMS sys admin for many years (of course, the OS I chose to specialize in is nigh-extinct, while I did only sporadic work in Unix). I'm slowly getting up to speed in Linux - I do most of my admin work at the command prompt (GUIs are for wimps).
lemming
Apr 27th, '03, 05:48 PM
Originally posted by Arthur
I'm slowly getting up to speed in Linux - I do most of my admin work at the command prompt (GUIs are for wimps).
Well, Perl is a great admin tool. Pick up Learning Perl from O'Reilly, great book.
Powered by vBulletin® Version 4.2.0 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.