View previous topic :: View next topic |
Author |
Message |
voogz n00b
Joined: 24 May 2004 Posts: 44
|
Posted: Tue Aug 17, 2004 6:40 pm Post subject: Anyone get azureus working ? |
|
|
i tried several ways , included installing manually but never manage to make it work , maybe its not possible on amd64 ?
---
* tried emerge "~x86" azureus-bin
* i have a java(blackdown) working
* i tried the install instructions from azureus page.
Thx.
V@@gZ _________________ Gentoo AMD64 3300+
SATA RAID0
GeForce 6800 Extreme (soooon)
1GO ddr400
Audigy
I installed linux for 1st time may 2004 :p |
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Wed Aug 18, 2004 5:34 am Post subject: Re: Anyone get azureus working ? |
|
|
voogz wrote: | i tried several ways , included installing manually but never manage to make it work , maybe its not possible on amd64 ?
|
It is, cause I'm using it. All I did was download the full package including libraries from the azureus web site and replace the libswt* files with the precompiled 64-bit versions which I probably got from www.eclipse.org .
I couldn't get it to work with blackdown so I had to install sun-jdk-1.5.0_beta2.
Andrew |
|
Back to top |
|
|
voogz n00b
Joined: 24 May 2004 Posts: 44
|
Posted: Wed Aug 18, 2004 2:32 pm Post subject: |
|
|
trying thanks.
cause fed up with qtorrent :þ _________________ Gentoo AMD64 3300+
SATA RAID0
GeForce 6800 Extreme (soooon)
1GO ddr400
Audigy
I installed linux for 1st time may 2004 :p |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Wed Aug 18, 2004 3:53 pm Post subject: Re: Anyone get azureus working ? |
|
|
alshain wrote: |
It is, cause I'm using it. All I did was download the full package including libraries from the azureus web site and replace the libswt* files with the precompiled 64-bit versions which I probably got from www.eclipse.org .
Andrew |
hi, i've got a problem with libswt-motif-3062.so so i'd like to recover precompiled libswt from eclipse site but i don't find it
can you help me?
thanks |
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Wed Aug 18, 2004 5:52 pm Post subject: Re: Anyone get azureus working ? |
|
|
lopio wrote: |
hi, i've got a problem with libswt-motif-3062.so so i'd like to recover precompiled libswt from eclipse site but i don't find it
can you help me?
thanks |
I've just had a look and all the .so files you need should be in the swt-3.0-linux-gtk-amd64.zip file which you can get here:
http://www.eclipse.org/downloads/index.php
right at the bottom of the page in the 'SWT Binary and Source' section. I tried compiling it myself but didn't have any success.
Andrew |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Wed Aug 18, 2004 7:57 pm Post subject: Re: Anyone get azureus working ? |
|
|
alshain wrote: | lopio wrote: |
hi, i've got a problem with libswt-motif-3062.so so i'd like to recover precompiled libswt from eclipse site but i don't find it
can you help me?
thanks |
I've just had a look and all the .so files you need should be in the swt-3.0-linux-gtk-amd64.zip file which you can get here:
http://www.eclipse.org/downloads/index.php
right at the bottom of the page in the 'SWT Binary and Source' section. I tried compiling it myself but didn't have any success.
Andrew |
thanks i downloaded it but i dont find libswt-motif-3062.so:
My error is
Code: |
$ azureus
Attempting to start Azureus...
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/azureus/libswt-motif-3062.so: /usr/lib/azureus/libswt-motif-3062.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1739)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1664)
at java.lang.Runtime.loadLibrary0(Runtime.java:821)
at java.lang.System.loadLibrary(System.java:991)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.motif.OS.<clinit>(OS.java:20)
at org.eclipse.swt.graphics.Device.<clinit>(Device.java:89)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile
Currently, your classpath (including azureus additions) is:
swt.jar:swt-mozilla.jar:swt-gtk.jar:seda.jar:Azureus2.jar:.
|
and i'm not able to install commons-cli (also in -junit mode)
Code: |
[mkdir] Created dir: /var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/target/classes
[javac] Compiling 18 source files to /var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/target/classes
[javac] /var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/src/java/org/apache/commons/cli/TypeHandler.java:69: warning: org.apache.commons.lang.NumberUtils in org.apache.commons.lang has been deprecated
[javac] import org.apache.commons.lang.NumberUtils;
[javac] ^
[javac] /var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/src/java/org/apache/commons/cli/TypeHandler.java:178: warning: org.apache.commons.lang.NumberUtils in org.apache.commons.lang has been deprecated
[javac] return NumberUtils.createNumber(str);
[javac] ^
[javac] 2 warnings
[jar] Building jar: /var/tmp/portage/commons-cli-1.0-r4/work/commons-cli-1.0/target/commons-cli-1.0.jar
BUILD SUCCESSFUL
Total time: 1 second
>>> Install commons-cli-1.0-r4 into /var/tmp/portage/commons-cli-1.0-r4/image/ category dev-java
man:
prepallstrip:
strip:
>>> Completed installing into /var/tmp/portage/commons-cli-1.0-r4/image/
|
|
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Wed Aug 18, 2004 8:38 pm Post subject: Re: Anyone get azureus working ? |
|
|
lopio wrote: |
thanks i downloaded it but i dont find libswt-motif-3062.so:
|
I don't have libswt-motif-3062.so either, but my azureus works fine. I'm using the distributed azureus jar file. If you're trying to compile it yourself then I'm afraid I can't help - I've had no luck there.
Andrew |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Thu Aug 19, 2004 7:54 am Post subject: Re: Anyone get azureus working ? |
|
|
alshain wrote: | lopio wrote: |
thanks i downloaded it but i dont find libswt-motif-3062.so:
|
I don't have libswt-motif-3062.so either, but my azureus works fine. I'm using the distributed azureus jar file. If you're trying to compile it yourself then I'm afraid I can't help - I've had no luck there.
Andrew |
Hi i tried to follow your suggest .
1) i downloaded eclipse-SDK-3.0-linux-gtk-amd64.zip and Azureus_2.1.0.4_linux.GTK.tar.bz2 (i'm not able to use .jar directly)
2) after extraction in /home/pippo i copied amd64 libs from eclipse dir
Code: |
cp /home/pippo/eclipse/plugins/org.eclipse.swt.gtk64_3.0.0/os/linux/amd64/libswt-* /home/pippo/azureus/
|
3) i switched to java 1.5
Code: |
# java -version
java version "1.5.0-beta2"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b51)
Java HotSpot(TM) 64-Bit Server VM (build 1.5.0-beta2-b51, mixed mode)
|
4)Then with new .so in /home/pippo/azureus i tried to start
Code: |
./azureus
Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2_05]
Configuring environment...
Loading Azureus:
java -cp .:Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/home/pippo/azureus org.gudy.azureus2.ui.swt.Main ''
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pippo/azureus/libswt-pi-gtk-3062.so: /home/pippo/azureus/libswt-pi-gtk-3062.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
Azureus TERMINATED.
|
That library is present
Code: |
bash-2.05b$ pwd
/home/pippo/azureus
bash-2.05b$ ls -la libswt-*
-rwxr-xr-x 1 pippo users 55051 Aug 19 09:43 libswt-atk-gtk-3062.so
-rwxr-xr-x 1 pippo users 9131 Aug 19 09:43 libswt-awt-gtk-3062.so
-rwxr-xr-x 1 pippo users 18639 Aug 19 09:43 libswt-gnome-gtk-3062.so
-rwxr-xr-x 1 pippo users 331496 Aug 19 09:43 libswt-gtk-3062.so
-rwxr-xr-x 1 pippo users 52232 Jun 25 19:17 libswt-mozilla-gtk-3062.so
-rwxrwxrwx 1 pippo users 417325 Aug 19 09:43 libswt-pi-gtk-3062.so
|
Some environment set is missing?
Thanks |
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Thu Aug 19, 2004 10:17 am Post subject: Re: Anyone get azureus working ? |
|
|
lopio wrote: |
Some environment set is missing?
Thanks |
Have a look at the azureus file (it's just a shell script) and see if the PROGRAM_DIR near the top is set correctly.
Andrew |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Thu Aug 19, 2004 11:39 am Post subject: Re: Anyone get azureus working ? |
|
|
alshain wrote: | lopio wrote: |
Some environment set is missing?
Thanks |
Have a look at the azureus file (it's just a shell script) and see if the PROGRAM_DIR near the top is set correctly.
Andrew |
It is set to /home/pippo/azureus so i think it is correct. |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 12:34 pm Post subject: |
|
|
I've read that you don't have moved all the required files:
copy /home/pippo/eclipse/plugins/org.eclipse.swt.gtk64_3.0.0/ws/gtk/* into your azureus dir.
I don't understand why this apps is not included in the portage tree since it works well on my computer (thanks to alshain)... |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Thu Aug 19, 2004 1:55 pm Post subject: |
|
|
ultraViolet wrote: | I've read that you don't have moved all the required files:
copy /home/pippo/eclipse/plugins/org.eclipse.swt.gtk64_3.0.0/ws/gtk/* into your azureus dir.
|
moved but nothing changed
I don't understand why i obtian
Code: |
Exception in thread "main" java.lang.UnsatisfiedLinkError: /home/pippo/azureus/libswt-pi-gtk-3062.so: /home/pippo/azureus/libswt-pi-gtk-3062.so: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1586)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1511)
at java.lang.Runtime.loadLibrary0(Runtime.java:788)
at java.lang.System.loadLibrary(System.java:834)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:100)
at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:19)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:118)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.<init>(SWTThread.java:58)
at org.gudy.azureus2.ui.swt.mainwindow.SWTThread.createInstance(SWTThread.java:45)
at org.gudy.azureus2.ui.swt.mainwindow.Initializer.<init>(Initializer.java:70)
at org.gudy.azureus2.ui.swt.Main.<init>(Main.java:64)
at org.gudy.azureus2.ui.swt.Main.main(Main.java:104)
|
|
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 2:06 pm Post subject: |
|
|
Suitable java version found [java = 1.4.2_05]
This message shows that you have not enabled the correct java version. Try :
java-config --list-available-vms
to view all the java version you have
then :
java-config --set-system-vm=ibm-jdk-1.3.1 replacing ibm-jdk-1.3.1 by the java mentionned by alshain |
|
Back to top |
|
|
lopio Veteran
Joined: 22 Dec 2003 Posts: 1161 Location: savona, Italy
|
Posted: Thu Aug 19, 2004 3:22 pm Post subject: |
|
|
ultraViolet wrote: | Suitable java version found [java = 1.4.2_05]
This message shows that you have not enabled the correct java version. Try :
java-config --list-available-vms
to view all the java version you have
then :
java-config --set-system-vm=ibm-jdk-1.3.1 replacing ibm-jdk-1.3.1 by the java mentionned by alshain |
You are right !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!1
Last time i made (as root)
Code: |
java-config -S sun-jdk-1.5.0_beta2
/usr/sbin/env-update && source /etc/profile
|
but i forgot (as pippo)
Code: |
source /etc/profile
|
Sorry
Now it's fine
Thanks ultraViolet and alshain |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 3:26 pm Post subject: |
|
|
a last thing :
be carefull when you make items sliding in azureus gui since it can freeze gnome... good DL !!! |
|
Back to top |
|
|
Lv Retired Dev
Joined: 22 Jun 2003 Posts: 352
|
Posted: Thu Aug 19, 2004 8:06 pm Post subject: |
|
|
i just added amd64 support to the azureus ebuild. you can now simply emerge it without problems (well, when the change makes it to rsync).
i'd also like to note that it works perfectly for me with blackdown's jdk. |
|
Back to top |
|
|
alshain Apprentice
Joined: 02 Aug 2002 Posts: 202 Location: London, UK
|
Posted: Thu Aug 19, 2004 8:43 pm Post subject: |
|
|
Lv wrote: |
i'd also like to note that it works perfectly for me with blackdown's jdk. |
It would load with no problems but as soon as it started downloading something it would just exit. Simply switching to sun-jdk cured this.
Andrew |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Thu Aug 19, 2004 10:16 pm Post subject: |
|
|
Lv wrote: | i just added amd64 support to the azureus ebuild. you can now simply emerge it without problems (well, when the change makes it to rsync).
i'd also like to note that it works perfectly for me with blackdown's jdk. |
Thank you very much... I've switched from the macOsX world since 8 month and I really appreciate the gentoo community -I would never had imagined a developper taking the time to help users before. For a end user like me, it is the only os which is really friendly... |
|
Back to top |
|
|
voogz n00b
Joined: 24 May 2004 Posts: 44
|
Posted: Fri Aug 20, 2004 2:46 pm Post subject: |
|
|
Thanks !!!
Gentoo ROX _________________ Gentoo AMD64 3300+
SATA RAID0
GeForce 6800 Extreme (soooon)
1GO ddr400
Audigy
I installed linux for 1st time may 2004 :p |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Fri Aug 20, 2004 5:59 pm Post subject: |
|
|
Tested with blackdown : no problem... |
|
Back to top |
|
|
Bad_Byte n00b
Joined: 28 Dec 2003 Posts: 69 Location: Norway
|
Posted: Sat Aug 21, 2004 2:27 am Post subject: |
|
|
It don't work right for me, using the emerge version and blackhawk, it usally run for less than 3 minutes and then just dies for no reason, guess there is a reason but it don't tell me what the reason is ...
Code: |
vecna@nerull vecna $ time azureus
Attempting to start Azureus...
/usr/bin/azureus: line 54: 2619 Real-time signal 26 java -cp $CLASSPATH -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1"
If you recieved an error about a missing java class, you need to setup
your classpath correctly.
This should do the trick (as root):
java-config --add-system-classpath=junit,log4j,commons-cli,systray4j
env-update && source /etc/profile
Currently, your classpath (including azureus additions) is:
swt.jar:swt-pi.jar:swt-mozilla.jar:seda.jar:Azureus2.jar:.
real 1m48.667s
user 0m2.037s
sys 0m0.059s
vecna@nerull vecna $
|
_________________ The sentence below this one is true.
The sentence above this one is false. |
|
Back to top |
|
|
ultraViolet Apprentice
Joined: 03 Apr 2004 Posts: 280 Location: Lyon, France
|
Posted: Sun Aug 22, 2004 12:25 am Post subject: |
|
|
If I ask for azureus to play asound when a dowlnoad is finished, it crash at the end of the download... Perhaps it is the same issue ? |
|
Back to top |
|
|
ONEILL n00b
Joined: 22 Aug 2004 Posts: 5
|
|
Back to top |
|
|
Bad_Byte n00b
Joined: 28 Dec 2003 Posts: 69 Location: Norway
|
Posted: Tue Aug 24, 2004 5:47 am Post subject: |
|
|
Even the "new" amd64 azureus don't work for me (the link above), still no error message to why.
Code: | Starting Azureus...
Java exec found in PATH. Verifying...
Suitable java version found [java = 1.4.2-rc1]
Configuring environment...
Loading Azureus:
java -cp .:Azureus2.jar:swt-mozilla.jar:swt-pi.jar:swt.jar -Djava.library.path=/home/vecna/program_files/azureus org.gudy.azureus2.ui.swt.Main ''
./azureus: line 91: 20559 Real-time signal 26 ${JAVA_PROGRAM_DIR}java -cp ${CLASSPATH} -Djava.library.path="${PROGRAM_DIR}" org.gudy.azureus2.ui.swt.Main "$@"
Azureus TERMINATED. |
_________________ The sentence below this one is true.
The sentence above this one is false. |
|
Back to top |
|
|
pirassic Tux's lil' helper
Joined: 02 Mar 2004 Posts: 83 Location: Florence, Italy
|
Posted: Tue Aug 24, 2004 10:10 am Post subject: |
|
|
it crashes when download begins (the smiley becomes green):
/usr/bin/azureus: line 54: 2127 Real-time signal 26 java -cp $CLASSPATH -Djava.library.path="${AZDIR}" org.gudy.azureus2.ui.swt.Main "$1" |
|
Back to top |
|
|
|