Schrift
[thread]5426[/thread]

Kann WWW::Mechanize::Shell nicht installieren



<< |< 1 2 >| >> 12 Einträge, 2 Seiten
utang
 2004-07-13 17:19
#48847 #48847
User since
2004-01-03
30 Artikel
BenutzerIn
[default_avatar]
Tag, ich habe auf dem Arbeitsplatz eine WindowsXP Kiste auf der ActivePerl 5.8 läuft und auf der wollte ich das Modul WWW::Mechanize::Shel zum laufen bekommen.

mit hilfe der www.cpan.org und dem PPM ging es auch ganz einfach "install WWW-Mechanize-Shell"

nur wenn ich das Modul in der CMD nutzen möchte sieht das ganze etwas komisch aus:

Code: (dl )
1
2
c:\perl\>perl -MWWW::Mechanize::Shell -eshell
c:\perl\>


das war es ... =/

Allerdings habe ich zuhause einen Gentoo-Rechner nur auf diesem bekomm ich das Modul nicht einmal kompiliert...
Selbst mit hilfe der cpan-shell erscheint die folgende Schluss Meldung:

Code: (dl )
1
2
3
 /usr/bin/make test -- NOT OK
Running make install
make test had returned bad status, won't install without force


Kann mir wer da etwas weiterhelfen? Ich bräuchte dieses Modul auf beiden Systemen.

-vielen dank-
esskar
 2004-07-13 17:46
#48848 #48848
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Dokumente und Einstellungen\sak>ppm
PPM - Programmer's Package Manager version 3.0.1.
Copyright (c) 2001 ActiveState SRL. All Rights Reserved.

Entering interactive shell. Using Term::ReadLine::Stub as readline library.

Profile tracking is not enabled. If you save and restore profiles manually,
your profile may be out of sync with your computer. See 'help profile' for
more information.

Type 'help' to get started.

ppm> search www-mechanize-shell
Searching in Active Repositories
1. WWW-Mechanize-Shell [0.19] A crude shell for WWW::Mechanize
2. WWW-Mechanize-Shell [0.10] (none)
3. WWW-Mechanize-Shell [0.15] (none)
4. WWW-Mechanize-Shell [0.19] (none)
ppm> install 1
Package 1:
...


funzt prima
Crian
 2004-07-13 18:08
#48849 #48849
User since
2003-08-04
5866 Artikel
ModeratorIn
[Homepage]
user image
Installieren konnte er es doch unter Windows auch, nur nicht ausführen...
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite
esskar
 2004-07-13 18:12
#48850 #48850
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
achso :)
Code: (dl )
1
2
3
4
5
6
7
8
9
#!/usr/bin/perl
use strict;
use WWW::Mechanize::Shell;
my $shell = WWW::Mechanize::Shell->new("shell", rcfile => undef );
if (@ARGV) {
$shell->source_file( @ARGV );
} else {
$shell->cmdloop;
};
utang
 2004-07-13 22:08
#48851 #48851
User since
2004-01-03
30 Artikel
BenutzerIn
[default_avatar]
Erstmal danke in Windows bin ich etwas weiter gekommen. Aber ich finde für das ActivePerl 5.8 in Windows kein SSL Modul womit ich https Seiten öffnen und bearbeiten kann... gibt es da etwas? der PPM findet nichts passendes...

Unter Linux werde ich es nochmal probieren und die Log posten!

-denke schön für die Hilfe-
esskar
 2004-07-13 22:16
#48852 #48852
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
hab folgende reps in meinem ppm

