[mythtv] When compiling mythtv, such errors come out, find difficult to solve it.
j. berger
jberger at netins.net
Mon Jul 23 02:32:35 UTC 2007
Make sure you have the libxinerama-dev , libxv-dev, and xlibs-dev packages.
andy yu wrote:
> Dear all:
> When compiling mythtv, such errors which is below come out.
>
> My configuration and exporting parameters are below:
>
> export QTDIR=/home/andy/work/sigma/armutils_2.5.146.0/qt-x11-free-3.3.5
> export LD_LIBRARY_PATH=$QTDIR/lib:$LD_LIBRARY_PATH
>
> ./configure --disable-audio-oss --disable-audio-alsa
> --disable-audio-arts --disable-firewire --disable-dbox2
> --disable-xv --disable-xvmc-opengl --disable-x11 --disable-iwmmxt
> && make && make install
>
> And compiling error message is below:
>
> cd libmyth && make -f Makefile
> make[2]: Entering directory `/tmp/andy/work/mythtv/libs/libmyth'
> g++ -c -pipe -march=pentiumpro -Wall -W -O3 -Wall -Wno-switch
> -fomit-frame-pointer -D_REENTRANT -DPIC -fPIC -DMMX -Di386
> -DUSING_FREEBOX -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
> -DPREFIX=\"/usr/local\" -DLIBDIR=\"/usr/local/lib\"
> -DUSE_JOYSTICK_MENU -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
> -I/home/andy/work/sigma/armutils_2.5.146.0/qt-
> x11-free-3.3.5/mkspecs/default -I. -I/usr/local/include
> -I../libmythsamplerate -I../libmythsoundtouch -I../.. -I..
> -I/home/andy/work/sigma/armutils_2.5.146.0/qt-x11-free-3.3.5/include
> -o util-x11.o util-x11.cpp
> util-x11.cpp:15:37: error: X11/extensions/Xinerama.h: No such file or
> directory
> util-x11.cpp: In function 'int GetNumberOfXineramaScreens()':
> util-x11.cpp:40: error: 'XineramaQueryExtension' was not declared in
> this scope
> util-x11.cpp:41: error: 'XineramaIsActive' was not declared in this scope
> util-x11.cpp :42: error: 'XineramaQueryScreens' was not declared in
> this scope
> make[2]: *** [util-x11.o] Error 1
> make[2]: Leaving directory `/tmp/andy/work/mythtv/libs/libmyth'
> make[1]: *** [sub-libmyth] Error 2
> make[1]: Leaving directory `/tmp/andy/work/mythtv/libs'
> make: *** [sub-libs] Error 2
>
> I have find it in /usr/include/X11/extensions/ and really don't find
> file of Xinerama.h , my OS is Ubuntu 7.04, it seems that I have
> installed as many X11 library files as possible, using apt-get. I
> have googled in internet but find few useful information to solve it.
>
> Any ideal will be welcome and appreciated. Thanks in advance.
More information about the mythtv-dev
mailing list