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

Corey Hickey bugfood-ml at fatooh.org
Sun Mar 26 23:11:22 CEST 2006


Oded Shimon 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)

Yup, worksforme. Ok to apply this one?

-Corey
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ldconfig-ignore-failure.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20060326/d4b6d0c6/attachment.txt>


More information about the MPlayer-dev-eng mailing list