Re: Trying to compile MP3::Info gives errors
- From: "Sisyphus" <sisyphus1@xxxxxxxxxxxxxxxxx>
- Date: Mon, 12 Dec 2005 22:28:25 +1100
"Philipp" <nospam_kitschen@xxxxxxxxxxx> wrote in message
news:439d4e24$1@xxxxxxxxxxxxxxxxxxx
> 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
[errors snipped]
What is 'p2e' ? I get:
'p2e' is not recognized as an internal or external command, operable program
or batch file.
I tried using one of the mp3 files that come with MP3::Info (as I don't have
C:\123.mp3):
use warnings;
use MP3::Info;
$mp3InfoHashRef = get_mp3info("D:\\comp58_M\\MP3-Info-1.13\\t\\test1.mp3");
$bitR = $mp3InfoHashRef->{'BITRATE'};
print "bitR: $bitR";
When run as a perl script that produces:
bitR: 128
I then built the excutable using PAR's pp utility with:
pp -o hello.exe hello.pl
When I run 'hello.exe' I get the same output:
bitR: 128
That is - I can't reproduce the problem you're facing.
(I'm using PAR-0.90 on Windows2000 with perl 5.8.7.)
Cheers,
Rob
.
- Follow-Ups:
- Re: Trying to compile MP3::Info gives errors
- From: Philipp
- Re: Trying to compile MP3::Info gives errors
- References:
- Trying to compile MP3::Info gives errors
- From: Philipp
- Trying to compile MP3::Info gives errors
- Prev by Date: Re: Trying to compile MP3::Info gives errors
- Next by Date: Re: Trying to compile MP3::Info gives errors
- Previous by thread: Re: Trying to compile MP3::Info gives errors
- Next by thread: Re: Trying to compile MP3::Info gives errors
- Index(es):
Relevant Pages
|
|