Mailing List Archive

Redhat 7.3 freetype and lame
First off, great looking app Isaac! I cannot yet get it to compile, but am
looking forward to trying it out.

After getting past the missing qt-devel package causing the 'mkspecs' error
(Perhaps this could be add to FAQ?), I seem to be having two more issues and
am looking for any input.

freetype
--------
RedHat 7.3 comes by default with freetype-2.0.x-x, however Myth requires
version 1.x. Version 2.x is a dependency of some of the other required
packages such as QT, so I cannot downgrade without forcing it which might
break other packages. How are other users getting around this problem?

lame
----
I have lame-3.92 installed. The RPM database shows it correctly installed
and it is in the path (/usr/bin/lame). Making Myth has all sorts of errors
about "lame/lame.h: No such file or directory". Also doing a ./configure
outputs "mp3lame enabled no". Does Myth require lame to be in another
location or require the source (header) for lame?


Many thanks,
Matt



make stdout & stderr output below
-----------------

cd libavcodec && make -f Makefile
make[1]: Entering directory `/root/mythtv-0.5/libavcodec'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/root/mythtv-0.5/libavcodec'
cd libNuppelVideo && make -f Makefile
make[1]: Entering directory `/root/mythtv-0.5/libNuppelVideo'
g++ -c -pipe -Wall -W -O6 -march=pentiumpro -fomit-frame-pointer -funroll-lo
ops -fexpensive-optimizations -finline-functions -D_REENTRANT -D_GNU_SOURCE
-DMMX -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/lib/qt3
-gcc2.96/include -I/usr/lib/qt3-gcc2.96/mkspecs/default -o
NuppelVideoPlayer.o NuppelVideoPlayer.cpp
In file included from NuppelVideoPlayer.cpp:15:
NuppelVideoPlayer.h:11:23: lame/lame.h: No such file or directory
In file included from osd.h:4,
from NuppelVideoPlayer.h:19,
from NuppelVideoPlayer.cpp:15:
ttfont.h:27:31: freetype/freetype.h: No such file or directory
In file included from osd.h:4,
from NuppelVideoPlayer.h:19,
from NuppelVideoPlayer.cpp:15:
ttfont.h:32: syntax error before `;'
ttfont.h:33: syntax error before `;'
ttfont.h:34: syntax error before `;'
ttfont.h:35: syntax error before `;'
ttfont.h:37: syntax error before `*'
ttfont.h:38: syntax error before `*'
In file included from NuppelVideoPlayer.cpp:15:
NuppelVideoPlayer.h:192: syntax error before `*'
In file included from NuppelVideoPlayer.cpp:16:
NuppelVideoRecorder.h:16:23: lame/lame.h: No such file or directory
In file included from NuppelVideoPlayer.cpp:16:
NuppelVideoRecorder.h:129: syntax error before `*'
NuppelVideoPlayer.cpp: In method `NuppelVideoPlayer::NuppelVideoPlayer
()':
NuppelVideoPlayer.cpp:33: `gf' undeclared (first use this function)
NuppelVideoPlayer.cpp:33: (Each undeclared identifier is reported only
once for each function it appears in.)
NuppelVideoPlayer.cpp: In method `NuppelVideoPlayer::~NuppelVideoPlayer
()':
NuppelVideoPlayer.cpp:67: `lame_close' undeclared (first use this
function)
NuppelVideoPlayer.cpp: In method `int NuppelVideoPlayer::InitSubs ()':
NuppelVideoPlayer.cpp:155: `lame_init' undeclared (first use this
function)
NuppelVideoPlayer.cpp:156: `lame_set_decode_only' undeclared (first use
this function)
NuppelVideoPlayer.cpp:157: `lame_decode_init' undeclared (first use
this function)
NuppelVideoPlayer.cpp:158: `lame_init_params' undeclared (first use
this function)
NuppelVideoPlayer.cpp: In method `void NuppelVideoPlayer::GetFrame
(int)':
NuppelVideoPlayer.cpp:664: `lame_decode' undeclared (first use this
function)
make[1]: *** [NuppelVideoPlayer.o] Error 1
make[1]: Leaving directory `/root/mythtv-0.5/libNuppelVideo'
make: *** [sub-libNuppelVideo] Error 2
RE: Redhat 7.3 freetype and lame [ In reply to ]
> freetype
> --------
> RedHat 7.3 comes by default with freetype-2.0.x-x, however
> Myth requires
> version 1.x. Version 2.x is a dependency of some of the
> other required
> packages such as QT, so I cannot downgrade without forcing it
> which might
> break other packages. How are other users getting around
> this problem?

Don't install as an rpm. I got the old freetype source, compiled and put it
in /usr/local. No conflicts so far.

>
> lame
> ----
> I have lame-3.92 installed. The RPM database shows it
> correctly installed
> and it is in the path (/usr/bin/lame). Making Myth has all
> sorts of errors
> about "lame/lame.h: No such file or directory". Also doing a
> ./configure
> outputs "mp3lame enabled no". Does Myth require lame to be
> in another
> location or require the source (header) for lame?

I get this problem too.

