Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Tom Lichti
J. Donavan Stanley wrote:
Tom Lichti wrote:

Not sure who this should go to, but using latest CVS I'm getting this
error:

Is your copy of Myth up to date with CVS as well?
As of about 5 minutes before I tried compiling, yes. I'll try an 
update/build now and see what happens...

Tom
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread J. Donavan Stanley
Tom Lichti wrote:

 J. Donavan Stanley wrote:

 Tom Lichti wrote:


 Not sure who this should go to, but using latest CVS I'm getting this
 error:




 Is your copy of Myth up to date with CVS as well?


 As of about 5 minutes before I tried compiling, yes. I'll try an
 update/build now and see what happens...


Is it possible you have an old copy of the mythtv headers someplace?
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Michael J. Lynch
J. Donavan Stanley wrote:
 
Is it possible you have an old copy of the mythtv headers someplace?

This is probably the problem.  If, in the past, you did your mythtv
compiles using:
./configure
qmake PREFIX=/some/install/path mythtv.pro
make
make install
If you are using this same sequence with recent changes to
configure from CVS, your headers, etc. end up getting installed
in /usr/local instead of /some/install/path.  The new sequence
needs to be:
./configure --prefix=/some/install/path
qmake mythtv.pro
make
make install
To be on the safe side I do:
./configure --prefix=/some/install/path
qmake PREFIX=/some/install/path mythtv.pro
make
make install
Of course, if you are installing to the default installation
paths, then you don't need to worry about any of this.  Either
way, there could still be a problem with usage of stale headers
and/or libraries.
--
Michael J. Lynch
What if the hokey pokey IS what it's all about -- author unknown
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Tom Lichti
Michael J. Lynch wrote:
J. Donavan Stanley wrote:
 
Is it possible you have an old copy of the mythtv headers someplace?

This is probably the problem.  If, in the past, you did your mythtv
compiles using:
./configure
qmake PREFIX=/some/install/path mythtv.pro
make
make install
Well, I started with a stock KnoppMyth installation (which has myth 
installed in /usr) and from the very beginning I've always used 
/usr/local as the prefix when compiling from CVS. Should I remove the 
old debian Myth packages? I haven't had any problems up to now with 
compiling my own stuff.

I'll start on removing the older Myth components and see what 
happens...I'm sure I'll break something... :)

Thanks
Tom
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Michael J. Lynch
Tom Lichti wrote:
 
Well, I started with a stock KnoppMyth installation (which has myth 
installed in /usr) and from the very beginning I've always used 
/usr/local as the prefix when compiling from CVS. Should I remove the 
old debian Myth packages? I haven't had any problems up to now with 
compiling my own stuff.

If you have old copies of myth header files in /usr/include/mythtv
they will get used instead of the ones from /usr/local/include/mythtv
because of the search order used by the compiler.  This also applies
to /usr/lib and /usr/local/lib.
If you don't want to risk anything, just rename /usr/include/mythtv
to /usr/include/mythtv.old.  Also, move anything /usr/lib/libmyth* to
some safe place.
There is an Update to CVS howto that discusses what you need
to do to properly switch from using a stock installation to using CVS.
http://www.mythtv.info/moin.cgi/UpgradeToCvsHowTo
--
Michael J. Lynch
What if the hokey pokey IS what it's all about -- author unknown
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Tom Lichti
Michael J. Lynch wrote:
Tom Lichti wrote:
 
Well, I started with a stock KnoppMyth installation (which has myth 
installed in /usr) and from the very beginning I've always used 
/usr/local as the prefix when compiling from CVS. Should I remove the 
old debian Myth packages? I haven't had any problems up to now with 
compiling my own stuff.

If you have old copies of myth header files in /usr/include/mythtv
they will get used instead of the ones from /usr/local/include/mythtv
because of the search order used by the compiler.  This also applies
to /usr/lib and /usr/local/lib.
If you don't want to risk anything, just rename /usr/include/mythtv
to /usr/include/mythtv.old.  Also, move anything /usr/lib/libmyth* to
some safe place.
And we have a winner...moved /usr/lib/mythtv, /usr/include/mythtv and 
usr/lib/libmyth*, recompiled, and it finished. Can't test it just yet 
(although...I could forward my X session to work...) but I will tonight.

I'm surprised that I didn't have more problems with my compiled binaries 
though. I have had a couple of odd issues, but nothing major, or worth 
reporting. I'll recompile everything and see how that goes. It could 
explain why I can't get XvMC to work though :)

Thanks!
Tom
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Michael J. Lynch
Tom Lichti wrote:
I'm surprised that I didn't have more problems with my compiled binaries 
though. I have had a couple of odd issues, but nothing major, or worth 
reporting. I'll recompile everything and see how that goes. It could 
explain why I can't get XvMC to work though :)

One other set you may want to check/move is /usr/bin/myth* just to
be on the safe side.
--
Michael J. Lynch
What if the hokey pokey IS what it's all about -- author unknown
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-08 Thread Tom Lichti
Michael J. Lynch wrote:
Tom Lichti wrote:
I'm surprised that I didn't have more problems with my compiled 
binaries though. I have had a couple of odd issues, but nothing major, 
or worth reporting. I'll recompile everything and see how that goes. 
It could explain why I can't get XvMC to work though :)

One other set you may want to check/move is /usr/bin/myth* just to
be on the safe side.
Those are already linked to /usr/local/bin, so I think I'm ok there. To 
be completely paranoid I just deleted my CVS directory and I am going to 
build completely clean.

Tom
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev


Re: [mythtv] Problem compiling mythmovietime

2005-04-07 Thread J. Donavan Stanley
Tom Lichti wrote:

 Not sure who this should go to, but using latest CVS I'm getting this
 error:


Is your copy of Myth up to date with CVS as well?
___
mythtv-dev mailing list
mythtv-dev@mythtv.org
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-dev