perl2exe

Sekcia: Programovanie 22.12.2009 | 13:40
Avatar RooL UBUNTU  Používateľ
dobry den,

mam problemik s ktorym sa uz trapim tyzden
potrebujem spravit z jedneho skriptiku v perle exe subor tak skusam perl2exe
ked to dam vsak skompilovat pise mi to nasledujuce warnings:
./perl2exe -o=thunder.exe -platform=Win32 TH_imap
Perl2Exe V9.100C Copyright (c) 1997-2008 IndigoSTAR Software

This is an evaluation version of Perl2Exe, which may be used for 30 days.
For more information see the attached pxman.htm file,
or visit http://www.indigostar.com

Converting 'TH_imap' to thunder.exe
Warning: Can't locate Carp/Heavy.pm
    at ./warnings.pm line 299
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Carp/Heavy.pm
    at ./warnings.pm line 450
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Carp.pm
    at ./warnings.pm line 474
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Carp.pm
    at ./warnings.pm line 494
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Carp.pm
    at ./strict.pm line 26
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Data/Dumper.pm
    at TH_imap line 6
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Mail/MboxParser.pm
    at TH_imap line 7
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .

Warning: Can't locate Mail/IMAPClient.pm
    at TH_imap line 8
    @INC = /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/site/lib, /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32/lib/site, .


ked pridam cestu napriklad k Carp/Heavy.pm vzapati mi to zase vypise dalsie nenajdene subory *.pm takze takto by som pokracoval do nekonecna a mozno este dalej...
pritom ked pustim skript prikazom: perl TH_imap tak pekne vsetko funguje... potrebujem z neho vsak spravit exe subor len ako?


Dakujem za pomoc
A keď ma naserú, tak aj ten plot im podpálim...
    • Re: perl2exe 22.12.2009 | 18:54
      peter   Návštevník
      donekonecna by si to nerobil - iba kym by sa splnili vsetky zavyslosti.
      To vidim tak, ze perl nemoze naist potrebne baliky. Tie sa hladaju v @INC.
      Ale popravde perl2exe som nikdy nepouzival tak neviem ci sam meni @INC, alebo to robis ty. Skus cez CPAN doinstalovat baliky do adresara /home/spravca/Plocha/PERL_IMAP/perl2exe/perl-Win32, alebo zmen @INC na zaciatku skriptu na default ( perl -e 'print "@INC"' )
      • Re: perl2exe 22.12.2009 | 19:44
        Avatar RooL UBUNTU  Používateľ
        a dalo by sa to poriesit aj nejak inak ako cez perl2exe?
        A keď ma naserú, tak aj ten plot im podpálim...