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 »

Come verifico la presenza di xulrunner?

Da GSlapt non risulta nè installato nè installabile.

EDIT:
Ho ridato un'occhiata.
Di FireFox io ho installato solo il pacchetto con nome:
17.0esr-x86_64-1gv
Ho tralasciato il:
17.0-x86_64-1_slack14.0

Non è che ho sbagliato e dovevo installare entrambi? :?
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Sembra di no. Dato che se tento di selezionare uelpacchetto vedo che non posso installarlo, ma dovrei fare un degrade.

Allora ho provato a seguire l'altra via.
Cioè, installare jdk per poter installare xulrunner da Sourcery.

L'installazione di jdk è andata bene.
Questa volta, da Sourcery ho potuto scaricare direttamente xulrunner, perchè non mi è stato richiesto jdk.
Poi, però si è prodotto un altro errore durante l'installazione di xulrunner:

Code: Select all

checking for nspr-config... no
checking for NSPR - version >= 4.9.0... no
configure: error: your don't have NSPR installed or your version is too old
fakeroot -- sh xulrunner.SlackBuild Failed
Così l'operazione è stata interrotta.

Non trovo questo NSPR nè in GSlapt, nè in Sourcery.
Ho googlato su questo NSPR e sul sito di mozilla vedo riportata la versione 4.8.3, che è troppo vecchia. Strano!
Infatti, girando meglio, sono arrivato a questo:
https://ftp.mozilla.org/pub/mozilla.org ... 4.9.4/src/
Ho scaricato il pacchetto, ma nonavendo uno SlackBuild non so cosa devo farci. :?
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 »

Quello che hai scaricato è il sorgente del runtime che fa funzionare le applicazioni mozilla tipo Firefox, Thunderbird. Se hai Firefox dovresti avere già xulrunner attivo.
Se l'installazione di jdk è andata a buon fine hai provato a lanciare vuze da terminale e vedere se funziona?

Per quanto riguarda i pacchetti di Firefox il primo che hai segnato è quello preparato appositamente per Salix, il secondo è quello standard di slackware, quindi dovrebbe essere corretto quello che hai caricato tu.

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 a far partire Vuze ed ho confrontato l'output con quello di prima.
Mi sembrano identici.
A quanto pare, prima devo aver letto male. Non era xulrunner che non trovava.
Il nocciolo delproblema sembra questo:

Code: Select all

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
Dunque non trova una libreria che invece dovrebbe esserci perchè dovrebbe essere stata installata con il pacchetto mozilla.

Non vedo niente in GSlapt che mi suggerisca qualcosa.
Però ho visto che non ho qualche library di mozilla (nss) e l'ho installata.
Il risultato è sempre lo stesso.
Dovrei capire quella libreria SWT da dove si scarica-installa.
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

