[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_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\"
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
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