Trying to compile MP3::Info gives errors
- From: Philipp <nospam_kitschen@xxxxxxxxxxx>
- Date: Mon, 12 Dec 2005 11:17:16 +0100
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 .
- Follow-Ups:
- Re: Trying to compile MP3::Info gives errors
- From: Bart Lateur
- Re: Trying to compile MP3::Info gives errors
- From: Sisyphus
- Re: Trying to compile MP3::Info gives errors
- From: Philipp
- Re: Trying to compile MP3::Info gives errors
- Prev by Date: Re: I want to learn something about HTML parser.
- Next by Date: Re: Trying to compile MP3::Info gives errors
- Previous by thread: Problem with Authen::Captcha has frozen my development
- Next by thread: Re: Trying to compile MP3::Info gives errors
- Index(es):
Relevant Pages
|
|