Thread Executables aus Perlscript bauen (3 answers)
Opened by roli at 2006-07-10 20:57

roli
 2006-07-10 20:57
#68030 #68030
User since
2004-12-31
424 Artikel
BenutzerIn
[default_avatar]
Hi Leute,

ich wuerde gerne aus einem Perlscript ein Executable bauen, auf Windows. Ich habe jedoch weder mit perlcc nor mit par Erfolg.
Bei par erhalte ich folgendes:
Code: (dl )
1
2
3
4
5
6
D:\daten\prog\perl\>pp --output=myscript.exe myscript.pl

D:\daten\prog\perl\>myscript.exe
"looks_like_number" is not exported by the Scalar::Util module
Can't continue after import errors at script/myscript.pl line 41
BEGIN failed--compilation aborted at script/myscript.pl line 41.
Die Datei myscript.exe wird erzeugt und ist ca. 1,9 MB gross, aber leider nicht willig zu arbeiten,

Wenn ich perlcc verwende erhalte ich folgendes:
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
D:\daten\prog\perl\>perlcc -o myscript.exe myscript.pl
Note (probably harmless): No library found for oldnames.lib
Note (probably harmless): No library found for kernel32.lib
Note (probably harmless): No library found for user32.lib
Note (probably harmless): No library found for gdi32.lib
Note (probably harmless): No library found for winspool.lib
Note (probably harmless): No library found for comdlg32.lib
Note (probably harmless): No library found for advapi32.lib
Note (probably harmless): No library found for shell32.lib
Note (probably harmless): No library found for ole32.lib
Note (probably harmless): No library found for oleaut32.lib
Note (probably harmless): No library found for netapi32.lib
Note (probably harmless): No library found for uuid.lib
Note (probably harmless): No library found for ws2_32.lib
Note (probably harmless): No library found for mpr.lib
Note (probably harmless): No library found for winmm.lib
Note (probably harmless): No library found for version.lib
Note (probably harmless): No library found for odbc32.lib
Note (probably harmless): No library found for odbccp32.lib
Note (probably harmless): No library found for msvcrt.lib
Der Befehl "cl" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
Der Befehl "link" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.

Als Perlscript selber habe ich diese Probleme nicht.
Roland
--
"Steh vorn, während du fragst;
sitzen soll, wer antwortet."
Aus "Die Edda des Snorri Sturluson" "Gylfis Täuschung" Strophe 2

View full thread Executables aus Perlscript bauen