Mailing List Archive

A note on building under Mandrake9.0..
Just a word of advice to anyone who's getting grief building under
Mandrake 9.0.. The CVS makefiles that come with mythtv seem to have gcc
and g++ hard-coded, which then tries to link using g++ 2.96..

Unfortunately, this causes an incompatibility with libqt3, which is
built using gcc/g++ 3.2. The makefiles need to be modified:

CC = gcc-3.2
CXX = g++-3.2
LINK = g++-3.2

Normally this would've been taken care of using automake/autoconf, but
mythtv doesn't use those, so manual changes are necessary. If you get
some compiler errors having to do with undefined references
"QApplication", "QString", etc... then that's why.

I learned the hard way, so I thought I'd share..

Cheers,
Aaron C:\STEWART>
Re: A note on building under Mandrake9.0.. [ In reply to ]
I stand corrected.. qmake was referencing an incorrect mkspec.

Cheers,
Aaron

On Thu, 2008-01-24 at 14:47, Aaron Stewart wrote:
> ~/mythtv/MC/programs/*/Makefile
>
> Cheers,
> Aaron
>
> On Sat, 2003-02-08 at 14:14, Isaac Richards wrote:
> > On Thursday 24 January 2008 04:41 pm, Aaron Stewart wrote:
> > > Just a word of advice to anyone who's getting grief building under
> > > Mandrake 9.0.. The CVS makefiles that come with mythtv seem to have gcc
> > > and g++ hard-coded, which then tries to link using g++ 2.96..
> >
> > Uh, what makefiles? CVS contains _no_ makefiles aside from top level ones,
> > which have absolutely no information about gcc, etc. The rest of the
> > makefiles are generated at build time by qmake. So, if they have incorrect
> > information in them, complain to Mandrake about their broken packages.
> >
> > Isaac
> > _______________________________________________
> > mythtv-users mailing list
> > mythtv-users@snowman.net
> > http://www.snowman.net/mailman/listinfo/mythtv-users
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-users
Re: A note on building under Mandrake9.0.. [ In reply to ]
What does a failure look like? I got it to compile on Mandrake 9.0 but it
doesn't run.

On Thu, 24 Jan 2008, Aaron Stewart wrote:

> Just a word of advice to anyone who's getting grief building under
> Mandrake 9.0.. The CVS makefiles that come with mythtv seem to have gcc
> and g++ hard-coded, which then tries to link using g++ 2.96..
>
> Unfortunately, this causes an incompatibility with libqt3, which is
> built using gcc/g++ 3.2. The makefiles need to be modified:
>
> CC = gcc-3.2
> CXX = g++-3.2
> LINK = g++-3.2
>
> Normally this would've been taken care of using automake/autoconf, but
> mythtv doesn't use those, so manual changes are necessary. If you get
> some compiler errors having to do with undefined references
> "QApplication", "QString", etc... then that's why.
>
> I learned the hard way, so I thought I'd share..
>
> Cheers,
> Aaron C:\STEWART>
>
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-users
>
Re: A note on building under Mandrake9.0.. [ In reply to ]
On Thursday 24 January 2008 04:41 pm, Aaron Stewart wrote:
> Just a word of advice to anyone who's getting grief building under
> Mandrake 9.0.. The CVS makefiles that come with mythtv seem to have gcc
> and g++ hard-coded, which then tries to link using g++ 2.96..

Uh, what makefiles? CVS contains _no_ makefiles aside from top level ones,
which have absolutely no information about gcc, etc. The rest of the
makefiles are generated at build time by qmake. So, if they have incorrect
information in them, complain to Mandrake about their broken packages.

Isaac
Re: A note on building under Mandrake9.0.. [ In reply to ]
~/mythtv/MC/programs/*/Makefile

Cheers,
Aaron

On Sat, 2003-02-08 at 14:14, Isaac Richards wrote:
> On Thursday 24 January 2008 04:41 pm, Aaron Stewart wrote:
> > Just a word of advice to anyone who's getting grief building under
> > Mandrake 9.0.. The CVS makefiles that come with mythtv seem to have gcc
> > and g++ hard-coded, which then tries to link using g++ 2.96..
>
> Uh, what makefiles? CVS contains _no_ makefiles aside from top level ones,
> which have absolutely no information about gcc, etc. The rest of the
> makefiles are generated at build time by qmake. So, if they have incorrect
> information in them, complain to Mandrake about their broken packages.
>
> Isaac
> _______________________________________________
> mythtv-users mailing list
> mythtv-users@snowman.net
> http://www.snowman.net/mailman/listinfo/mythtv-users