Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Anyone get azureus working ?
View unanswered posts
View posts from last 24 hours

Goto page 1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
voogz
n00b
n00b


Joined: 24 May 2004
Posts: 44

PostPosted: Tue Aug 17, 2004 6:40 pm    Post subject: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Aug 18, 2004 5:34 am    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
voogz
n00b
n00b


Joined: 24 May 2004
Posts: 44

PostPosted: Wed Aug 18, 2004 2:32 pm    Post subject: Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Wed Aug 18, 2004 3:53 pm    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Aug 18, 2004 5:52 pm    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Wed Aug 18, 2004 7:57 pm    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Wed Aug 18, 2004 8:38 pm    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Thu Aug 19, 2004 7:54 am    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Thu Aug 19, 2004 10:17 am    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Thu Aug 19, 2004 11:39 am    Post subject: Re: Anyone get azureus working ? Reply with quote

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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 12:34 pm    Post subject: Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Thu Aug 19, 2004 1:55 pm    Post subject: Reply with quote

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 :cry:
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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 2:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
lopio
Veteran
Veteran


Joined: 22 Dec 2003
Posts: 1161
Location: savona, Italy

PostPosted: Thu Aug 19, 2004 3:22 pm    Post subject: Reply with quote

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 :oops:

Now it's fine
Thanks ultraViolet and alshain
Back to top
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 3:26 pm    Post subject: Reply with quote

a last thing :
be carefull when you make items sliding in azureus gui since it can freeze gnome... good DL !!!
Back to top
View user's profile Send private message
Lv
Retired Dev
Retired Dev


Joined: 22 Jun 2003
Posts: 352

PostPosted: Thu Aug 19, 2004 8:06 pm    Post subject: Reply with quote

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
View user's profile Send private message
alshain
Apprentice
Apprentice


Joined: 02 Aug 2002
Posts: 202
Location: London, UK

PostPosted: Thu Aug 19, 2004 8:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Thu Aug 19, 2004 10:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
voogz
n00b
n00b


Joined: 24 May 2004
Posts: 44

PostPosted: Fri Aug 20, 2004 2:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Fri Aug 20, 2004 5:59 pm    Post subject: Reply with quote

Tested with blackdown : no problem...
Back to top
View user's profile Send private message
Bad_Byte
n00b
n00b


Joined: 28 Dec 2003
Posts: 69
Location: Norway

PostPosted: Sat Aug 21, 2004 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
ultraViolet
Apprentice
Apprentice


Joined: 03 Apr 2004
Posts: 280
Location: Lyon, France

PostPosted: Sun Aug 22, 2004 12:25 am    Post subject: Reply with quote

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
View user's profile Send private message
ONEILL
n00b
n00b


Joined: 22 Aug 2004
Posts: 5

PostPosted: Sun Aug 22, 2004 9:54 pm    Post subject: AMD64 build of azureus. Reply with quote

i allso had problems geting azureus to work but after searching the azureus forums for a while i found this post that details the problem.
http://sourceforge.net/forum/forum.php?thread_id=1114334&forum_id=374248
'it allso consists of a amd64 build of azureus made by one of the developers.
http://azureus.sf.net/download/Azureus_2.1.0.4_linux.GTK_AMD64.tar.bz2
i havent tryed emerging azureus since a week ago or so so i dont know if it works but one things for sure the amd64 build availabel on the link over works for sure.
Back to top
View user's profile Send private message
Bad_Byte
n00b
n00b


Joined: 28 Dec 2003
Posts: 69
Location: Norway

PostPosted: Tue Aug 24, 2004 5:47 am    Post subject: Reply with quote

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
View user's profile Send private message
pirassic
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2004
Posts: 83
Location: Florence, Italy

PostPosted: Tue Aug 24, 2004 10:10 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Goto page 1, 2, 3  Next
Page 1 of 3

 
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