Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem installing intellij idea
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
purpledemon
n00b
n00b


Joined: 12 Dec 2002
Posts: 4

PostPosted: Tue Dec 24, 2002 11:40 pm    Post subject: problem installing intellij idea Reply with quote

Hey ...

I'm trying to install Intellij IDEA 3.0 (java IDE) on my gentoo install and I get the following error :-

..
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


any ideas ? your help is appreciated ..
Back to top
View user's profile Send private message
taff
n00b
n00b


Joined: 26 Dec 2002
Posts: 3

PostPosted: Thu Dec 26, 2002 9:40 pm    Post subject: Reply with quote

I'm having the exact same problem.
Back to top
View user's profile Send private message
ErikT
n00b
n00b


Joined: 01 Aug 2002
Posts: 11
Location: Stockholm, Sweden

PostPosted: Fri Jan 03, 2003 10:15 pm    Post subject: More of the same. Reply with quote

I also have this problem. The files exist and the symlinks are correct. Anyone know a solution to this?


/Erik
Back to top
View user's profile Send private message
formzero
n00b
n00b


Joined: 14 Dec 2002
Posts: 36
Location: Noisetown

PostPosted: Sat Jan 04, 2003 12:38 am    Post subject: same here Reply with quote

i'm getting the same error while trying to install my copy of Zend Studio which is the php IDE offered by Zend. I've looked through the script of the bin file, but can't find anything that tips it off. anyone?
Back to top
View user's profile Send private message
formzero
n00b
n00b


Joined: 14 Dec 2002
Posts: 36
Location: Noisetown

PostPosted: Sat Jan 04, 2003 12:59 am    Post subject: try this Reply with quote

this got me past the glib check, but i still have other problems with java during the install of Zend. try opening the bin file in a text editor and commenting out the line

Code:
export LD_ASSUME_KERNEL


so in essence, change it to this

Code:
#export LD_ASSUME_KERNEL


this will bypass the check and continue with the install. let me know if this works for you guys.
Back to top
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Sat Jan 04, 2003 2:55 am    Post subject: me too Reply with quote

Hi,

I'm having the exact same problem with IntelliJ Idea, and I started having them when I had done the glibc upgrade, so I'm guessing glibc or dependant updates have created this problem. Before glibc intellij worked perfect.

Mike
Back to top
View user's profile Send private message
corporate_gadfly
n00b
n00b


Joined: 21 Sep 2002
Posts: 29

PostPosted: Sat Jan 25, 2003 3:07 pm    Post subject: Reply with quote

Hi,

I have the exact same problem as OP. Unfortunately, my Gentoo system is down right now (I borked a grub install and made the system unbootable - have to use rescue), so I can't make a bug on bugs.gentoo.org (as I won't be able to provide versions from emerge --info). Can one of you report a bug, please?

Just to give you an idea, I was able to take the same .bin file and install it successfully on a RedHat 8.0 system. I then tried to tar over the ~/IntelliJ* directories back to my Gentoo system but again got errors of the like "error while loading shared libraries: libc.so.6: cannot open shared object file: No such file or directory"

My (now unusable) system was running Gentoo unstable ~x86 and everything was pretty up to date.
Back to top
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Sat Jan 25, 2003 4:59 pm    Post subject: bug posted Reply with quote

Hi,

I posted a bug report at https://bugs.gentoo.org/show_bug.cgi?id=14538

PS : please add info and attachments if you feel there's stuff missing.

Mike
Back to top
View user's profile Send private message
corporate_gadfly
n00b
n00b


Joined: 21 Sep 2002
Posts: 29

PostPosted: Wed Jan 29, 2003 3:58 pm    Post subject: Re: bug posted Reply with quote

Miker wrote:
Hi,

I posted a bug report at https://bugs.gentoo.org/show_bug.cgi?id=14538

PS : please add info and attachments if you feel there's stuff missing.

Mike

Hi everyone,
As it stands, I have it working, please see my comment on the bug report at https://bugs.gentoo.org/show_bug.cgi?id=14538#c8
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Mon Feb 03, 2003 6:05 pm    Post subject: Reply with quote

It doesn't seem to work for me :(

