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/libsox_fmt_flac.so*), 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

Language:
English Edit question
Status:
Answered
For:
Ubuntu sox Edit question
Assignee:
No assignee Edit question
Last query:
2010-12-22
Last reply:
2010-12-22

This question was reopened

mycae (mycae) said : #1

Try removing the libsox_fmt_flac.so* 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.