bendi / node-mpg123n

mpg123 bindings that compile and run under MSVC++
4 stars 5 forks source link

Fails on Raspberry Pi #1

Closed rmanalan closed 11 years ago

rmanalan commented 11 years ago

Hi. I'm trying to run this on Arch Linux on my Raspberry Pi. Here's the error I get:

[../deps/mpg123/src/legacy_module.c:37] error: Unable to open requested module 'oss'. [../deps/mpg123/src/legacy_module.c:38] error: The only available statically compiled module is 'alsa'. [../deps/mpg123/src/audio.c:180] error: Unable to find a working output module in this list: oss [../deps/mpg123/src/audio.c:532] error: Failed to open audio output module fish: Job 1, “node app.js ” terminated by signal SIGSEGV (Address boundary error)

This gets thrown right after I require('mpg123n').

bendi commented 11 years ago

Hi Rich

first a word of explanation - in order to ease build process for windows and mac I've switched mpg123 into single-based sound module, which is fine for these. On linux it's a bit thougher since there is a variety of sound systems and I decided to support only alsa.

So now going back to your raspberry - did you install any sound system. From the error trace you pasted I assume it's oss and compiler tries to statically link against alsa.

Am i right?

Thanks Marek

rmanalan commented 11 years ago

Nope alsa is installed by default on my distro. No oss to be found.

On May 27, 2013, at 2:10 AM, Marek Będkowski notifications@github.com wrote:

Hi Rich

first a word of explanation - in order to ease build process for windows and mac I've switched mpg123 into single-based sound module, which is fine for these. On linux it's a bit thougher since there is a variety of sound systems and I decided to support only alsa.

So now going back to your raspberry - did you install any sound system. From the error trace you pasted I assume it's oss and compiler tries to statically link against alsa.

Am i right?

Thanks Marek

— Reply to this email directly or view it on GitHub.

bendi commented 11 years ago

Ok that explains it - I forgot to update ALL configs, which I've just fixed.

Please try installing 007 version :)

bendi commented 11 years ago

Rich did you make any progress?

rmanalan commented 11 years ago

Sorry for the late reply @bendi. I haven't had time to hack on my Raspi again. I'll try to get to it this weekend.

bendi commented 11 years ago

Ok in that case - I'm reopening.

Thanks for letting me know :))

bendi commented 11 years ago

@rmanalan I finally got my rPI :)

I was able to build mpg123n - it just needs ltdl dependency which can be installed using:

sudo apt-get install libltdl3-dev

Cheers :)