[MPlayer-dev-eng] [PATCH] Unnecessary line in configure cause problems on a log-structured file system
mplayer at lists.veego.de
Thu May 9 22:31:23 CEST 2002
On Thu, May 09, 2002 at 12:28:33AM +0200, pl wrote:
> On Wed, May 08, 2002 at 11:00:34AM +0200, Bernd Ernesti wrote:
> > please apply the follwoing patch to remove an unnecessary line in the configure
> > script, which cause a build error on a NetBSD log-structured file system.
> > For more details see:
> > http://www.netbsd.org/cgi-bin/query-pr-single.pl?number=16149
> > Checking for sys/soundcard.h ... ./configure: cannot create /usr/tmp/raid0/pkgsrc/graphics/mplayer/work/mplayer-conf--6371.o: text busy
> > *** Error code 2
> Indeed this line is here to avoid having a stale binary when we exit
> from cc_check.
Hmmm, ok, but it would have been better to just use the rm instead of
the '> "$TMPO"' construct.
> The '> "$TMPO"' should just truncate the no longer used binary. Don't
> know why your system tells it's used (nonposix ?).
LFS is a special file system, I don't know how it works, I don't use it.
> Does it works if you replace this line by a 'rm -f "$TMPO" ' ?
Yes, that works. I had to ask someone who use a LFS.
More information about the MPlayer-dev-eng