how was mpg123 package built?

Asked by Martin Carroll

If I download the official mpg123 package and install it, it works fine -- I can listen to audio files. If, otoh, I grab the source package and build it like so,
    apt-get source mpg123
    cd mpg123*
    ./configure
    make
    make install
then the resulting program does *not* work -- I get the usual mpg123 errors about not being able to open the audio device.

I am guessing that the official package was built by supplying a certain set of parameters to ./configure, but I have been unable to find a combination of parameters that works.

Can someone please tell me exactly how the official mpg123 was built from source?

More generally, can someone please tell me in Ubuntu how to find out precisely how a given binary package was built -- that is, what was the source tarball, what diffs were applied, what options were given to ./configure, etc.? There must be a way to find that out, but for the life of me I can't find a way.

Thanks,
Martin Carroll

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu mpg123 Edit question
Assignee:
No assignee Edit question
Solved by:
mycae
Solved:
Last query:
Last reply:
Revision history for this message
Best mycae (mycae) said :
#1

like so:

http://www.moosechips.com/2008/09/ubuntu-rebuild-a-source-package/

You need to grab a copy of the mpg123 package, and the rebuild it. The exact command will be in the debian/rules file in the source package folder.

Revision history for this message
Martin Carroll (martin-carroll) said :
#2

Thanks mycae, that solved my question.