[mythtv-users] building fails: CVS -r release-0.13. HEAD OK, .tar.bz OK

Peter Valdemar Mørch swp5jhu02 at sneakemail.com
Thu Jan 1 20:28:26 EST 2004


Please don't spend too much time on this - I can build the tarball - 
unless it is unknown and reproducible that old releases can't be built:

For some reason, I can't build using the CVS tag release-0-13. It ends 
up complaining that resample.c isn't there, and true enough - it isn't. 
It *is* present in the .tar.bz2 tarball. But CVS 0.13 contains an 
audresample.c which is identical to the resample.c in the tarball.

cvs HEAD also has audresample.c and no resample.c, but that compiles fine.

Is this a CVS thing where resample.c needed to be renamed and CVS 
doesn't support file renames, so the resamle.c,v in the repository 
itself has been renamed breaking earlier tags? I tried renaming that 
file name but then it compained about a missing libvbitext directory 
later on, and then I gave it up, I'm affraid.

Otherwise, I can't quite figure out what I'm doing wrong. Must I perform 
some steps after checkout before ./configure && qmake mythtv.pro && make 
for that tag? What else could I be doing wrong? (It should be possible 
to build the release-0-13 tag, right?)

The howto says: "If building from CVS instead of the source package, 
then the QTDIR environment variable must be set when building"
`man qt` says: ".... is located at $QTDIR/doc/html"
$QTDIR=/usr/lib/qt-3.1 and $QTDIR/doc/html exists and contains a lot of 
QT docs. So I think that is right.. It works fine with .tar.bz2 and HEAD

$ cvs -z3 -d :pserver:mythtv at cvs.mythtv.org:/var/lib/mythcvs checkout -r 
release-0-13 -d cvs.mythtv-0.13 mythtv
$ tar jxvf ../non-cvs/mythtv-0.13.tar.bz2
$ diff -wur --exclude CVS cvs.mythtv-0.13/ mythtv-0.13/
Only in cvs.mythtv-0.13/libs/libavcodec: audresample.c
Only in mythtv-0.13/libs/libavcodec: resample.c
Only in mythtv-0.13/libs: libdvbdev
Only in cvs.mythtv-0.13/libs/libmythtv: dvbdev
Only in cvs.mythtv-0.13/libs/libmythtv: vbitext
$ diff cvs.mythtv-0.13/libs/libavcodec/audresample.c 
mythtv-0.13/libs/libavcodec/resample.c
<no diffs>
$ cd cvs.mythtv-0.13
$ ./configure && qmake mythtv.pro && make
....
gcc -c -pipe -w -Wall -g -O3 -DHAVE_AV_CONFIG_H -I.. 
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_GNU_SOURCE -D_REENTRANT  
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX 
-DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.1/mkspecs/default -I. 
-I../.. -I/usr/lib/qt-3.1/include -o mjpeg.o mjpeg.c
make[2]: *** No rule to make target `resample.c', needed by 
`resample.o'.  Stop.

$ cvs -z3 -d :pserver:mythtv at cvs.mythtv.org:/var/lib/mythcvs checkout mythtv
Fine!




More information about the mythtv-users mailing list