[mythtv-users] SVN - compile error - libavcodec

A JM vbtalent at gmail.com
Tue Dec 23 11:46:34 UTC 2008


On Mon, Dec 22, 2008 at 11:11 PM, R. G. Newbury <newbury at mandamus.org>wrote:

> A JM wrote:
> > On Mon, Dec 22, 2008 at 5:56 PM, Mark <markhsa at shaw.ca> wrote:
> >
> >
> > Sorry yes I did.
> >
> > /usr/bin/gcc
> >
> Are you using the correct qmake when you configure and before 'make'?
> If you are compiling from source you want:
>
> ./configure    \
>  --prefix=/usr/local        \  #of whatever, but this makes it easier to
>  --compile-type=release     \  # backup or delete the myth programs in
>  --qmake=/usr/bin/qmake-qt4 \  # in ../bin and libs in ../lib
>  --enable-proc-opt          \
>
> Followed by (to be redundant and precise)
>
> /usr/bin/qmake-qt4 mythtv.pro
> make ....etc.
>
> And you need to ensure that (for Fedora) /usr/lib/qt4/bin *precedes*
> /usr/lib/qt-3.3/bin in PATH.
>
> Geoff
>
>
Thanks for that Geoff that seems to have gotten me over the qt3 hump and its
no compiling w/qt4.

In conjunction with your suggestion I also deleted the Makefiles again like
Mike suggested before compiling.

*find . -name 'Makefile' -delete
./configure --enable-xvmc --enable-opengl-vsync --enable-proc-opt
--enable-dvb --with-bindings=perl --qmake=/usr/bin/qmake-qt4
--compile-type=release
/usr/bin/qmake-qt4 mythtv.pro
make*

I'm seeing a different error though, any ideas guys?

gcc -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
-Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT
-DPIC -fPIC -DQT_SHARED -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX="/usr/local" -DLIBDIR="/usr/local/lib" -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I.
-o mpeg.o mpeg.c
gcc -c -pipe -march=athlon-xp -fomit-frame-pointer -O3 -D_ISOC99_SOURCE
-D_POSIX_C_SOURCE=200112 -fasm -std=c99 -pthread -Wall -Wno-switch
-Wdisabled-optimization -Wpointer-arith -Wredundant-decls -Wno-pointer-sign
-Wcast-qual -funit-at-a-time -Wwrite-strings -fno-math-errno -w -D_REENTRANT
-DPIC -fPIC -DQT_SHARED -DMMX -Di386 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64
-DPREFIX="/usr/local" -DLIBDIR="/usr/local/lib" -DHAVE_AV_CONFIG_H
-D_LARGEFILE_SOURCE -I/usr/share/qt4/mkspecs/linux-g++ -I. -I.. -I../.. -I.
-o mpegts.o mpegts.c
mpegts.c:25:30: error: libmythdb/compat.h: No such file or directory
make[2]: *** [mpegts.o] Error 1
make[2]: Leaving directory `/home/mythtv/mythtv/libs/libavformat'
make[1]: *** [sub-libavformat-make_default-ordered] Error 2
make[1]: Leaving directory `/home/mythtv/mythtv/libs'
make: *** [sub-libs-make_default-ordered] Error 2
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20081223/863689f4/attachment.htm 


More information about the mythtv-users mailing list