Mailinglist Archive: opensuse (6210 mails)
| < Previous | Next > |
Re: [opensuse] rpmbuild screws up install path with mythtv
- From: Herbert Graeber <lists@xxxxxxxxxxxxxxx>
- Date: Wed, 19 Oct 2005 00:00:33 +0200
- Message-id: <200510190000.33534.lists@xxxxxxxxxxxxxxx>
Am Dienstag 18 Oktober 2005 23:48 schrieb Guðlaugur Jóhannesson:
> Anders Johansson wrote:
>[...]
> It actually supports INSTALL_ROOT which is similar, but that does not
> change the fact that rpmbuild changes the behavior of the prefix usage
> in mythtv. It also changes /usr/include to ../../../../../../include in
> the Includes which is also not very nice. I have to look into how qmake
> works and figure this out. Thanks for your help.
I had similar problems when building a RPM for kcheckers. My solution was to
install this way:
make INSTALL_ROOT=$RPM_BUILD_ROOT/'$(PWD)'/ install
Look wired, but works.
Cheers,
Herbert
> Anders Johansson wrote:
>[...]
> It actually supports INSTALL_ROOT which is similar, but that does not
> change the fact that rpmbuild changes the behavior of the prefix usage
> in mythtv. It also changes /usr/include to ../../../../../../include in
> the Includes which is also not very nice. I have to look into how qmake
> works and figure this out. Thanks for your help.
I had similar problems when building a RPM for kcheckers. My solution was to
install this way:
make INSTALL_ROOT=$RPM_BUILD_ROOT/'$(PWD)'/ install
Look wired, but works.
Cheers,
Herbert
| < Previous | Next > |