[Ffmpeg-devel] Problem building from snapshots
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
>>>> 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
> 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
> 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...
T +32  2 790 29 41
F +32  2 790 29 02
E mailto:mbardiaux at mediaxim.be
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
More information about the ffmpeg-devel