[MPlayer-dev-eng] Debian build fails with new Makefiles

Diego Biurrun diego at biurrun.de
Sun Mar 26 23:15:07 CEST 2006


On Sun, Mar 26, 2006 at 10:39:34PM +0200, Oded Shimon wrote:
> On Sun, Mar 26, 2006 at 10:31:36PM +0200, Diego Biurrun wrote:
> > On Sun, Mar 26, 2006 at 11:48:38AM -0800, Corey Hickey wrote:
> > > Stone wrote:
> > > >On 2006-03-25, there were changes checked into main that broke the Debian
> > > >build scripts.  Does anyone have a solution?
> > > >
> > > >/usr/bin/make -C libdha install
> > > >make[2]: Entering directory `/var/local/mplayer.cvs/main/libdha'
> > > >mkdir -p /var/local/mplayer.cvs/main/debian/mplayer/usr/lib
> > > >install -m 755  -p libdha.so.1.0
> > > >/var/local/mplayer.cvs/main/debian/mplayer/usr/lib/libdha.so.1.0
> > > >rm -f /var/local/mplayer.cvs/main/debian/mplayer/usr/lib/libdha.so
> > > >ln -sf libdha.so.1.0
> > > >/var/local/mplayer.cvs/main/debian/mplayer/usr/lib/libdha.so.1
> > > >ldconfig
> > > >make[2]: ldconfig: Command not found
> > > >make[2]: *** [install] Error 127
> > > 
> > > Hmm, you're right. Looks like that would break for any non-root 
> > > installation. Try out the attached patch.
> > > 
> > > Diego, if you see this:
> > > Can I apply the patch or is there a better way to do it? I don't know 
> > > Makefiles well.
> > 
> >   ldconfig || true
> > 
> > should do the trick ...
> 
> 	-ldconfig
> 
> Is the officialy makefile way ('-' means ignore return value)

This is the correct solution.

Diego




More information about the MPlayer-dev-eng mailing list