ok, I don't get the libc and librt errors anymore, but now I get a NoClassDefFoundError:

guy@developguy temp $ ./idea-3.0.1v2_modified.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...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:223)
at java.awt.Window.<init>(Window.java:267)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at com.zerog.ia.installer.Main.b(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
guy@developguy temp $

Any ideas ?
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Mon Feb 03, 2003 8:00 pm    Post subject: Reply with quote

not sure what went wrong the previous time, but I never got that NoClassDefFoundError again :?:

But, what I noticed is that when I edit the file (as suggested in this bugreport: https://bugs.gentoo.org/show_bug.cgi?id=14538),
it is dramatically reduced in size, but the size changes depending on the editor I used to edit the file.
(tried KEdit, Kate, KWrite and nano)

No matter what editor I use, I now get the following error:

guy@developguy temp $ ./idea-3.0.1v2_modified.bin
Preparing to install...
Extracting the JRE from the installer archive...
wc: /tmp/install.dir.2800/Linux/resource/vm.tar.Z: No such file or directory
The included VM could not be extracted. 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.
guy@developguy temp $

What the hell is going on here :roll:

Any suggestions ?
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Mon Feb 03, 2003 8:27 pm    Post subject: Reply with quote

ok, I emerged vim and that seems to work.

Now I get that NoClassDefFoundError again.
Back to top
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Mon Feb 03, 2003 8:44 pm    Post subject: Reply with quote

Hi,

The error you mentioned :

Quote:

uy@developguy temp $ ./idea-3.0.1v2_modified.bin
Preparing to install...
Extracting the JRE from the installer archive...
wc: /tmp/install.dir.2800/Linux/resource/vm.tar.Z: No such file or directory
The included VM could not be extracted. 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.
guy@developguy temp $


I also encountered, but that was before I changed all references from $0 to idea_3bla.bin, as detailed in the bug report. The idea is that you have 2 files, one which you edited (with the correct scripts) and a b*rked binary, and the original file (wrong scripts, good binary).

good luck!
Back to top
View user's profile Send private message
kryptolus
n00b
n00b


Joined: 14 Aug 2002
Posts: 15

PostPosted: Tue Feb 04, 2003 12:37 am    Post subject: Almost got it to install .... Reply with quote

move /bin/uname to /bin/uname.real
replace /bin/uname with this perl script
Quote:

#!/usr/bin/perl

if(grep(/-r/,@ARGV))
{
print "2.2.19\n";
exit 0;
}

system("uname.real", @ARGV);

(This basically fools the install script into thinking it's a 2.2 kernel and not setting the ASSUME_KERNEL flag)
With this the installer starts just fine, but right after the step for creating links. It hangs no matter which choice you make.
Back to top
View user's profile Send private message
kryptolus
n00b
n00b


Joined: 14 Aug 2002
Posts: 15

PostPosted: Tue Feb 04, 2003 1:00 am    Post subject: Also ... Reply with quote

If you use the generic tarball on their site, you can install it just fine.
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 7:02 am    Post subject: Reply with quote

Yes Miker, the error occurs "after" i replaced all references to
Quote:
dd if="$0"
in the file idea-3.0.1v2_modified.bin with
Quote:
dd if="idea-3.0.1v2.bin"
.

I'll try the perl script of kryptolus...
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 7:12 am    Post subject: Reply with quote

I can't get it to work.
Now I get following error:
Quote:

[...]
Launching installer...

Error: can't find libjava.so.


I'll download the installer again from the intellij site, make a copy, change that copy as explained in the bug report and see what that'll do
(maybe something happened with the original installer ?) ...
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 7:19 am    Post subject: Reply with quote

nope, same problem:

Quote:

guy@developguy downloads $ ./idea-3.0.1v2.bin.new
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...

Launching installer...

Invocation of this Java Application has caused an InvocationTargetException. This application will now exit. (LAX)

Stack Trace:
java.lang.NoClassDefFoundError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:140)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:62)
at java.awt.Window.init(Window.java:223)
at java.awt.Window.<init>(Window.java:267)
at java.awt.Frame.<init>(Frame.java:398)
at java.awt.Frame.<init>(Frame.java:363)
at com.zerog.ia.installer.Main.b(Unknown Source)
at com.zerog.ia.installer.Main.main(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at com.zerog.lax.LAX.launch(Unknown Source)
at com.zerog.lax.LAX.main(Unknown Source)
GUI-
guy@developguy downloads $


Maybe it needs the sun jdk instead of the default blackdown-jdk ?
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 7:35 am    Post subject: Reply with quote

no, it still doesn't work :(

Quote:

guy@developguy downloads $ which java
/opt/sun-jdk-1.3.1.06/bin/java
Back to top
View user's profile Send private message
Miker
n00b
n00b


Joined: 20 Jun 2002
Posts: 65
Location: Belgium

PostPosted: Tue Feb 04, 2003 8:30 am    Post subject: Reply with quote

for what it's worth, I use the sun 1.4.1 jdk
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 8:31 am    Post subject: Reply with quote

:D Yiepie

i dug around a bit and found a very interesting bit of information.

it turns out that jdk1.4.1 hasn't been written to use gcc 3.x yet, so you need to install compatibility libs for 2.9xx

if you are on gentoo, the portage package is:

Quote:

sys-libs/lib-compat


and indeed, I emerged this package and guess what: it works !

Thanx for all of you who helped me with this prob !
Back to top
View user's profile Send private message
corporate_gadfly
n00b
n00b


Joined: 21 Sep 2002
Posts: 29

PostPosted: Tue Feb 04, 2003 2:18 pm    Post subject: Reply with quote

guydeschepper wrote:
:D Yiepie

i dug around a bit and found a very interesting bit of information.

it turns out that jdk1.4.1 hasn't been written to use gcc 3.x yet, so you need to install compatibility libs for 2.9xx

if you are on gentoo, the portage package is:

Quote:

sys-libs/lib-compat


and indeed, I emerged this package and guess what: it works !

Thanx for all of you who helped me with this prob !

I'm glad it all worked out for you. I am a little confused though. A couple of posts ago, you said you had sun-jdk-1.3.1.06. And then in your most recent post you mentioned that emerging lib-compat fixed it for you. Did you in the meantime upgrade to sun-jdk1.4.1.01?

For other people having problems, the full details of my system are now posted in the bug report https://bugs.gentoo.org/show_bug.cgi?id=14538#c10 .
Back to top
View user's profile Send private message
corporate_gadfly
n00b
n00b


Joined: 21 Sep 2002
Posts: 29

PostPosted: Tue Feb 04, 2003 2:28 pm    Post subject: Reply with quote

And for the more enthusiastic folks among you, 8O, setting the environment variable LAX_DEBUG will print diagnostics from within the installer. That might help in tracing some of the problems. Something like "env LAX_DEBUG=1 ./idea-3.0.1v2.bin.new" should work. Be sure to see the bug report and check on the obvious things first.
Back to top
View user's profile Send private message
corporate_gadfly
n00b
n00b


Joined: 21 Sep 2002
Posts: 29

PostPosted: Tue Feb 04, 2003 2:47 pm    Post subject: Reply with quote

I have found a way to edit the file in place by using hexedit (app-editors/hexedit-1.2.2). Hence no more messing around with changing the args to "dd". See https://bugs.gentoo.org/show_bug.cgi?id=14538#c11 for the detailed steps. Errata in https://bugs.gentoo.org/show_bug.cgi?id=14538#c12

By using this technique, diff now shows:
Code:
1991,1992c1991,1992
<               #D_ASSUME_KERNEL=2.2.5
<               #xport LD_ASSUME_KERNEL
---
>               LD_ASSUME_KERNEL=2.2.5
>               export LD_ASSUME_KERNEL
and nothing else is different about the two files.

Last edited by corporate_gadfly on Tue Feb 04, 2003 7:24 pm; edited 1 time in total
Back to top
View user's profile Send private message
guydeschepper
n00b
n00b


Joined: 29 Sep 2002
Posts: 13

PostPosted: Tue Feb 04, 2003 4:38 pm    Post subject: Reply with quote

well no, I still use jdk1.3.1_06 but the installer of Intellij contains its own runtime which seems to be 1.4.x
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum