Failure with perl2exe

M

MoshiachNow

HI,

Running perl2exe gives warniing.
An executable is created,however it closes immediately with some
warning that I'm not able to grasp ...too fast...

perl2exe nettestTk.pl

Perl2Exe V8.70 Copyright (c) 1997-2005 IndigoSTAR Software
Registered to Lev Weissman:levcreo:20060214
Converting 'nettestTk.pl' to nettestTk.exe
Warning: Can't locate Mac/InternetConfig.pm
at D:\Perl\lib\Net\Config.pm line 40
@INC = D:\Perl\lib, D:\Perl\site\lib,

tried installing Mac::InternetConfig.pm with CPAN and ppm,got errors:

cp Carbon.pm blib\lib\Mac/Carbon.pm
cp AppleEvents.pm ..\blib\lib\Mac\AppleEvents.pm
cp AppleEvents.pod ..\blib\lib\Mac\AppleEvents.pod
D:\Perl\bin\perl.exe ..\xsubpps/xsubpp-5.8.0 -noprototypes
-typemap D:\Perl\lib\Ex
tUtils\typemap AppleEvents.xs > AppleEvents.xsc &&
D:\Perl\bin\perl.exe -MExtUtils::Comma
nd -e mv AppleEvents.xsc AppleEvents.c
cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32
-D_CONSOLE -DNO_STRICT -DHAV
E_DES_FCRYPT -DNO_HASH_SEED -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SY
S -DUSE_PERLIO -DPERL_MSVCRT_READFIX -MD -Zi -DNDEBUG -O1
-DVERSION=\"1.32\" -DXS_VERS
ION=\"1.32\" "-ID:\Perl\lib\CORE" AppleEvents.c
'cl' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x1'
Stop.
NMAKE : fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code
'0x2'
Stop.
nmake -- NOT OK
Running make test
Can't test without successful make
Running make install
make had returned bad status, install seems impossible



1.Any suggestion for a workaround?
2.How can I catch the messages produced by the perl2exe generated
executable ?
The screen just flashes and I can not manage to see any error before
it's gone...

Thanks
 
S

Sherm Pendley

MoshiachNow said:
Running perl2exe gives warniing.
An executable is created,however it closes immediately with some
warning that I'm not able to grasp ...too fast...

perl2exe nettestTk.pl

Perl2Exe V8.70 Copyright (c) 1997-2005 IndigoSTAR Software
Registered to Lev Weissman:levcreo:20060214
Converting 'nettestTk.pl' to nettestTk.exe
Warning: Can't locate Mac/InternetConfig.pm
at D:\Perl\lib\Net\Config.pm line 40
@INC = D:\Perl\lib, D:\Perl\site\lib,

tried installing Mac::InternetConfig.pm with CPAN and ppm,got errors:

cp Carbon.pm blib\lib\Mac/Carbon.pm
cp AppleEvents.pm ..\blib\lib\Mac\AppleEvents.pm

Your script uses Mac::InternetConfig, Mac::Carbon, and Mac::AppleEvents
modules. What do you hope to accomplish by bundling Mac-only modules into
a Windows-only .exe file?

sherm--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top