qBittorrent/Azureus su Salix xfce 14

Italian forum
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

laplume wrote:...
Non ti serve lo slackbuild di jdk.
Non capisco. Perchè non mi serve? :?
Nella descrizione di Vuze dice chiaramente:

Code: Select all

This requires: xulrunner, jdk
E quando ho tentato di installare xulrunner da Sourcery non lo ha fatto perchè non poteva installare automaticamente jdk come dipendenza. O meglio, non poteva scaricarlo automaticamente per la questione della licenza.
Dunque, non devo prima procedere a sistemare la questione di jdk, poi xulrunner ed infine vuze?
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: qBittorrent/Azureus su Salix xfce 14

Post by laplume »

Ciao,
non ti serve jdk perché una salix full ha già openjre installato che sostituisce jdk.
Come ti scrivevo precedentemente sono partito da una Salix 14 full 'pulita' e mi sono limitato a scaricare lo slackbuild di vuze. La compilazione, la creazione e l'installazione del pacchetto sono andati a buon fine quindi non c'è necessità di installare preventivamente altro.
Se lo slackbuild richiede jdk è probabilmente perché la distro madre (cioè Slackware) non ha pacchettizzato openjre (non ho verificato ma immagino che il motivo sia quello); su Salix invece hai già openjre pacchettizzato ed installato di default.

In sostanza, in questo caso non hai bisogno di rintracciare ulteriori dipendenze, installa vuze dallo slackbuild e sei a posto.
Ciao
Antonio
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Ho provato.
Apparentemente, l'installazione ha funzionato.
Poi, però, quando uso l'icona che compare nel menù di avvio, la finestra di vuze si apre e si richiude da sola subito dopo. :?
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: qBittorrent/Azureus su Salix xfce 14

Post by laplume »

Lancia Vuze da terminale e posta l'output. Forse riesco a vedere cosa va storto.

Ciao
Antonio
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Che output bello consistente! :o

Code: Select all

Starting Azureus...
Suitable java version found [java = 1.7.0_09]
Configuring environment...
Java exec found in PATH. Verifying...
Browser check failed with: InvocationTargetException, No more handles [MOZILLA_FIVE_HOME='/usr/lib64/seamonkey'] (java.lang.UnsatisfiedLinkError: Could not load SWT library. Reasons: 
	no swt-mozilla-gtk-3650 in java.library.path
	no swt-mozilla-gtk in java.library.path
	/tmp/swtlib-64/libswt-mozilla-gtk-3650.so: libxpcom.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
	Can't load library: /tmp/swtlib-64/libswt-mozilla-gtk.so
)
Auto-scanning for GRE/XULRunner.  You can skip this by appending the GRE path to LD_LIBRARY_PATH and setting MOZILLA_FIVE_HOME.
  checking /usr/lib64/seamonkey-2.14 for GRE
	Can not use GRE from /usr/lib64/seamonkey-2.14 because it's missing libxpcom.so.
  checking /usr/lib64/firefox for GRE
	Can not use GRE from /usr/lib64/firefox because it's missing libxpcom.so.
  checking /usr/lib64/firefox-17.0esr for GRE
GRE found at /usr/lib64/firefox-17.0esr.
Browser check failed with: InvocationTargetException, XPCOM error -2147467261
Can't create browser.  Will try to set LD_LIBRARY_PATH and hope Vuze has better luck.
setting LD_LIBRARY_PATH to: /usr/lib64/firefox-17.0esr:/usr/lib64/seamonkey
setting MOZILLA_FIVE_HOME to: /usr/lib64/firefox-17.0esr
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar:./swt.jar" -Djava.library.path="/usr/lib64/vuze" -Dazureus.install.path="/usr/lib64/vuze" -Dazureus.script="/usr/bin/vuze" -Dazureus.script.version=2 org.gudy.azureus2.ui.swt.Main 
file:/usr/lib64/vuze/Azureus2.jar ; file:/usr/lib64/vuze/swt.jar ; file:/usr/lib64/vuze/
DEBUG::Fri Nov 30 10:36:34 CET 2012::org.gudy.azureus2.ui.swt.Utils::launch::956:
  Failed to launch 'http://www.vuze.com:80/install/first.start?iid=&azid=P334MWID2OOFIO4FEA4RD6J7X6TXDIWF&azv=4.6.0.4&locale=it_IT&os.name=Linux'
    Initializer::checkInstallID::304, Initializer::runInSWTThread::273, SWTThread::<init>::271, SWTThread::createInstance::63, Initializer::<init>::163, NativeConstructorAccessorImpl::newInstance0::-2, NativeConstructorAccessorImpl::newInstance::57, DelegatingConstructorAccessorImpl::newInstance::45, Constructor::newInstance::525, Main::<init>::114, Main::main::292, NativeMethodAccessorImpl::invoke0::-2, NativeMethodAccessorImpl::invoke::57, DelegatingMethodAccessorImpl::invoke::43, Method::invoke::601, MainExecutor$1::run::37, Thread::run::722
