[mythtv] qmake creating -I../../../../include

Bert Haverkamp lists at hccnet.nl
Fri Jan 23 09:09:51 EST 2004


Hi,

I have had the same problem as you, and I bet you are building form /usr/src 
like I did. Am I right? Since /usr is in both the seek path and in the 
current path for the libaries, qmake creates a relative path instead of an 
absolute path. 

Building from any non-/usr path solves the problem. Use /home/mythtv for 
instance.

For building the myhttv-debian packages it is even worse. The paths that qmake 
produces in that case are really wrong. instead 
of /usr/src/mythtv/debian/usr/xx  it 
creates /usr/src/mythtv/debian/../../../xx or the likes because it exands the 
$PREFIX variable to early. Again, building in /home solves the problem 

Regards,

Bert

On Friday 23 January 2004 03:49, Chris Petersen wrote:
> This is a forwarded message from John Hernandez to Axel, the maintainer
> of the redhat/fedora mythtv packages.  I've been having the same trouble
> on my system, but Axel has been unable to reproduce the error.
>
> We decided to bring the conversation over to the mythtv-dev list in hope
> that someone here would know more about qmake and why it's doing the
> whole ../../../../ thing instead of picking up on the absolute path (in
> this case it should be /usr).
>
> On Thu, Jan 22, 2004 at 05:14:44PM -0700, John Hernandez wrote:
> > Axel, attached is the entire output of the -bi stage.  It seems the
> > install script is placing files in strange places, for example:
> >
> > make[2]: Entering directory
> > `/usr/src/redhat/BUILD/mythtv-0.13/programs/mythfrontend'
> > rm -f "/var/tmp/mythtv-root../../../../../../bin/mythfrontend"
> > cp -f "mythfrontend"
> > "/var/tmp/mythtv-root../../../../../../bin/mythfrontend"
> > strip "/var/tmp/mythtv-root../../../../../../bin/mythfrontend"
> > make[2]: Leaving directory
> > `/usr/src/redhat/BUILD/mythtv-0.13/programs/mythfrontend'
> >
> > [...]
> > Any ideas why this strange path is being constructed?



More information about the mythtv-dev mailing list