Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: MythTV: Dev

compilation problems with mythmusic (qt3 vs qt4 qmake)

 

 

MythTV dev RSS feed   Index | Next | Previous | View Threaded


torbjorn.jansson at mbox200

Nov 8, 2009, 5:43 AM

Post #1 of 3 (951 views)
Permalink
compilation problems with mythmusic (qt3 vs qt4 qmake)

I'm having some compilation problem with mythmusic.
On one computer it compiles just fine and on the other one I get lots of
errors about missing include files that is part of qt.

After examining the generated makefiles between the working computer and the
non working I think I've found why it's not working

When examining the makefile:
mythplugins/mythmusic/mythmusic/Makefile

at the top of it it says:
Generated by qmake (1.07a) (Qt 3.3.8b)

On the working one it says its generated by qmake fron qt4 not version 3.

When looking at the non working computer and at the file:
mythplugins/mythmusic/Makefile (parent dir of the above one)
it's generated by:
Generated by qmake (2.01a) (Qt 4.5.3)

So why is it suddenly changing qmake in the middle?
Any clues?
I've compared installed packages and can't find any obvious difference.
Both computers is fedora 11 boxes.

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


nigel at ind

Nov 8, 2009, 9:42 PM

Post #2 of 3 (858 views)
Permalink
Re: compilation problems with mythmusic (qt3 vs qt4 qmake) [In reply to]

> When examining the makefile:
> mythplugins/mythmusic/mythmusic/Makefile
>
> at the top of it it says:
> Generated by qmake (1.07a) (Qt 3.3.8b)

I would try deleting that Makefile and trying again.
The parent Makefile will cause the SUBDIRs' ones to
be regenerated (hopefully with the correct qmake).
If it is regenerated as an old qmake/Qt filem
have a look in the toplevel make output for the
commands that are used.


The Mac OS X build script does this
to purge any generated Makefiles:

find . -name Makefile -exec egrep -q 'qmake.*PREFIX' {} \; -delete



Something like this might do the same for you:

find . -name Makefile -exec egrep 'qmake.*QMAKE' {} \;

--
Nigel Pearson, nigel [at] ind|There's a warm cosiness as |
| all your internal organs are|
Telstra Net. Eng., Sydney, Australia | marshalled by the G forces |
Office: 9202 3900 Fax: 9261 3912 | into a little puddle |
Mobile: 0408 664435 Home: 9792 6998 | at the base of your spine! |




_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


torbjorn.jansson at mbox200

Nov 10, 2009, 12:01 AM

Post #3 of 3 (832 views)
Permalink
Re: compilation problems with mythmusic (qt3 vs qt4 qmake) [In reply to]

-----Original Message-----
> From: mythtv-dev-bounces [at] mythtv [mailto:mythtv-dev-bounces [at] mythtv]
On
> Behalf Of Nigel Pearson
> Sent: Monday, November 09, 2009 6:42 AM
> To: Development of mythtv
> Subject: Re: [mythtv] compilation problems with mythmusic (qt3 vs qt4
qmake)
>
> > When examining the makefile:
> > mythplugins/mythmusic/mythmusic/Makefile
> >
> > at the top of it it says:
> > Generated by qmake (1.07a) (Qt 3.3.8b)
>
> I would try deleting that Makefile and trying again.
> The parent Makefile will cause the SUBDIRs' ones to
> be regenerated (hopefully with the correct qmake).
> If it is regenerated as an old qmake/Qt filem
> have a look in the toplevel make output for the
> commands that are used.
>
>
> The Mac OS X build script does this
> to purge any generated Makefiles:
>
> find . -name Makefile -exec egrep -q 'qmake.*PREFIX' {} \; -delete
>
>
>
> Something like this might do the same for you:
>
> find . -name Makefile -exec egrep 'qmake.*QMAKE' {} \;

I'll give it a try later.
The odd thing is that I compared the toplevel makefile with diff and it was
identical (except for the date at the top) between the working computer and
the broken one.

And I have done more than one: make distclean;./configure; make
Without any luck.
I've also checked env variables for differences but no luck.

_______________________________________________
mythtv-dev mailing list
mythtv-dev [at] mythtv
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev

MythTV dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.