UIFunctions/ImageLoad took 50ms
new shell took 203ms
new shell setup took 176ms
skin init took 372ms
MainMenu init took 125ms
pre skin widgets init took 51ms
WARNING: already added UIUpdatable com.aelitis.azureus.ui.swt.views.skin.sidebar.SideBar@46ee6763
skin widgets (1/2) init took 201ms
skin widgets (2/2) init took 176ms
pre SWTInstance init took 0ms
Init Core Columns took 140ms
SWTInstance init took 0ms
shell.layout took 151ms
---------SHOWN AT 1354268196737;4298ms
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x0000000000000000, pid=17730, tid=140397173995264
#
# JRE version: 7.0_09-b30
# Java VM: OpenJDK 64-Bit Server VM (23.2-b09 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C  0x0000000000000000
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# An error report file with more information is saved as:
# /tmp/hs_err_pid17730.log
#
# If you would like to submit a bug report, please include
# instructions on how to reproduce the bug and visit:
#   http://icedtea.classpath.org/bugzilla
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#
/usr/bin/vuze: line 188: 17730 Annullato               ${JAVA_PROGRAM_DIR}java "${JAVA_ARGS}" -cp "${CLASSPATH}" -Djava.library.path="${PROGRAM_DIR}" -Dazureus.install.path="${PROGRAM_DIR}" -Dazureus.script="$0" $JAVA_PROPS $START_CLASS "$@"
Exit from Azureus complete
No shutdown tasks to do
Azureus TERMINATED.
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: qBittorrent/Azureus su Salix xfce 14

Post by laplume »

Ciao,
Ho riprovato l'intero processo in Virtualbox. Ho reinstallato Salix 14 da zero, salvato una snapshot del sistema, riavviato ed installato vuze tramite lo Slackbuild. A parte una segnalazione che mi dice che non potrà aggiornare l'applicazione se non cambia permessi ad una directory l'applicazione funziona tranquillamente.
Ho riprovato col torrent di salix 14 e si è messo a scaricarlo anche piuttosto velocemente (tieni conto che riesco a farlo andare su una macchina virtuale con soli 430 MB di ram assegnati ed ancora riesce a girare decentemente...).

Mi viene un dubbio. Nelle istruzioni che ho postato ti ho segnato il sorgente per la versione a 32 bit (ossia quella che va bene per la macchina che uso io). Non è che per caso hai un sistema a 64 bit? Se è così vai sulla pagina dello Slackbuild e scaricati il sorgente adatto ai sistemi 64 bit (e scusami per la disattenzione :oops: ), disinstalla il pacchetto precedente (anche via Gslapt), fai rigirare lo slackbuild (sostituendo l'archivio sorgente 32bit con quello 64bit) ed installa il pacchetto risultante.


Ciao
Antonio
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Impossibile!
Io l'ho scaricato dalla pagina del repository ed ho visto bene che ci sono due versioni ed ho scaricato quella a 64bit.
Perchè a me si è rifiutato di funzionare? :?
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: qBittorrent/Azureus su Salix xfce 14

Post by laplume »

Ciao,
ho lanciato l'applicaizone da terminale e mi dà il tuo stesso output che differisce in

Can't create browser. Will try to set LD_LIBRARY_PATH and hope Vuze has better luck.
setting LD_LIBRARY_PATH to: /usr/lib64/firefox-17.0esr:/usr/lib64/seamonkey

da me l'ultima frase è sostituita da
GRE/XULRunner automatically found

e da lì riparte ad inizializzare il programma e a caricare i plugins.
Direi che nel tuo caso o si è installato male il pacchetto oppure vedendo che punta ad una directory di firefox potresti provare ad installare firefox e vedere se così rilanciando vuze funziona.
Ti consiglio però di far sempre le prove in virtualbox prima di lavorare sulla macchina di produzione, almeno così provi in ambiente sicuro e vedi come si comporta il sistema.
Ciao
Antonio
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Ma io sto già usando FireFox!
Xulrunner, invece non ce l'ho. Come ti ho detto in precedenza, non sono riuscito ad installarlo da SlackBuild perchè prima vuole installare jdk.

Ormai ho già fatto tutto fino ad ora senza macchina virtuale. :(
User avatar
laplume
Donor
Posts: 348
Joined: 4. Sep 2010, 07:40
Location: (VI) Italy

Re: qBittorrent/Azureus su Salix xfce 14

Post by laplume »

Ciao,
In teoria se hai firefox installato dovresti aver già installato xulrunner.
Da https://developer.mozilla.org/en-US/docs/XULRunner
XULRunner is a Mozilla runtime package that can be used to bootstrap XUL+XPCOM applications that are as rich as Firefox and Thunderbird

L'ultimo tentativo che mi viene in mente è quello di disinstallare il pacchetto, eliminare eventuali cartelle .vuze dalla tua home e provare a reinstallare il pacchetto.

Prova a fare così altrimenti l'unica è postare l'ouput da terminale del lancio di vuze nella sezione Problems e vedere se qualche utente riesce a darti una soluzione.

Spero che in un modo o nell'altro tu riesca a risolvere.
Antonio
Post Reply