[Ffmpeg-devel] Problem building from snapshots
Michel Bardiaux
mbardiaux
Thu Apr 19 16:54:13 CEST 2007
Diego Biurrun wrote:
> On Thu, Apr 19, 2007 at 04:11:18PM +0200, Michel Bardiaux wrote:
>> Diego Biurrun wrote:
>>> On Thu, Apr 19, 2007 at 03:34:42PM +0200, Michel Bardiaux wrote:
>>>> If you download the 'bare sources' snapshot and do a 'make distclean',
>>>> version.h is removed, and configure makes it UNKNOWN.
>>> Dunno what you refer to by "it", but configure does nothing to
>>> version.h.
>>>
>>>> When the svn metadata are not present, version.sh should not be removed.
>>>> by make distclean.
>>> version.sh is not removed by make distclean, version.h is.
>>>
>>> The information I gather from this confused report does not lead me to a
>>> reproducible problem. It's all working fine and dandy here...
>> Yes, definitely not one of my best shows! Once more with feeling:
>>
>> * download the 'bare sources' snapshot
>> * make distclean
>> => version.h is removed
>> * configure
>> * make
>> => new version.h with -rUNKNOWN
>
> Ummmmm, no ...
>
>
> cerebus:/tmp/ffmpeg-export-2007-04-19$ cat version.sh
> #!/bin/sh
>
> NEW_REVISION="#define FFMPEG_VERSION \"SVN-r8757\""
> OLD_REVISION=`cat version.h 2> /dev/null`
>
> # Update version.h only on revision changes to avoid spurious rebuilds
> if test "$NEW_REVISION" != "$OLD_REVISION"; then
> echo "$NEW_REVISION" > version.h
> fi
>
>
> There is no way this script can result in rUNKNOWN. You must be using a
> different snapshot.
Yes, I did a real mess. The build from snapshots works fine. Sorry to
have wasted your time. I should go fishing...
--
Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be
Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/
More information about the ffmpeg-devel
mailing list