slimrat1.0, konsola rapidshare uruchomienie pod Debianem

Tematy związane z oprogramowaniem, instalacją, konfiguracją
arrtur23
Posty: 13
Rejestracja: 24 listopada 2008, 13:40

slimrat1.0, konsola rapidshare uruchomienie pod Debianem

Post autor: arrtur23 »

Wie może ktoś jak uruchomić najnowszą wersję slimrata1.0 bo z poprzednią 9.x.x nie miałem problemu.

Wyskakuje mi taki komunikat:

Kod: Zaznacz cały

[21:01:26] ERROR: plugin '/home/as/slimrat-1.0/src/plugins/Rapidshare.pm' shall not be used, due to unmet dependency WWW::Mechanize, version >= 1.52
[21:01:26] ERROR: plugin '/home/as/slimrat-1.0/src/plugins/Uploading.pm' shall not be used, due to unmet dependency WWW::Mechanize, version >= 1.52
[21:01:26] WARNING SIGNAL: request for undefined key 'list', consider configuring a default value at /home/as/slimrat-1.0/src/Configuration.pm line 159.
[21:01:26] INVALID USAGE: no input URLs
Chyba, że zna ktoś klienta rapida zarządzalnego poprzez www, coś jak net2ftp?
Awatar użytkownika
lessmian2
Member
Posty: 1088
Rejestracja: 30 kwietnia 2008, 19:38
Lokalizacja: Kraków

Post autor: lessmian2 »

arrtur23 pisze:unmet dependency WWW::Mechanize, version >= 1.52
Nie obraź się, ale dać Ci linka do słownika? Masz pewnie starszą wersję WWW::Mechanize. Sprawdź, czy w repozytorium jest nowsza, ew. możesz skorzystać z CPAN'u
arrtur23 pisze:request for undefined key 'list'
Szczerze nie wiem czym jest spowodowany ten komunikat, ale typowałbym błąd w pliku konfiguracyjnym.
arrtur23
Posty: 13
Rejestracja: 24 listopada 2008, 13:40

Post autor: arrtur23 »

Kod: Zaznacz cały

debian:~# apt-get install perl libwww-mechanize-perl wget
Czytanie list pakietów... Gotowe
Budowanie drzewa zależności
Odczyt informacji o stanie... Gotowe
perl jest już w najnowszej wersji.
libwww-mechanize-perl jest już w najnowszej wersji.
wget jest już w najnowszej wersji.
0 aktualizowanych, 0 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych.
Awatar użytkownika
lessmian2
Member
Posty: 1088
Rejestracja: 30 kwietnia 2008, 19:38
Lokalizacja: Kraków

Post autor: lessmian2 »

Ale to świadczy tylko o tym że masz zainstalowaną najnowszą wersję z repo, a nie taką jak jest wymagana. Jaką masz wersję systemu? U mnie przykładowo na Lennym WWW::Mechanize jest w takiej wersji:
lessmian@polikarp:~$ apt-cache show libwww-mechanize-perl
Package: libwww-mechanize-perl
Priority: optional
Section: perl
Installed-Size: 304
Maintainer: Debian Perl Group <pkg-perl-maintainers@lists.alioth.debian.org>
Architecture: all
Version: 1.34-2
Zawsze możesz skorzystać z CPAN'u.
nolock_cpan[3]> i WWW::Mechanize
...
Strange distribution name [WWW::Mechanize]
Module id = WWW::Mechanize
DESCRIPTION Automates web page form & link interaction
CPAN_USERID PETDANCE (Andy Lester <andy@petdance.com>)
CPAN_VERSION 1.60
CPAN_FILE P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
DSLIP_STATUS MdpOp (mature,developer,perl,object-oriented,Standard-Perl)
MANPAGE WWW::Mechanize - Handy web browsing in a Perl object
INST_FILE /usr/share/perl5/WWW/Mechanize.pm
INST_VERSION 1.34
arrtur23
Posty: 13
Rejestracja: 24 listopada 2008, 13:40

Post autor: arrtur23 »

A możesz jaśniej? Pobrałem wersję 1.60, ale niestety nie wiem jak to zainstalować? Nie mam dużego doświadczenia z Linuksem.
Awatar użytkownika
lessmian2
Member
Posty: 1088
Rejestracja: 30 kwietnia 2008, 19:38
Lokalizacja: Kraków

Post autor: lessmian2 »

Spróbuj wykonać w konsoli z roota:

Kod: Zaznacz cały

cpan -i WWW::Mechanize
arrtur23
Posty: 13
Rejestracja: 24 listopada 2008, 13:40

Post autor: arrtur23 »

Kod: Zaznacz cały

Warning (usually harmless): 'YAML' not installed, will not store persistent state

  CPAN.pm: Going to build G/GA/GAAS/libwww-perl-5.833.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for LWP
Could not read '/root/.cpan/build/libwww-perl-5.833-Ra0HAU/META.yml'. Falling back to other methods to determine prerequisites
  GAAS/libwww-perl-5.833.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'Test::Warn'
