Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

ethan (3163)

  reversethis-{ed. ... rap.nov.olissat}

Being a 25-year old chap living in the western-most town of Germany. Stuying communication and information science and being a huge fan of XS-related things.

Journal of ethan (3163)

Tuesday January 28, 2003
08:33 AM

Making my mp3 player run on FreeBSD

[ #10232 ]

Still busy with configuring FreeBSD, but now finally in a state of deep love with this OS.

After fixing the terminal and duplicating my Linux' configuration of slrn (my newsreader) I thought I would need sound and so I recompiled the kernel. Sound's there now but unfortunately no decent player. I am using my own one which is basically an interactive mpg123 with colors, one-key stroke commands, playlist support, tagging etc. etc. Unfortunately, it relies on MPEG::MP3Play, a wonderful module really with only one weak point: it is a wrapper around the xaudio SDK. These guys have obviously removed the evaluation license for now so I can't download it from the webside. Also, it is said to not work with Perl's FreeBSD unless I compile my own.

But alas, why the hassle? FreeBSD comes with a brilliant Linux emulator that ensures that Linux binaries can be run properly. So I copied my Perl player over into my home dir and made it use the Perl on the Linux partition. The shebang line now looks odd:

        #!/mnt/linux/usr/bin/perl -w -I/mnt/linux...

plus a few hundred use lib directives that I had to add. The -I switch is necessary because it couldn't find and itself in @INC. Well, what can I say? It's an ugly work-around but it works so I really feel fully at home now!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.