Mailing List Archive

compile problems w/Red Hat 8.0
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]#
Re: compile problems w/Red Hat 8.0 [ In reply to ]
> Hi there. After much struggle I finally have xmltv installed and
> working.

Do you have any note/hints for getting xmltv running under RH8.0? I have
been trying for an hour or so without any luck. If I do a "perl
Makefile.pl" it says that I don't have Tk installed, but if I do an "rpm
-q tk" it tells me that I *DO* have Tk installed. It also spits out a lot
of Unicode errors because for RH8, they decided to go unicode. I'm
totally lost!

Any help would be, er, helpful :)

Jeremy
Re: compile problems w/Red Hat 8.0 [ In reply to ]
Sorry, my last post was *supposed to* go to Cedar McKay
<cedarmckay@mac.com> regarding the RH8.0 compile problems...but if anyone
has helpful advice I'll take it!

Thanks,
Jer
Re: compile problems w/Red Hat 8.0 [ In reply to ]
I finally became annoyed at about 2AM and decided to take the easy way out.

If you *know* (think?) you have everything you need, simply go into your
xmltv src directory, open up Makefile.PL, head to line 57:

my %prereqs
= (
'LWP' => 0,
'XML::Twig' => 0,
'Date::Manip' => 5.4,
'XML::Writer' => 0,
);

--

Yank line 60 ('XML::Twig'). Save... ; perl Makefile.PL ; watch errors for
Date::Manip (UTF problems, seems to be related to the version of perl they
are using in RH 8.0?.. search google.).

make ; make install

--

This will probably break something, for someone, but it works for me. YMMV!

Re,
Seth (skitzo)


----- Original Message -----
From: "Jeremy Oddo" <joddo@apixels.net>
To: <mythtv-dev@snowman.net>
Sent: Saturday, October 26, 2002 3:25 PM
Subject: Re: [mythtv] compile problems w/Red Hat 8.0


> > Hi there. After much struggle I finally have xmltv installed and
> > working.
>
> Do you have any note/hints for getting xmltv running under RH8.0? I have
> been trying for an hour or so without any luck. If I do a "perl
> Makefile.pl" it says that I don't have Tk installed, but if I do an "rpm
> -q tk" it tells me that I *DO* have Tk installed. It also spits out a lot
> of Unicode errors because for RH8, they decided to go unicode. I'm
> totally lost!
>
> Any help would be, er, helpful :)
>
> Jeremy
>
>
> _______________________________________________
> mythtv-dev mailing list
> mythtv-dev@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-dev
>
Re: compile problems w/Red Hat 8.0 [ In reply to ]
On Saturday 26 October 2002 04:45 am, Cedar McKay wrote:
> compile errors:
> /usr/bin/ld: cannot find -lXext
^^^

You need that -- is there like an X extensions package or maybe you're missing
a -dev package that you're missing or something?

Isaac