Can not build from source on Maverick

Asked by Val on 2010-12-22

I have tried to build sox with mp3 support:

sudo apt-get install build-essentials fakeroot libmp3lame-dev
sudo apt-get build-dep sox
apt-get source sox
dpkg-source -x sox_*.dsc
cd sox*
vim debian/rules and remove --without-lame line
dpkg-buildpackage -b

Each time the build failes:
dh_install: libsox-fmt-base missing files (debian/tmp/usr/lib/sox/*), aborting
make: *** [binary-install/libsox-fmt-base] Error 2
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2

Im guessing it wants libsox-fmt-flac, but such package no longer exists and a different flac lib is included.
So how did you guys build sox, and how can i repeat that?

Question information

English Edit question
Ubuntu sox Edit question
No assignee Edit question
Last query:
Last reply:

This question was reopened

mycae (mycae) said : #1

Try removing the* from the file that dh_install is parsing. Im a bit from line 3 of debian/libsox_fmt_base.install

mycae (mycae) said : #2

What I meant to say is "im a bit tired, but its from line 3..."

Sox builds fine for me (amd64,10.04). I assume you have modified the package.

Can you help with this problem?

Provide an answer of your own, or ask Val for more information if necessary.

To post a message you must log in.