Thread can't locate loadable object for module IO in @INC (...) Handle.pm (16 answers)
Opened by theresa at 2008-07-22 00:11

theresa
 2008-07-23 21:55
#112536 #112536
User since
2007-07-17
90 Artikel
BenutzerIn
[default_avatar]
Klar,
die Dateien sind:
Code (perl): (dl )
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#main.pl
use t1;
use t2;
t1->test();
t2->test();

#t1.pm
package t1;
sub test {
        print "test t1\n"
}
1;

#t2.pm
package t2;
sub test {
        print "test t2\n"
}
1;


Danach ging ich in die Console (cmd) und tippte:
pp -p -o out.par main.pl t1.pm t2.pm

was im Verzeichnis out.par erzeugte.
Danach tippte ich, um eine .exe daraus zu machen:
pp -o test.exe out.par

und da kam die Fehlermeldung mit Handle.pm.

Ich glaube irgendwie hängt das doch mit xs zusammen. War gerade dabei, Tk::JComboBox zu installieren, mit CPAN (da es mit ppm nicht zu finden war), und unter anderem steht in der Fehlermeldung:

CPAN: YAML::XS loaded ok (v0.26)
Attempt to free unreferenced scalar: SV 0x546c75c, Perl interpreter: 0x225014 at
C:/Perl/lib/CPAN.pm line 3792.
Attempt to free unreferenced scalar: SV 0x56d34d4, Perl interpreter: 0x225014 at
C:/Perl/lib/CPAN.pm line 3792.
Fetching with LWP:
http://ppm.activestate.com/CPAN/authors/id/R/RC/RC...
Alert: While trying to 'parse' YAML file
'C:\Perl\cpan\FTPstats.yml'
with 'YAML::XS' the following error was encountered:
Usage: YAML::XS::LibYAML::Load(yaml_str) at C:\Perl\site\lib/YAML/XS.pm line 7
0.

das bricht die Installation ab.

Habe heute auf einem anderen PC, wo ich vor einer Weile par usw. installiert habe, das ganze getestet, und dort lief es... :(

Habe auch versucht, gerade, YAML zu deinstallieren, und nochmal zu installieren, über ppm, war aber auch keine Hilfe.

View full thread can't locate loadable object for module IO in @INC (...) Handle.pm