Re: [opensuse] rpmbuild screws up install path with mythtv]
Originally posted on opensuse but I thought packagers might better be able to help me. Sorry for multi posting. Anders Johansson wrote:
The Makefile for mythtv is highly screwy. For one thing, it doesn't respect DESTDIR or anything like that, you'll need to change it to make it work with rpmbuild
I agree with that and I am changing it now. The problem, however, is that calling qmake (qt3 version) from rpmbuild results in weird behavior with both the prefix and some include paths. It seems that qmake changes some instances of the /usr directory to ../../../../../../ when called from rpmbuild. It does not do that with the qt4 version or when manually calling the qt3 version. Could this be a bug with qmake from qt3? -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Tel: 849 8405 --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-unsubscribe@opensuse.org For additional commands, e-mail: opensuse-help@opensuse.org -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Tel: 849 8405
On Wednesday 19 October 2005 14:25, Guðlaugur Jóhannesson wrote:
Originally posted on opensuse but I thought packagers might better be able to help me. Sorry for multi posting.
Anders Johansson wrote:
The Makefile for mythtv is highly screwy. For one thing, it doesn't respect DESTDIR or anything like that, you'll need to change it to make it work with rpmbuild
I agree with that and I am changing it now. The problem, however, is that calling qmake (qt3 version) from rpmbuild results in weird behavior with both the prefix and some include paths. It seems that qmake changes some instances of the /usr directory to ../../../../../../ when called from rpmbuild. It does not do that with the qt4 version or when manually calling the qt3 version. Could this be a bug with qmake from qt3?
you use INSTALL_ROOT enviroment ? -- Adrian Schroeter SUSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany email: adrian@suse.de
Adrian Schroeter wrote:
On Wednesday 19 October 2005 14:25, Guðlaugur Jóhannesson wrote:
I agree with that and I am changing it now. The problem, however, is that calling qmake (qt3 version) from rpmbuild results in weird behavior with both the prefix and some include paths. It seems that qmake changes some instances of the /usr directory to ../../../../../../ when called from rpmbuild. It does not do that with the qt4 version or when manually calling the qt3 version. Could this be a bug with qmake from qt3? you use INSTALL_ROOT enviroment ?
Yes, but that is not set during build time and it even happens with some include paths. What I did was to set the prefix to $(empty)/usr where empty is an empty shell variable, and then all worked fine. I have got a working rpm for mythtv x86_64 but there is still some problems with the plug ins and getting them to compile correctly. There have to be many patches on the makefiles to allow for an installation into lib64 directory as is needed. -- Guðlaugur Jóhannesson http://www.hi.is/~gudlaugu Phone: +354 849 8405
participants (2)
-
Adrian Schroeter
-
Guðlaugur Jóhannesson