Code: (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
ppm> rep describe 1
Describing Active Repository 1:
Name: ActiveState PPM2 Repository
Location: http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer
Type: PPMServer 2.0
ppm> rep describe 2
Describing Active Repository 2:
Name: ActiveState Package Repository
Location: http://ppm-ia.ActiveState.com/PPM/ppmserver-5.8-windows.plex?urn:/PPM/Server/SQL
Type: PPMServer 3.0
ppm> rep describe 3
Describing Active Repository 3:
Name: Apache.Org
Location: http://perl.apache.org/dist/win32-bin/ppms
Type: Webpage
ppm> rep describe 4
Describing Active Repository 4:
Name: crazy58
Location: http://crazyinsomniac.perlmonk.org/perl/ppm/5.8
Type: Webpage
ppm> rep describe 5
Describing Active Repository 5:
Name: datetime
Location: http://datetime.perl.org/download
Type: Webpage
ppm> rep describe 6
Describing Active Repository 6:
Name: perlxml
Location: http://www.perlxml.net/PPM
Type: Webpage


in einem von denen findest du alles was du brauchst

Code: (dl )
1
2
3
4
5
6
7
8
ppm> search ssl
Searching in Active Repositories
...
8. Crypt-SSLeay [0.51]
9. IO-Socket-SSL [0.94] Nearly transparent SSL encapsulation for IO::Socket::INET.
10. Net_SSLeay.pm [1.23] Perl extension for using OpenSSL or SSLeay
...
ppm>
utang
 2004-07-14 00:36
#48853 #48853
User since
2004-01-03
30 Artikel
BenutzerIn
[default_avatar]
was sind die "reps" und wo kann ihc die einstellen bzw. verändern?

Denn wenn ich mit "search ssl" arbeite findet er überhaupt nichts =/

Unter Linux erhalte ich jedesmal folgenden Fehler:
Code: (dl )
1
2
3
4
5
perl#  perl -MWWW::Mechanize::Shell -e shell
Can't locate WWW/Mechanize.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/local/lib/site_perl .) at /usr/lib/perl5/site_perl/5.8.2/WWW/Mechanize/Shell.pm line 5.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.2/WWW/Mechanize/Shell.pm line 5.
Compilation failed in require.
BEGIN failed--compilation aborted.
\n\n

<!--EDIT|utang|1089751154-->
esskar
 2004-07-14 02:19
#48854 #48854
User since
2003-08-04
7321 Artikel
ModeratorIn

user image
"reps" sind die repositories in ppm

ruf mal in der DOS-BOX folgendes auf

Code: (dl )
D:\Entwicklung\perl>ppm help rep
utang
 2004-07-14 08:43
#48855 #48855
User since
2004-01-03
30 Artikel
BenutzerIn
[default_avatar]
Also unter Linux habe ich es diese Nacht zum laufen gebracht =) ... Als es irgendwann garnicht mehr ging habe ich es mit "force install <package>" probiert und das funktionierte ... =)
Crian
 2004-07-14 12:33
#48856 #48856
User since
2003-08-04
5866 Artikel
ModeratorIn
[Homepage]
user image
[quote=utang,13.07.2004, 22:36]Unter Linux erhalte ich jedesmal folgenden Fehler:
Code: (dl )
1
2
3
4
5
perl#  perl -MWWW::Mechanize::Shell -e shell
Can't locate WWW/Mechanize.pm in @INC (@INC contains: /etc/perl /usr/lib/perl5/site_perl/5.8.2/i686-linux /usr/lib/perl5/site_perl/5.8.2 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.2/i686-linux /usr/lib/perl5/vendor_perl/5.8.2 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.2/i686-linux /usr/lib/perl5/5.8.2 /usr/local/lib/site_perl .) at /usr/lib/perl5/site_perl/5.8.2/WWW/Mechanize/Shell.pm line 5.
BEGIN failed--compilation aborted at /usr/lib/perl5/site_perl/5.8.2/WWW/Mechanize/Shell.pm line 5.
Compilation failed in require.
BEGIN failed--compilation aborted.
[/quote]
Das klingt so, als ob WWW::Mechanize::Shell nicht in Deinem Modulpfad (@INC) läge.

Hat sich das Problem mit dem force install erledigt oder besteht es noch?
s--Pevna-;s.([a-z]).chr((ord($1)-84)%26+97).gee; s^([A-Z])^chr((ord($1)-52)%26+65)^gee;print;

use strict; use warnings; Link zu meiner Perlseite
<< |< 1 2 >| >> 12 Einträge, 2 Seiten



View all threads created 2004-07-13 17:19.