[MPlayer-users] BUG debian building

LucaB lbonco at tin.it
Tue Sep 3 11:50:02 CEST 2002


Hi,  i've some problem building a deb package with the latest mplayer
version. I use the follwing lines:

==
cd main
export DEB_BUILD_OPTIONS="--enable-streaming --enable-gui --disable-setlocale \
	--enable-live --with-xvidcore=/usr/local/lib/libxvidcore.a \
	--with-livelibdir=/home/luca/tmp/mplayer/main/live"

fakeroot debian/rules clean
debian/rules configure
debian/rules build
fakeroot debian/rules binary
==

I modified the libdha/Makefile disabling ldconfig (line 64) and in the
the debian/rule I changed the line 

 $(MAKE) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install

in

 $(MAKE) DESTDIR=$(prefix) prefix=$(prefix)/usr CONFDIR=$(prefix)/etc/mplayer LIBDIR=$(prefix)/usr/lib DATADIR=$(prefix)/usr/share/mplayer MANDIR=$(prefix)/usr/share/man install

i.e. adding DESTDIR=$(prefix)

With the cvs version of the files I can build the package only if root
but I get a deb without /usr/bin/mplayer

LucaB




More information about the MPlayer-users mailing list