Matt
Re: Redhat 7.3 freetype and lame [ In reply to ]
On Monday 26 August 2002 02:45 pm, Matthew wrote:
> First off, great looking app Isaac! I cannot yet get it to compile, but am
> looking forward to trying it out.
>
> After getting past the missing qt-devel package causing the 'mkspecs' error
> (Perhaps this could be add to FAQ?), I seem to be having two more issues
> and am looking for any input.
>
> freetype
> --------
> RedHat 7.3 comes by default with freetype-2.0.x-x, however Myth requires
> version 1.x. Version 2.x is a dependency of some of the other required
> packages such as QT, so I cannot downgrade without forcing it which might
> break other packages. How are other users getting around this problem?

As the other guy said, just install freetype 1 from source. They won't
conflict. If anyone wants to update the ttf code to freetype 2, be my guest.
Probably should, at some point.

> lame
> ----
> I have lame-3.92 installed. The RPM database shows it correctly installed
> and it is in the path (/usr/bin/lame). Making Myth has all sorts of errors
> about "lame/lame.h: No such file or directory". Also doing a ./configure
> outputs "mp3lame enabled no". Does Myth require lame to be in another
> location or require the source (header) for lame?

You don't need lame, you need libmp3lame. Grab the source and install it.

Isaac
Re: Redhat 7.3 freetype and lame [ In reply to ]
Quoting Isaac Richards <ijr@po.cwru.edu>:

> > lame
> > ----
> > I have lame-3.92 installed. The RPM database shows it correctly
> installed
> > and it is in the path (/usr/bin/lame). Making Myth has all sorts of
> errors
> > about "lame/lame.h: No such file or directory". Also doing a ./configure
> > outputs "mp3lame enabled no". Does Myth require lame to be in another
> > location or require the source (header) for lame?
>
> You don't need lame, you need libmp3lame. Grab the source and install it.


Actually, configure seems not to find libmp3lame. If you use

./configure --enable-mp3lame

It works.

Matt
Re: Redhat 7.3 freetype and lame [ In reply to ]
On Monday 26 August 2002 09:56 pm, Matt Ettus wrote:
> Actually, configure seems not to find libmp3lame. If you use
>
> ./configure --enable-mp3lame
>
> It works.

No, it doesn't. The configure script is only for libavcodec, not the rest of
mythtv, and passing in --enable-mp3lame doesn't check for the library
actually being there at all.

Isaac
Re: Redhat 7.3 freetype and lame [ In reply to ]
--- Matt Ettus <matt@ettus.com> wrote:
> Quoting Isaac Richards <ijr@po.cwru.edu>:
>
> > > lame
> > > ----
> > > I have lame-3.92 installed. The RPM database
> shows it correctly
> > installed
> > > and it is in the path (/usr/bin/lame). Making
> Myth has all sorts of
> > errors
> > > about "lame/lame.h: No such file or directory".
> Also doing a ./configure
> > > outputs "mp3lame enabled no". Does Myth
> require lame to be in another
> > > location or require the source (header) for
> lame?
> >
> > You don't need lame, you need libmp3lame. Grab
> the source and install it.
>
>
> Actually, configure seems not to find libmp3lame.
> If you use
>
> ./configure --enable-mp3lame
>
> It works.
>

I ran into this problem as well, and I forget how I
got around it... I can get more details when I get
home tonight and am sitting in front of my mythbox.
For starters do a 'find / -name lame.h' and make sure
it exists on your system. I think that the default
Red Hat 7.3 install doesn't include it.

I messed with RPMs for a while. I finally got it to
work... Now I'm pissed that I didn't document this
whole process like I meant to. Search around on
RPMFIND for a RPM that includes lame.h.

More details to come tonight.

-=-andrew

__________________________________________________
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes
http://finance.yahoo.com
RE: Redhat 7.3 freetype and lame [ In reply to ]
Compiling both lame and freetype from source resolved the issues.

Thanks for the input.
Matt


-----Original Message-----
From: mythtv-dev-admin@snowman.net
[mailto:mythtv-dev-admin@snowman.net]On Behalf Of Isaac Richards
Sent: Monday, August 26, 2002 6:08 PM
To: mythtv-dev@snowman.net
Subject: Re: [mythtv] Redhat 7.3 freetype and lame


On Monday 26 August 2002 02:45 pm, Matthew wrote:
> First off, great looking app Isaac! I cannot yet get it to compile, but
am
> looking forward to trying it out.
>
> After getting past the missing qt-devel package causing the 'mkspecs'
error
> (Perhaps this could be add to FAQ?), I seem to be having two more issues
> and am looking for any input.
>
> freetype
> --------
> RedHat 7.3 comes by default with freetype-2.0.x-x, however Myth requires
> version 1.x. Version 2.x is a dependency of some of the other required
> packages such as QT, so I cannot downgrade without forcing it which might
> break other packages. How are other users getting around this problem?

As the other guy said, just install freetype 1 from source. They won't
conflict. If anyone wants to update the ttf code to freetype 2, be my
guest.
Probably should, at some point.

> lame
> ----
> I have lame-3.92 installed. The RPM database shows it correctly installed
> and it is in the path (/usr/bin/lame). Making Myth has all sorts of
errors
> about "lame/lame.h: No such file or directory". Also doing a ./configure
> outputs "mp3lame enabled no". Does Myth require lame to be in another
> location or require the source (header) for lame?

You don't need lame, you need libmp3lame. Grab the source and install it.

Isaac
_______________________________________________
mythtv-dev mailing list
mythtv-dev@snowman.net
http://www.snowman.net/mailman/listinfo/mythtv-dev