View previous topic :: View next topic |
Author |
Message |
yzg Guru
Joined: 18 Jun 2005 Posts: 499
|
Posted: Thu Sep 19, 2013 6:19 am Post subject: libreoffice-4.1.1.2 and 4.1.2.2 failed to emerge [SOLVED] |
|
|
The problem: There is a moc file generated by older version of Qt
Code: |
In file included from /store/portage/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/vcl/unx/kde4/KDEXLib.cxx:399:0:
/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/workdir/unxlngx6.pro/CustomTarget/vcl/unx/kde4/KDEXLib.moc:14:2: error: #error "This file was generated using the moc from 4.7.4. It"
/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/workdir/unxlngx6.pro/CustomTarget/vcl/unx/kde4/KDEXLib.moc:15:2: error: #error "cannot be used with the include files from this version of Qt."
/var/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/workdir/unxlngx6.pro/CustomTarget/vcl/unx/kde4/KDEXLib.moc:16:2: error: #error "(The moc has changed too much.)"
|
The solution: regenerate this moc file
Code: |
ebuild /usr/portage/app-office/libreoffice/libreoffice-4.1.1.2.ebuild unpack
cd /store/portage/tmp/portage/app-office/libreoffice-4.1.1.2/work/libreoffice-4.1.1.2/workdir/unxlngx6.pro/CustomTarget/vcl/unx/kde4/
moc ../../../../../../vcl/unx/kde4/KDEXLib.hxx > KDEXLib.moc
ebuild /usr/portage/app-office/libreoffice/libreoffice-4.1.1.2.ebuild compile
ebuild /usr/portage/app-office/libreoffice/libreoffice-4.1.1.2.ebuild install
ebuild /usr/portage/app-office/libreoffice/libreoffice-4.1.1.2.ebuild qmerge
ebuild /usr/portage/app-office/libreoffice/libreoffice-4.1.1.2.ebuild clean
emerge --noreplace libreoffice
|
Last edited by yzg on Tue Sep 24, 2013 3:45 am; edited 1 time in total |
|
Back to top |
|
|
yzg Guru
Joined: 18 Jun 2005 Posts: 499
|
Posted: Tue Sep 24, 2013 3:43 am Post subject: |
|
|
The same problem is still there in libreoffice-4.1.2.2 |
|
Back to top |
|
|
|