In problems mi hanno risposto così:
I believe that it needs xulrunner. It's available via slapt-src, which will build it from sources, To build xulrunner you also need yasm and mozilla-nss, both are available via slapt-get. Once these are installed xulrunner will start to build but a about an hour in the build it failed for a missing libgnome file. That's where I stopped. There are too many other bitrorrent apps available to go through dependency help for vuze.
Ho capito che servono yasm e mozilla-nss e poi xulrunner.
O.K. Ora ho entrambi i primi due e sto riprovando a compilare xulrunner da Sourcery.
Il resto non l'ho capito.
Cosa dovrei fare? :?
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, a quanto pare anche chi ti ha risposto ha avuto problemi con le dipendenze. Ha provato compilare xulrunner tramite il tool slapt-src (vedi la guida al'utilizzo per maggiori info) dopo aver installato yasm and mozilla-nss via slapt-get. Dopo che il processo di compilazione durava da un'oretta il tutto si è bloccato per una dipendenza da qualche file di ibgnome. Di fatto ha poi lasciato perdere.

Per il problema che segnali tu ho lo stesso output da terminale

Code: Select all

Browser check failed with: InvocationTargetException, No more handles [MOZILLA_FIVE_HOME='/usr/lib/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-32/libswt-mozilla-gtk-3650.so: libxpcom.so: impossibile aprire il file oggetto condiviso: File o directory non esistente
	Can't load library: /tmp/swtlib-32/libswt-mozilla-gtk.so
che tuttavia non impedisce a vuze di avviarsi.
Il tutto senza installare nient'altro che una salix full da cd e lo slackbuild di vuze. Aquesto punto credo che sia un problema o di pacchetto creato male dallo slackbuild o di librerie mancanti nella versione 64bit che invece nella 32bit sono presenti.
Per me conviene che provi il tutto in virtualbox e vedi se ti dà risultati diversi. Se invece l'installazione ve bene probabilmente hai qualche programma nell'ambiente di produzione che crea conflitti, ma se fosse così credo sia piuttosto diffiicile da individuare.

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

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Io, questa volta, da Sourcery, non ho incontrato la minima difficoltà.
Xulrunner si è installato senza battere ciglio. Ma il risultato non è cambiato di un pelo.
Questo era prevedibile, perchè Vuze non si lamentava di non trovare xulrunner, ma di non trovare swt-mozilla.
Dunque, è swt-mozilla che bisogna procurargli. Come? :?

EDIT:
Ho trovato questa pagina http://stackoverflow.com/questions/6418 ... ot-working
che suggerisce che il problema sia dovuto alla mancanza di WebKitGTK.
Ho guardato in GSlapt. Ho WebKit, ma non ho WebKitGTK che è presente solo in versione i486 e niente versione x86_64.
Ho guardato in sourcery e lì vedo una sola versione senza specificato se è i486 o x86_64.
Non mi ci raccapezzo. :?
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Mi è arrivato un altro suggerimento.
Ho provato a disinstallare vuze ed a cercarlo direttamente sul sito di vuze.
Scaricato, installato e visto funzionare senza un problema! :o

Ed io ho perso tutto questo tempo e pasticciato con le installazioni quando era così semplice!!! :( :?

E neanche mi piace. Ha tanto un'aria winzozziana. :cry:

Ma quali sono i client bittorrent più apprezzati su Linux? :?
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Non ho capito niente. Ho detto una sciocchezza.
L'installazione di vuze non è andata proprio bene.
Il programma parte, ma gurdando bene nel terminale è evidente che qualcosa non è andanto nel modo giusto.
Infatti, non è mai arrivato a restituire la linea di comando.
Questo è l'output:

Code: Select all

root@darkstar:/home/unknow/Scaricati# cd vuze
root@darkstar:/home/unknow/Scaricati/vuze# ./vuze
Starting Azureus...
Suitable java version found [java = 1.7.0_09]
Configuring environment...
Java exec found in PATH. Verifying...
find: "/root/.azureus": File o directory non esistente
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
GRE/XULRunner automatically found
Loading Azureus:
java -Xmx128m -cp "./Azureus2.jar" -Djava.library.path="/home/unknow/Scaricati/vuze" -Dazureus.install.path="/home/unknow/Scaricati/vuze" -Dazureus.script="./vuze" -Dazureus.script.version=3 org.gudy.azureus2.ui.swt.Main 
file:/home/unknow/Scaricati/vuze/Azureus2.jar ; file:/home/unknow/Scaricati/vuze/
DEBUG::Sun Dec 02 20:18:14 CET 2012  Successfully migrated key management
UIFunctions/ImageLoad took 25ms
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
Le impostazioni non possono essere caricate: File o directory non esistente
new shell took 201ms
new shell setup took 50ms
skin init took 251ms
MainMenu init took 151ms
pre skin widgets init took 50ms
skin widgets (1/2) init took 200ms
skin widgets (2/2) init took 177ms
pre SWTInstance init took 0ms
Init Core Columns took 151ms
SWTInstance init took 25ms
shell.layout took 78ms
---------SHOWN AT 1354475897172;4503ms
GLib-GIO-Message: Using the 'memory' GSettings backend.  Your settings will not be saved or shared with other applications.
---------DONE DISPATCH AT 1354475899959;7290ms
---------READY AT 1354475899984;7315ms
shell.open took 2812ms
processStartupDMS took 0ms
postPluginSetup init took 0ms
Locale Initializing took 9ms
51481:    Core: 50ms for activity between 'Caricamento del plugin:aefeatman_v' and 'Caricamento del plugin:azrating'
51545:    Core: 77ms for activity between 'Caricamento del plugin:azrating' and 'Caricamento del plugin:azupnpav'
51608:    Core: 50ms for activity between 'Caricamento del plugin:azupnpav' and 'Caricamento dei torrent'
51626:    Core: 22ms for activity between 'Caricamento del plugin:azplugins' and 'Inizializzazione del gestore torrent globale'
51654:    Core: 25ms for activity between 'Inizializzazione del gestore torrent globale' and 'Caricamento del plugin:Start/Stop Rules'
51675:    Core: 25ms for activity between 'Caricamento del plugin:Start/Stop Rules' and 'Caricamento del plugin:Torrent Removal Rules'
51718:    Core: 22ms for activity between 'Caricamento del plugin:Plugin Update Checker' and 'Caricamento del plugin:UPnP'
51730:    Core: 22ms for activity between 'Caricamento del plugin:UPnP' and 'Caricamento del plugin:DHT'
51758:    Core: 16ms for activity between 'Caricamento del plugin:Magnet URI Handler' and 'Caricamento del plugin:Core Update Checker'
51805:    Core: 14ms for activity between 'Caricamento del plugin:Buddy' and 'Caricamento del plugin:RSS'
51908:    Core: 107ms for activity between 'Caricamento del plugin:RSS' and 'Inizializzazione del plugin: Vuze Feature Manager'
51908:    Core: 107ms for activity between 'Caricamento del plugin:RSS' and 'Inizializzazione del plugin: Rating'
51921:    Core: 22ms for activity between 'Inizializzazione del plugin: Azureus Update Support' and 'Inizializzazione del plugin: Tracker Static Pages'
52020:    Core: 79ms for activity between 'Inizializzazione del plugin: Tracker Static Pages' and 'Inizializzazione del plugin: Start/Stop Rules'
52036:    Core: 22ms for activity between 'Inizializzazione del plugin: Start/Stop Rules' and 'Inizializzazione del plugin: Download Remove Rules'
52074:    Core: 44ms for activity between 'Inizializzazione del plugin: PluginUpdate' and 'Inizializzazione del plugin: Universal Plug and Play (UPnP)'
52102:    Core: 14ms for activity between 'Inizializzazione del plugin: Distributed DB' and 'Inizializzazione del plugin: Magnet URI Handler'
52103:    Core: 20ms for activity between 'Inizializzazione del plugin: Distributed DB' and 'Inizializzazione del plugin: Distributed Tracker'
52128:    Core: 17ms for activity between 'Inizializzazione del plugin: Stato della rete' and 'Inizializzazione del plugin: Amici'
Core Initializing took 962ms
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
java version "1.7.0_09"
Java(TM) SE Runtime Environment (build 1.7.0_09-b05)
Java HotSpot(TM) 64-Bit Server VM (build 23.5-b02, mixed mode)
User avatar
Zievatron
Posts: 272
Joined: 31. Jan 2012, 15:13

Re: qBittorrent/Azureus su Salix xfce 14

Post by Zievatron »

Intanto, ho tentato di installare qBitorrent prendendolo dal suo sito. Così da avere la release 3.0.6.

Si è bloccato con un messaggio che sembrava dire che non trova un "Qt4" adeguato.
Ho cercato e trovato, sul relativo sito, Qt4.8.4 e l'ho scaricato ed installato.
Ho riprovato ad installare qBittorrent, ma sembra che non cambi niente.
Il messaggio di errore è questo:

Code: Select all

root@darkstar:/home/unknow/Scaricati/qbittorrent-3.0.6# ./configure
Configuring qbittorrent ...
Verifying Qt 4 build environment ... fail

Reason: There was an error compiling 'conf'.  See conf.log for details.

Be sure you have a proper Qt 4.0 build environment set up.  This means not
just Qt, but also a C++ compiler, a make tool, and any other packages
necessary for compiling C++ programs.

If you are certain everything is installed, then it could be that Qt 4 is not
being recognized or that a different version of Qt is being detected by
mistake (for example, this could happen if $QTDIR is pointing to a Qt 3
installation).  At least one of the following conditions must be satisfied:

 1) --qtdir is set to the location of Qt
 2) $QTDIR is set to the location of Qt
 3) QtCore is in the pkg-config database
 4) qmake is in the $PATH

