Trying to compile MP3::Info gives errors



Hello
I try to compile a perl script into a win32 executable using the PAR packager. The script uses the module MP3::Info which seems to be the problem. The smallest code which make the problem is:


#### Perl code in file hello.pl
use MP3::Info;
$mp3InfoHashRef = get_mp3info("C:\123.mp3");
$bitR = $mp3InfoHashRef->{'BITRATE'};
print "bitR: $bitR";
#### End of Perl code


On compile I get

>p2e hello.pl
Processing 'MP3::Info'
Processing 'strict'
Processing 'Carp'
Processing 'Carp::Heavy'
Processing 'warnings'
Processing 'Exporter'
Processing 'Exporter::Heavy'
Processing 'overload'
Processing 'Scalar::Util'
Processing 'List::Util'
Processing 'DynaLoader'
Error while creating Module::Info object for 'Mac::FileSpec::Unixish' at C:/Perl/site/lib/App/Packer/Frontend/ModuleInfo.pm line 123.
Processing 'vars'
Processing 'warnings::register'
Processing 'AutoLoader'
Processing 'Config'
Processing 'Encode::Guess'
Processing 'base'
Processing 'bytes'
Processing 'bytes_heavy.pl'
B::Module::Info,modules_used use failed with 9 saying:
Undefined subroutine &bytes::import called at C:\Perl\lib\bytes_heavy.pl line 4.


BEGIN failed--compilation aborted at C:\Perl\lib\bytes_heavy.pl line 4.
Writing 'my.exe'



Can someone tell me what's wrong?

I guess the first error is for some Macintosh things I am not interested in (as I'm on win 2000). But I can't figure out the second error. Any input is welcome.

Thanks and best regards Phil
.



Relevant Pages

  • RE: Segmentation Fault(Core dumped)
    ... But when I started testing my perl script, ... Compilation failed in require at ./test.pl line 13. ... > official business of Sender. ...
    (perl.dbi.users)
  • Re: sharing variables-data perl-asp
    ... Also how do you invoke a perl script from an active server page? ... ASP in Perl. ... Why do you want to shell out to perl when you're already running perl? ...
    (comp.lang.perl.misc)
  • Re: environment variables in perl scripts
    ... Define a BEGIN block in your perl program. ... > perl script, something like: ... > environment variables are there and diag.txt shows ... > This communication is intended for the use of the ...
    (perl.dbi.users)
  • Re: kill process when file count reached,,.
    ... an infinite loop there, ... IMO you could just use readdir and grep in perl. ... You're using awk in backticks in a perl script? ... Perl has a kill builtin, why the hell not use that. ...
    (comp.lang.perl.modules)
  • Re: associating .pl extension with perl
    ... > On my laptop Linux system, I can execute perl scripts ... > associated with perl. ... interpreter that will execute the code contained therein. ... > I discovered this problem when using a perl script that I wrote on my ...
    (comp.lang.perl.misc)