LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 04-13-2004, 04:17 AM   #1
Frederik
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Gentoo (former suse9)
Posts: 8

Rep: Reputation: 0
Question Maple 9.01 installation under Gentoo


Hi everyone!
I finally got Gentoo up and running - and am quite happy with it...
But when I was still using suse installing Maple was no big deal. Now I run into some problems:
There is a shell script to start the installation:
./installMapleLinuxSU
bash: ./installMapleLinuxSU: /bin/sh: bad interpreter: Permission denied

Which seems to be rather a general permission problem (?)

As a workaround I siply used:
sh ./installMapleLinuxSU
./LinuxInstaller.bin: line 1: /mnt/cdrom/Linux/Linux/resource/jre/bin/java: Permission denied

(Maple comes with it's own Java-vm)

I also tried to copy everything to hd, but I also get the same errors - also being root does not change anything either.

Thank you - Frederik

Gentoo with
Kernel 2.6.5-r1
 
Old 04-13-2004, 04:36 AM   #2
Frederik
LQ Newbie
 
Registered: Mar 2004
Location: Germany
Distribution: Gentoo (former suse9)
Posts: 8

Original Poster
Rep: Reputation: 0
oops - I just solved it - reading my own stuff...
For those of you interested... I used my own java-vm

sh ./installMapleLinuxSU LAX_VM /opt/blackdown-jre-1.4.1/bin/java

I still wonder about why I had to invoke the shell script with sh ./script instead of just script...
 
Old 01-10-2005, 06:17 AM   #3
track
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
This is a brilliant example how important it is to share yor knowledge with others even though you solve it on your own.

I was eventually able to install Maple 9 on my Mandrake 10.1 with a slightly modified command:

sh ./installMapleLinuxSU LAX_VM /usr/lib/jdk-1.4.2_05/jre/bin/java

Many thanks Frederik!
 
Old 01-26-2005, 05:57 PM   #4
eyrardurgur
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
Did not work

I tried using the command line from the previous post but when I try to start xmaple it dies right away without even so much as a splash screen. I am using jdk1.5.0_01. I can run maple in command line mode.

Any ideas?
 
Old 02-03-2005, 09:56 PM   #5
carlbenders
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Frederik and Track,
You are RIGHT ON! I installed Maple 9 on my new Mandrake 10.1 with a slight variation on y'alls
instructions. Had to download and install J2RE first though. Installation went smooth. I can run command line and "maple -cw" gets me the classic worksheet interface. But when trying xmaple, I have the same problem as eyrardurgur. Any help would be, um, helpful.

Carl
 
Old 02-05-2005, 05:19 AM   #6
amink
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
Maple Linux Java etc.

First I had a problem with Maple9 for linux installation. While running installation script I received an error message:
Error of VM initialization
java.lang.NullPointerException

It was solved by specifying a path to jre:
./installMapleLinuxSU LAX_VM /usr/lib/jre1.4.2_02/bin/java

Then I had a problem of xmaple running which was almost like eyrardurgur described above. After typing ./xmaple nothing had happened.
Then I have realized that it was the problem of Java Runtime Enviroment included in Maple 9. It doesn't work with glibc2.3.
It was described here
http://lists.adeptscience.co.uk/mug/.../msg_2531.html

Just rename file $MAPLE$/jre.IBM_INTEL_LINUX/bin/java to java.old
and add symbolic link to your own java. In my case it was
mv java java.old
ln -s /usr/lib/jre1.4.2_02/bin/java
 
Old 02-05-2005, 03:46 PM   #7
carlbenders
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Thanx amink
The symbolic link to my J2RE Java did the trick.
 
Old 02-06-2005, 10:38 AM   #8
amink
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
The only problem I have is that help is unavailable. I can use help only in 'maple -cw' mode. Maybe I should make more symbolic links but I haven't tried it yet. Anyway I'm glad my post helped forward.
 
Old 02-08-2005, 07:45 PM   #9
carlbenders
LQ Newbie
 
Registered: Feb 2005
Posts: 5

Rep: Reputation: 0
Yeah amink,
I have the exact same issue with the help menu. I had a similar problem when I installed Maple 9 on OSX (I didn't, however, check if help worked in classic mode). I remember thinking that maybe the installation didn't go off right, so I reinstalled and "voila", help appeared!

Got any symbolic links up your sleeve for me?
 
Old 02-09-2005, 05:24 AM   #10
amink
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
Thank you, carlbenders,
It will be wonderful if reinstallation helps me but I don't think so. The only sensible symbolic link was just $MAPLE$/jre.IBM_INTEL_LINUX/bin/java -> /usr/lib/jre1.4.2_02/bin/java. I had tried to add more symlinks, for example,
$MAPLE$/jre.IBM_INTEL_LINUX/bin/java_vm -> /usr/lib/jre1.4.2_02/bin/java_vm, but there was no effect. Help menu doesn't work. I have installed another linux system called CRUX 1.3 and set up Maple9 under it. But native Maple9 java machine works there without any problem. That's why help is available under CRUX. But in my original case native java machine doesn't work (Error message: Unable to initialize...; java.lang.NullPointerException). That's why I have to make symlink to another one (additionally installed). In my opinion that new java machine brings out a problem with help menu but I don't know why. It's really strange.
 
Old 02-09-2005, 05:45 PM   #11
eyrardurgur
LQ Newbie
 
Registered: Jan 2005
Posts: 2

Rep: Reputation: 0
different java version?

I used aminks setup instructions and everything worked fine, also the help.

I am running Mandrake 10.1 and have jdk1.5.0_01 Maybe jet another java version will help you.

Thanks,
eyrardurgur
 
Old 02-14-2005, 03:52 AM   #12
amink
LQ Newbie
 
Registered: Feb 2005
Posts: 4

Rep: Reputation: 0
Thank you, eyrardurgur!
I have downloaded jdk1.5.0_01 and make symlink $MAPLE$/jre.IBM_INTEL_LINUX/bin/java to it. It seems to solve my problem with help menu. Both maple 9 and help are working fine.
 
Old 05-11-2005, 03:55 PM   #13
Bill Cosby
Member
 
Registered: Jul 2004
Posts: 31

Rep: Reputation: 15
Hi, I use an AMD64 system and I'm trying to install Maple 9.5.
Your information have been helping alot so far, but it still won't install. This are my errors
Code:
sh ./installMapleLinuxSU LAX_VM /opt/blackdown-jdk-1.4.2.01/jre/bin/java
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 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...

grep: error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory
/opt/blackdown-jdk-1.4.2.01/jre/bin/java: error while loading shared libraries: libpthread.so.0: cannot open shared object file: No such file or directory
Anyone knows how to help?
 
Old 05-13-2005, 12:35 PM   #14
Bill Cosby
Member
 
Registered: Jul 2004
Posts: 31

Rep: Reputation: 15
Hej hej, I was reading my errors, and then I saw this
Code:
error while loading shared libraries: libpthread.so.0
well, well, so is it because I only compiled my glibc with "nptlonly" ?
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Maple 8+9 unihiekka Linux - Software 4 09-11-2008 12:33 PM
Maple 10 unihiekka Linux - Software 0 10-08-2005 01:25 PM
Maple 6 Installation the_styler Linux - Software 0 04-01-2004 08:06 AM
Maple 9 Installation Error (libstdc++-libc6.1-1.so.2) mmr_85 Linux - Software 1 11-30-2003 12:23 PM
GENTOO 1.4; Stage1 Installation: Installation freezes arthur1968 Linux - Hardware 1 08-28-2003 11:08 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 08:20 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration