Thanks for the feedback. Here is the output;
(1) What's your version of Module::ScanDeps?
0.74
C:\rt>scandeps.bat -B rt-1.pl
'ActiveState::Path' => '0.02',
'FileHandle' => '2.01',
'B' => '1.09_01',
'Carp::Heavy' => '1.04',
'Thread' => '2.00',
'ActivePerl' => 'undef',
'Fcntl' => '1.05',
'Text::ParseWords' => '3.24',
'AutoLoader' => '5.63',
'ActivePerl::Config' => 'undef',
'File::Spec::Win32' => '1.2',
'File::Spec' => '0.82',
'Win32' => '0.28',
'B::Deparse' => '0.71',
'overload' => '1.04',
'Scalar::Util' => '1.18',
'Symbol' => '1.06',
'Encode::Alias' => '2.06',
'Encode::Config' => '2.03',
'Storable' => '2.15',
'bytes' => '1.02',
'utf8' => '1.06',
'PerlIO::encoding' => '0.09',
'Encode::Encoding' => '2.04',
'XSLoader' => '0.06',
'base' => '2.07',
'Encode' => '2.18',
'Exporter::Heavy' => '5.58',
'IO::Socket::INET' => '1.29',
'IO::Socket::UNIX' => '1.22',
'IO::Socket' => '1.29',
'File::Spec::Unix' => '1.2',
'Class::Struct' => '0.63',
'File::stat' => '1.00',
'IO' => '1.22',
'IO::Dir' => '1.05',
'IO::Pipe' => '1.13',
'SelectSaver' => '1.01',
'IO::Seekable' => '1.10',
'IO::File' => '1.13_01',
'IO::Select' => '1.17',
'Socket' => '1.78',
'Locale::Constants' => '2.07',
'POE::Kernel' => '1.2116',
'POE::Queue::Array' => '1.1979',
'POE::Resources' => '1.2106',
'Sys::Hostname' => '1.11',
'IO::Handle' => '1.25',
'Errno' => '1.09_01',
'POSIX' => '1.09',
'POE::API::ResLoader' => '1.1903',
'List::Util' => '1.18',
'Festival::Client::Async' => '0.0303',
'Win32::SAPI4' => '0.08',
'Win32::SAPI5' => '0.05',
'constant' => '1.05',
'strict' => '1.03',
'Locale::Country' => '2.07',
'Locale::Language' => '2.07',
'Win32::Locale' => '0.04',
'Win32::OLE' => '0.1707',
'warnings' => '1.05',
'threads::shared' => '1.01',
'Carp' => '1.04',
'vars' => '1.01',
'Exporter' => '5.58',
'DynaLoader' => '1.05',
'Tk::ColorEditor' => '4.008',
'Tk::DirTree' => '4.014',
'Tk::Event' => '4.015',
'Tk::FBox' => '4.018',
'Tk::Widget' => '4.030',
'Tk::Config' => '804.027',
'Tk::Dialog' => '4.004',
'Cwd' => '3.12',
'Tk::Image' => '4.011',
'Tk::MainWindow' => '4.012',
'Tk::Submethods' => '4.004',
'File::Glob' => '1.05',
'Tk::Canvas' => '4.012',
'Tk::Optionmenu' => '4.013',
'Tk::Scale' => '4.004',
'subs' => '1.00',
'Tk::Pretty' => '4.006',
'Tk::Scrollbar' => '4.010',
'Tk::Pixmap' => '4.004',
'Tk::Entry' => '4.017',
'Tk::Menubutton' => '4.004',
'Tk::Menu' => '4.021',
'Tk::DialogBox' => '4.013',
'DirHandle' => '1.00',
'Tk::Tree' => '4.005',
'Tk::Derived' => '4.010',
'Tk::Event::IO' => '4.008',
'Tk::IconList' => '4.007',
'Tk::LabEntry' => '4.006',
'Tk::Listbox' => '4.014',
'Tk::widgets' => '4.004',
'Tk::Frame' => '4.010',
'File::Basename' => '2.74',
're' => '0.05',
'Tk::Toplevel' => '4.006',
'Tk::Wm' => '4.014',
'Tk::Configure' => '4.008',
'Tk::Clipboard' => '4.008',
'Tk::CmdLine' => '4.006',
'Tk::Menu::Item' => '4.004',
'Tk::HList' => '4.014',
'Tk::Adjuster' => '4.007',
'Tk::After' => '4.007',
'Tk::Checkbutton' => '4.006',
'UNIVERSAL' => '1.01',
'Win32::API::Struct' => '0.40',
'Win32::API::Type' => '0.40',
'Win32::API' => '0.41',
'Win32::TieRegistry' => '0.26',
'Win32API::Registry' => '0.24',
'Win32::OLE::Lite' => 'undef',
'Win32::OLE::Enum' => 'undef',
'Win32::OLE::Variant' => 'undef',
'Win32::API::Prototype' => '20021217',
'Win32::WinError' => '0.02',
'Tie::Hash' => '1.02',
'Data::Dumper' => '2.121_08',
'sort' => '1.02',
'Tie::Scalar' => '1.00',
'Tk::DummyEncode' => '4.007',
'Term::Cap' => '1.09',
'Config::Simple' => '4.58',
'Speech::Synthesis' => '0.03',
'Win32::Sound' => '0.47',
'Win32::SoundRec' => '0.02',
'POE::Resource::Statistics' => '1.2087',
'POE::Resource::Aliases' => '1.2087',
'POE::Resource::Extrefs' => '1.2087',
'POE::Resource::FileHandles' => '1.2087',
'POE::Resource::SIDs' => '1.2087',
'POE::Resource::Sessions' => '1.2087',
'POE::Resource::Signals' => '1.2087',
'POE::Resource::Events' => '1.2087',
'POE' => '0.37',
'Time::HiRes' => '1.86',
'Config' => 'undef',
'Tk::Label' => '4.006',
'Tk::Button' => '4.008',
'Encode::Unicode' => '2.03',
'Tk' => '804.027',
'Tk::FileSelect' => '4.015',
'warnings::register' => '1.01',
C:\rt>scandeps.bat -Bx rt-1.pl
No such file or directory at C:/rt/2TnbLQ line 24, <DATA> line 164.
SYSTEM ERROR in executing rt-1.pl: 512 at
C:/Perl/site/lib/Module/ScanDeps.pm line 990.
Roderich Schupp wrote:
On 6/4/07, Jon Polacheck <[EMAIL PROTECTED]> wrote:
My script uses POE. I got a working exe using pp once, but cannot
repeat the feat. I now get the error as follows;
Most likely, Module::ScanDeps doesn't infer all POE::* modules needed.
(1) What's your version of Module::ScanDeps?
(2) Please run
scandeps.pl -B your_script (that is what "pp -o ..." does
implicitly)
and
scandeps.pl -Bx your_script (note: this will execute you script once)
and compare the two listings. If the second one has more POE::* stuff,
you could either add "use" statements for them or add them on
to the "pp" command with "-M". If this does the trick, post the differences
so that one can amend the heuristics for POE in Module::ScanDeps
(some are already there, eg. POE::Session should have been implied by
"use POE;").
Cheers, Roderich