This script will use the first one it finds to be true, checked in the above
order.  #3 and #4 are the recommended options.  #1 and #2 are mainly for
overriding the system configuration.
Continua a dire che:
"Verifying Qt 4 build environment ... fail"
Dopo che ho installato il Qt 4.8.4
Nel conf.log compare scritto:

Code: Select all

/usr/lib64/qt/bin/moc -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include -I. conf4.cpp -o conf4.moc
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DHAVE_MODULES -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include -I. -o conf4.o conf4.cpp
In file included from conf4.cpp:703:0:
libboost.qcm:8:29: fatal error: boost/version.hpp: File o directory non esistente
compilation terminated.
gmake: *** [conf4.o] Errore 1
Da questo sembra che manchi qualcosa che ha a che fare con libboost.
Nel file install c'è scritto che serve libboost almeno 1.35, ma che non serve se si ha libtorrent-rasterbar almeno 0.16.
Ho scaricato il 0.16.4 ed ho tentato di installarlo, ma si è bloccato durante la costruzione con questo messaggio di errore:

Code: Select all

Checking for boost libraries:
checking for boostlib >= 1.36... configure: error: We could not detect the boost libraries (version 1.36 or higher). If you have a staged boost library (still not installed) please specify $BOOST_ROOT in your environment and do not give a PATH to --with-boost option.  If you are sure you have boost installed, then check your version number looking in <boost/version.hpp>. See http://randspringer.de/boost for more documentation.
Ho cercato il sito boost e sto scaricando la release 1.52.

Che odisseaaaaa!!! :shock:
Post Reply