[mythtv] compile problems w/Red Hat 8.0

Cedar McKay mythtv-dev@snowman.net
Sat, 26 Oct 2002 01:45:24 -0700


Hi there. After much struggle I finally have xmltv installed and 
working. Hint: for those that can't get XML::Twig installed, try 
updating libexpat, since 1.95.4 which ships with Red Hat 8 seems to be 
broken. freetype and lame didn't fight much at all. QT came installed 
on Red Hat but needed to have qt-devel installed to get rid of the 
"mkspecs" error (mentioned in the readme). But now I get these errors 
when compiling and installing. Here I'm using the latest cvs snapshot 
of mythtv, but I get the same error using the 0.6 release.  Actually I 
get a lot more than that, these are just the last few.  Please help, 
I've put too much effort into this to fail now.

I look forward to your help
-cedar



compile errors:
#########################################
cc1plus: warning: changing search order for system directory 
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
/usr/lib/qt3/bin/moc themedmenu.h -o moc_themedmenu.cpp
g++ -c -pipe -Wall -W -O6 -march=pentiumpro -fomit-frame-pointer 
-funroll-loops -fexp
ensive-optimizations -finline-functions -fno-rtti -fno-exceptions 
-D_REENTRANT -fPIC
  -D_GNU_SOURCE -DPREFIX=\"/usr/local\" -DMMX -DQT_NO_DEBUG 
-DQT_THREAD_SUPPORT -I/usr
/local/include -I/usr/lib/qt3/include -I/usr/lib/qt3/mkspecs/default -o 
moc_themedmen
u.o moc_themedmenu.cpp
cc1plus: warning: changing search order for system directory 
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
rm -f libmyth.so.0.6.0 libmyth.so libmyth.so.0 libmyth.so.0.6
g++ -shared -Wl,-soname,libmyth.so.0 -o libmyth.so.0.6.0 dialogbox.o 
guidegrid.o info
dialog.o infostructs.o lcddevice.o programinfo.o settings.o 
themedmenu.o moc_dialogbo
x.o moc_guidegrid.o moc_infodialog.o moc_lcddevice.o moc_themedmenu.o   
-L/usr/lib/qt
3/lib  -L/usr/X11R6/lib
-lqt-mt -lpthread -lXext -lX11 -lm
/usr/bin/ld: cannot find -lXext
collect2: ld returned 1 exit status
make[2]: *** [libmyth.so.0.6.0] Error 1
make[2]: Leaving directory `/home/cedar/download/MC/libs/libmyth'
make[1]: *** [sub-libmyth] Error 2
make[1]: Leaving directory `/home/cedar/download/MC/libs'
make: *** [sub-libs] Error 2
[root@freevo MC]#
####################################################3




install errors
########################################################
cp -f -pR "blue" "/usr/local/share/mythtv/themes/"
strip "/usr/local/share/mythtv/themes/"
strip: /usr/local/share/mythtv/themes/: Is a directory
make[1]: *** [install_themes] Error 1
make[1]: Leaving directory `/home/cedar/download/MC/themes'
make[1]: Entering directory `/home/cedar/download/MC/setup'
g++ -c -pipe -Wall -W -O6 -march=pentiumpro -fomit-frame-pointer 
-funroll-loops -fexpensive-optimizations -finl
ine-functions -fno-rtti -fno-exceptions -D_REENTRANT  -D_GNU_SOURCE 
-DPREFIX=\"/usr/local\" -DMMX -DQT_NO_DEBUG
  -DQT_THREAD_SUPPORT -I/usr/local/include -I../libs 
-I/usr/lib/qt3/include -I/usr/lib/qt3/mkspecs/default -o ma
in.o main.cpp
cc1plus: warning: changing search order for system directory 
"/usr/local/include"
cc1plus: warning:   as it has already been specified as a non-system 
directory
g++  -o setup main.o    -L/usr/lib/qt3/lib  -L/usr/X11R6/lib -lmyth 
-L/usr/local/lib -L../libs/libmyth -lqt-mt
-lpthread -lXext -lX11 -lm
/usr/bin/ld: cannot find -lmyth
collect2: ld returned 1 exit status
make[1]: *** [setup] Error 1
make[1]: Leaving directory `/home/cedar/download/MC/setup'
make: *** [install] Error 2
[root@freevo MC]#