[mythtv] compliling on ubuntu/kubuntu edgy 6.1

Barry Smoke bsmokeman at gmail.com
Wed May 2 05:09:12 UTC 2007


I've run into a snag while compiling mytth svn on kubuntu 6.1

I noticed the mythtv.org howto said I need freetype2-dev, but a ubuntu
howto I'm using says libttf-dev.
freeetype2-dev is not apt-get installable, and libttf-dev is not working:

any suggestions?

Barry Smoke

<compile error>

make[2]: Entering directory `/usr/src/mythtv/libs/libmythtv'
g++ -c -pipe -march=athlon -Wall -W -O3 -fomit-frame-pointer -Wall
-Wno-switch -Wno-non-virtual-dtor -fomit-frame-pointer -
D_REENTRANT -DPIC -fPIC  -DMMX -Di386 -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
-DLIBDIR=\"/usr/local/li
b\" -D_LARGEFILE_SOURCE -DUSING_OSS -DUSING_H264TOOLS -DUSING_XV
-DUSING_XVMC -DUSING_XVMCW -DUSING_FRONTEND -DUSING_V4L -D
USING_DBOX2 -DUSING_IPTV -DUSING_HDHOMERUN -DUSING_IVTV -DUSING_DVB
-DUSING_BACKEND -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_
SHARED -DQT_TABLET_SUPPORT -I/usr/share/qt3/mkspecs/default -I.
-I../../../../local/include -I../../../../include -I../.. -
I.. -I../libmyth -I../libavcodec -I../libavutil -I../libmythmpeg2
-Idvbdev -Impeg -Iiptv -I../libmythlivemedia/BasicUsageEn
vironment/include -I../libmythlivemedia/groupsock/include
-I../libmythlivemedia/liveMedia/include -I../libmythlivemedia/Usa
      geEnvironment/include -I../../../../include/qt3 -o tv_play.o
tv_play.cpp
In file included from ttfont.h:4,
                 from osdlistbtntype.h:38,
                 from tv_play.cpp:19:
/usr/include/ft2build.h:56:38: error: freetype/config/ftheader.h: No
such file or directory
In file included from osdlistbtntype.h:38,
                 from tv_play.cpp:19:
ttfont.h:5:10: error: #include expects "FILENAME" or <FILENAME>
ttfont.h:6:10: error: #include expects "FILENAME" or <FILENAME>
ttfont.h:59: error: expected ';' before '(' token
ttfont.h:72: error: 'FT_Library' does not name a type
ttfont.h:73: error: 'FT_Face' does not name a type
ttfont.h:74: error: 'FT_Glyph' was not declared in this scope
ttfont.h:74: error: template argument 2 is invalid
make[2]: *** [tv_play.o] Error 1
make[2]: Leaving directory `/usr/src/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/usr/src/mythtv/libs'
make: *** [sub-libs] Error 2


More information about the mythtv-dev mailing list