On Tue, 2008-05-20 at 23:52 +0200, Michael Riepe wrote: > Hi! > > Levente Novák wrote: > > I had no problems compiling dvbcut on a Debian testing system prior to > > SVN-124. Now I can't get it compiled: with scons_0.98.4 (from Debian > > unstable) compiling is OK with the local ffmpeg tree but fails when > > doing a make FFMPEG=/usr/local with the following error: > [...] > > g++ -o src/avframe.o -c -O3 -Wall -D_FILE_OFFSET_BITS=64 > > -D_LARGEFILE_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS > > -DHAVE_LIBINTL_H -DHAVE_LIB_AO -DHAVE_LIB_MAD -DHAVE_LIB_A52 > > -DQT_NO_DEBUG -DHAVE_LIB_SWSCALE -I/usr/share/qt3/include > > -I/usr/local/include/ffmpeg -Isrc/PREFIX)/include src/avframe.cpp > > sh: -c: line 0: syntax error near unexpected token `)' > > sh: -c: line 0: `g++ -o "src/avframe.o" -c -O3 -Wall > [...] > > Obviouly there is something wrong with the command line at > > '-Isrc/PREFIX)/include': this excerpt is total nonsense and this > > 'PREFIX)' makes compiling fail. Where is this garbage coming from? I > > tried to look into the Sconscript file but it was far too complex and > > unintuitive for me. > > That probably was "-Isrc/$(PREFIX)/include" or similar, but got messed > up somehow. On the other hand, the path doesn't make sense in the first > place. There is no subdirectory of src in the dvbcut tree.
Yes, I also suspected something similar (missing $ and opening brace before PREFIX), but don't know where from it comes, so I am unable to correct the typo. I agree it does not make sense even in the syntactically correct form, but at least it would not cause the compilation fail then. > > On the other hand, scons_0.98.3-1 does not give an error message but > > yields absolutely nothing (no binary whatsoever) and its output is as > > follows: > > Did you try cleaning the scons cache and starting over? How am I supposed to do this? I know absolutely nothing about scons (this is the first project using it I came across). > Can anybody who is using external ffmpeg shed some light on this? > An additional remark about external ffmpeg: I know there was a recommendation some time before not to use the lavc muxer, but with the latest lavc versions I get much more contiguous timelines with this muxer than with the internal one. My recordings are from an ivtv-based PVR card (Mpeg-PS) and often contain lots of timestamp jumps (usually I check with mpgtx -i file.mpg). The externally linked lavc muxer seems to do a better job in decreasing -- mostly to zero -- the number of these incontiguities. Levente ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ DVBCUT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/dvbcut-user