'YAML' not installed, falling back to Data: :D umper and Storable to read prefs '/root/.cpan/prefs'
Running make for C/CH/CHORNY/Test-Warn-0.21.zip
Checksum for /root/.cpan/sources/authors/id/C/CH/CHORNY/Test-Warn-0.21.zip ok
Archive:  /root/.cpan/sources/authors/id/C/CH/CHORNY/Test-Warn-0.21.zip
   creating: Test-Warn-0.21/
  inflating: Test-Warn-0.21/Changes
  inflating: Test-Warn-0.21/Makefile.PL
  inflating: Test-Warn-0.21/MANIFEST
  inflating: Test-Warn-0.21/META.yml
  inflating: Test-Warn-0.21/README
   creating: Test-Warn-0.21/t/
  inflating: Test-Warn-0.21/t/1.t
  inflating: Test-Warn-0.21/t/carped.t
  inflating: Test-Warn-0.21/t/pod.t
  inflating: Test-Warn-0.21/t/warnings_are.t
  inflating: Test-Warn-0.21/t/warnings_exist.t
  inflating: Test-Warn-0.21/t/warnings_exist1.pl
  inflating: Test-Warn-0.21/t/warnings_like.t
  inflating: Test-Warn-0.21/t/warning_is.t
  inflating: Test-Warn-0.21/t/warning_like.t
  inflating: Test-Warn-0.21/Warn.pm
Warning (usually harmless): 'YAML' not installed, will not store persistent state

  CPAN.pm: Going to build C/CH/CHORNY/Test-Warn-0.21.zip

Checking if your kit is complete...
Looks good
Warning: prerequisite Tree: :D AG_Node 0 not found.
Writing Makefile for Test::Warn
Could not read '/root/.cpan/build/Test-Warn-0.21-Hj878G/META.yml'. Falling back to other methods to determine prerequisites
---- Unsatisfied dependencies detected during ----
----         CHORNY/Test-Warn-0.21.zip        ----
    Tree: :D AG_Node [requires]
Shall I follow them and prepend them to the queue
of modules we are processing right now? [yes] yes
Running make test
  Delayed until after prerequisites
Running make install
  Delayed until after prerequisites
Running install for module 'Tree: :D AG_Node'
'YAML' not installed, falling back to Data: :D umper and Storable to read prefs '/root/.cpan/prefs'
Running make for C/CO/COGENT/Tree-DAG_Node-1.06.tar.gz
Checksum for /root/.cpan/sources/authors/id/C/CO/COGENT/Tree-DAG_Node-1.06.tar.gz ok
Tree-DAG_Node-1.06/
Tree-DAG_Node-1.06/ChangeLog
Tree-DAG_Node-1.06/lib/
Tree-DAG_Node-1.06/lib/Tree/
Tree-DAG_Node-1.06/lib/Tree/DAG_Node.pm
Tree-DAG_Node-1.06/Makefile.PL
Tree-DAG_Node-1.06/MANIFEST
Tree-DAG_Node-1.06/MANIFEST.SKIP
Tree-DAG_Node-1.06/META.yml
Tree-DAG_Node-1.06/README
Tree-DAG_Node-1.06/t/
Tree-DAG_Node-1.06/t/00_about_verbose.t
Tree-DAG_Node-1.06/t/01_old_junk.t
Warning (usually harmless): 'YAML' not installed, will not store persistent state

  CPAN.pm: Going to build C/CO/COGENT/Tree-DAG_Node-1.06.tar.gz

Checking if your kit is complete...
Looks good
Writing Makefile for Tree: :D AG_Node
Could not read '/root/.cpan/build/Tree-DAG_Node-1.06-sFp5dF/META.yml'. Falling back to other methods to determine prerequisites
  COGENT/Tree-DAG_Node-1.06.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for C/CH/CHORNY/Test-Warn-0.21.zip
  Has already been unwrapped into directory /root/.cpan/build/Test-Warn-0.21-Hj878G

  CPAN.pm: Going to build C/CH/CHORNY/Test-Warn-0.21.zip

Warning: Prerequisite 'Tree: :D AG_Node => 0' for 'C/CH/CHORNY/Test-Warn-0.21.zip' failed when processing 'C/CO/COGENT/Tree-DAG_Node-1.06.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
  CHORNY/Test-Warn-0.21.zip
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running install for module 'LWP'
Running make for G/GA/GAAS/libwww-perl-5.833.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/libwww-perl-5.833-Ra0HAU
Could not make: Unknown error
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Running make for P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz
  Has already been unwrapped into directory /root/.cpan/build/WWW-Mechanize-1.60-779xe9

  CPAN.pm: Going to build P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz

Warning: Prerequisite 'HTTP::Server::Simple => 0.35' for 'P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz' failed when processing 'J/JE/JESSE/HTTP-Server-Simple-0.41.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'URI => 1.36' for 'P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz' failed when processing 'G/GA/GAAS/URI-1.40.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'Test::Warn => 0.11' for 'P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz' failed when processing 'C/CH/CHORNY/Test-Warn-0.21.zip' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'LWP::UserAgent => 5.829' for 'P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz' failed when processing 'G/GA/GAAS/libwww-perl-5.833.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
Warning: Prerequisite 'LWP => 5.829' for 'P/PE/PETDANCE/WWW-Mechanize-1.60.tar.gz' failed when processing 'G/GA/GAAS/libwww-perl-5.833.tar.gz' with 'make => NO'. Continuing, but chances to succeed are limited.
  PETDANCE/WWW-Mechanize-1.60.tar.gz
  make -- NOT OK
Warning (usually harmless): 'YAML' not installed, will not store persistent state
Running make test
  Can't test without successful make
Running make install
  Make had returned bad status, install seems impossible
Używaj tagów code!
AdeBe


[ Dodano: |4 Lis 2009|, 2009 13:42 ]
Niestety nikt nie iwe co z tym zrobic ?

[ Dodano: |16 Lis 2009|, 2009 17:26 ]
odpowiem sam na to pytanie
tak jak widac sa zainstalowane najnowsze paczki z wersji stabilnej ktore jednak nie spelniaja wymagan di instalacji http://www.mechanize wiec trzeba przejsc na wersje testowa paczek perla

apt-get install dh-make-perl

i nastepnie

cpan -i WWW::Mechanize
ODPOWIEDZ