Thread Probleme mit Parse::HTTP::UserAgent (12 answers)
Opened by bianca at 2009-01-01 15:24

bianca
 2009-01-01 15:24
#129907 #129907
User since
2009-09-13
7016 Artikel
BenutzerIn

user image
Gleich nach dem use Parse::HTTP::UserAgent; bekomme ich zweimal direkt hintereinander ein Windows-Popup mit folgendem Text:
Quote
"Der Prozedureinsprungpunkt "Perl_ckwarn" wurde in der DLL "perl58.dll" nicht gefunden.


Danach kommt in der DOS-Box:
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
D:\>perl parse_useragent.pl
Can't locate version/vpp.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at (eval 7) line 2.
BEGIN failed--compilation aborted at (eval 7) line 2.
Compilation failed in require at C:/Perl/site/lib/Parse/HTTP/UserAgent.pm line 18.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Parse/HTTP/UserAgent.pm line 18.
Compilation failed in require at parse_useragent.pl line 7.
BEGIN failed--compilation aborted at parse_useragent.pl line 7 (#1)
(F) You said to do (or require, or use) a file that couldn't be
found. Perl looks for the file in all the locations mentioned in @INC,
unless the file name included the full path to the file. Perhaps you
need to set the PERL5LIB or PERL5OPT environment variable to say where
the extra library is, or maybe the script needs to add the library name
to @INC. Or maybe you just misspelled the name of the file. See
perlfunc/require and lib.

Uncaught exception from user code:
Can't locate version/vpp.pm in @INC (@INC contains: C:/Perl/lib C:/Perl/site/lib .) at (eval 7) line 2.
BEGIN failed--compilation aborted at (eval 7) line 2.
Compilation failed in require at C:/Perl/site/lib/Parse/HTTP/UserAgent.pm line 18.
BEGIN failed--compilation aborted at C:/Perl/site/lib/Parse/HTTP/UserAgent.pm line 18.
Compilation failed in require at parse_useragent.pl line 7.
BEGIN failed--compilation aborted at parse_useragent.pl line 7.
at parse_useragent.pl line 7


Was mich dabei auch wundert ist, dass mir im ppm die Version 0.16 angeboten wird aber es wird dann doch 0.20 installiert:

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
ppm> s parse-http-useragent
Searching in Active Repositories
1. Parse-HTTP-UserAgent [0.16] Parser for the User Agent string
ppm> install 1
Package 1:
====================
Install 'Parse-HTTP-UserAgent' version 0.20 in ActivePerl 5.8.7.813.
====================
Downloaded 51817 bytes.
Extracting 46/46: blib/libhtml/site/lib/Parse/HTTP/UserAgent/Base/Parsers.htmlml
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent.html
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent\Constants.html
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent\Base\Accessors.html
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent\Base\Dumper.html
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent\Base\IS.html
Installing C:\Perl\html\site\lib\Parse\HTTP\UserAgent\Base\Parsers.html
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent.pm
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent\Constants.pm
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent\Base\Accessors.pm
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent\Base\Dumper.pm
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent\Base\IS.pm
Installing C:\Perl\site\lib\Parse\HTTP\UserAgent\Base\Parsers.pm
Successfully installed Parse-HTTP-UserAgent version 0.20 in ActivePerl 5.8.7.813.


Kann ich das irgendwie beheben oder ist mein Perl dafür zu alt?
Danke
10 print "Hallo"
20 goto 10

View full thread Probleme mit Parse::HTTP::UserAgent