[mythtv] Redhat 7.3 freetype and lame

Matthew mythtv-dev@snowman.net
Mon, 26 Aug 2002 11:45:22 -0700


First off, great looking app Isaac!  I cannot yet get it to compile, but am
looking forward to trying it out.

After getting past the missing qt-devel package causing the 'mkspecs' error
(Perhaps this could be add to FAQ?), I seem to be having two more issues and
am looking for any input.

freetype
--------
RedHat 7.3 comes by default with freetype-2.0.x-x, however Myth requires
version 1.x.  Version 2.x is a dependency of some of the other required
packages such as QT, so I cannot downgrade without forcing it which might
break other packages.  How are other users getting around this problem?

lame
----
I have lame-3.92 installed.  The RPM database shows it correctly installed
and it is in the path (/usr/bin/lame).  Making Myth has all sorts of errors
about "lame/lame.h: No such file or directory".  Also doing a ./configure
outputs "mp3lame enabled  no".  Does Myth require lame to be in another
location or require the source (header) for lame?


Many thanks,
Matt



make stdout & stderr output below
-----------------

cd libavcodec && make -f Makefile
make[1]: Entering directory `/root/mythtv-0.5/libavcodec'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/root/mythtv-0.5/libavcodec'
cd libNuppelVideo && make -f Makefile
make[1]: Entering directory `/root/mythtv-0.5/libNuppelVideo'
g++ -c -pipe -Wall -W -O6 -march=pentiumpro -fomit-frame-pointer -funroll-lo
ops -fexpensive-optimizations -finline-functions -D_REENTRANT  -D_GNU_SOURCE
 -DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/lib/qt3
-gcc2.96/include -I/usr/lib/qt3-gcc2.96/mkspecs/default -o
NuppelVideoPlayer.o NuppelVideoPlayer.cpp
In file included from NuppelVideoPlayer.cpp:15:
NuppelVideoPlayer.h:11:23: lame/lame.h: No such file or directory
In file included from osd.h:4,
                 from NuppelVideoPlayer.h:19,
                 from NuppelVideoPlayer.cpp:15:
ttfont.h:27:31: freetype/freetype.h: No such file or directory
In file included from osd.h:4,
                 from NuppelVideoPlayer.h:19,
                 from NuppelVideoPlayer.cpp:15:
ttfont.h:32: syntax error before `;'
ttfont.h:33: syntax error before `;'
ttfont.h:34: syntax error before `;'
ttfont.h:35: syntax error before `;'
ttfont.h:37: syntax error before `*'
ttfont.h:38: syntax error before `*'
In file included from NuppelVideoPlayer.cpp:15:
NuppelVideoPlayer.h:192: syntax error before `*'
In file included from NuppelVideoPlayer.cpp:16:
NuppelVideoRecorder.h:16:23: lame/lame.h: No such file or directory
In file included from NuppelVideoPlayer.cpp:16:
NuppelVideoRecorder.h:129: syntax error before `*'
NuppelVideoPlayer.cpp: In method `NuppelVideoPlayer::NuppelVideoPlayer
()':
NuppelVideoPlayer.cpp:33: `gf' undeclared (first use this function)
NuppelVideoPlayer.cpp:33: (Each undeclared identifier is reported only
once for each function it appears in.)
NuppelVideoPlayer.cpp: In method `NuppelVideoPlayer::~NuppelVideoPlayer
()':
NuppelVideoPlayer.cpp:67: `lame_close' undeclared (first use this
function)
NuppelVideoPlayer.cpp: In method `int NuppelVideoPlayer::InitSubs ()':
NuppelVideoPlayer.cpp:155: `lame_init' undeclared (first use this
function)
NuppelVideoPlayer.cpp:156: `lame_set_decode_only' undeclared (first use
this function)
NuppelVideoPlayer.cpp:157: `lame_decode_init' undeclared (first use
this function)
NuppelVideoPlayer.cpp:158: `lame_init_params' undeclared (first use
this function)
NuppelVideoPlayer.cpp: In method `void NuppelVideoPlayer::GetFrame
(int)':
NuppelVideoPlayer.cpp:664: `lame_decode' undeclared (first use this
function)
make[1]: *** [NuppelVideoPlayer.o] Error 1
make[1]: Leaving directory `/root/mythtv-0.5/libNuppelVideo'
make: *** [sub-libNuppelVideo] Error 2