| View previous topic :: View next topic |
| Author |
Message |
CJJF n00b

Joined: 13 Feb 2012 Posts: 8
|
Posted: Wed Mar 07, 2012 3:21 pm Post subject: problem emerging libreoffice |
|
|
when i try to emerge libreoffice i getr the folling error:
| Code: | cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3\
>
sh-4.1# source ./Env.Host.sh
sh-4.1# cd fpicker
sh-4.1# rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/unxlngx6.pro # optional module 'clean'
sh-4.1# build
=============
(1/1) Building module fpicker
=============
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/aqua
Nothing to build. GUIBASE == unx
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/inc
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/unx/kde
Nothing to build. GUIBASE == unx, ENABLE_KDE is not set
Entering /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/unx/kde4
Compiling: fpicker/unxlngx6.pro/misc/fps_kde4.uno_version.c
Compiling: fpicker/source/unx/kde4/KDE4FilePicker.cxx
In file included from /usr/include/kcompletion.h:24,
from /usr/include/kcombobox.h:27,
from /usr/include/kfilefiltercombo.h:27,
from /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/unx/kde4/KDE4FilePicker.cxx:67:
/usr/include/kglobalsettings.h:595: error: expected identifier before '(' token
/usr/include/kglobalsettings.h:595: error: expected '}' before '(' token
/usr/include/kglobalsettings.h:595: error: expected ')' before numeric constant
/usr/include/kglobalsettings.h:597: error: expected unqualified-id before 'protected'
/usr/include/kglobalsettings.h:679: error: expected unqualified-id before 'private'
/usr/include/kglobalsettings.h:682: error: expected unqualified-id before ')' token
/usr/include/kglobalsettings.h:685: error: uninitialized const 'd'
/usr/include/kglobalsettings.h:688: error: expected declaration before '}' token
dmake: Error code 1, while making '../../../unxlngx6.pro/slo/KDE4FilePicker.obj'
-----------------------------------------------------------------------
Oh dear - something failed during the build - sorry !
For more help with debugging build errors, please see the section in:
http://wiki.documentfoundation.org/Development
internal build errors:
ERROR: error 65280 occurred while making /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/source/unx/kde4
it seems that the error is inside 'fpicker', please re-run build
inside this module to isolate the error and/or test your fix:
-----------------------------------------------------------------------
/bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
source ./Env.Host.sh
cd fpicker
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/unxlngx6.pro # optional module 'clean'
build
when the problem is isolated and fixed exit and re-run 'make' from the top-level
|
i have no clue on how to fix this.
Use flags set are:
app-office/libreoffice branding dbus graphite kde (multilib) -nsplugin opengl postgres svg vba webdav xmlsec (-aqua) -binfilter -cups -debug -eds -gnome -gstreamer -gtk -gtk3 -java -jemalloc -mysql -odk -pdfimport -test |
|
| Back to top |
|
 |
sebB Tux's lil' helper

Joined: 02 Mar 2011 Posts: 116
|
Posted: Wed Mar 07, 2012 4:46 pm Post subject: |
|
|
Have a look
https://bugs.gentoo.org/show_bug.cgi?id=403755
https://bugs.gentoo.org/show_bug.cgi?id=401507
Have you try the commands from the error message?
| Code: | /bin/sh
cd /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3
source ./Env.Host.sh
cd fpicker
rm -Rf /var/tmp/portage/app-office/libreoffice-3.5.0.3/work/libreoffice-core-3.5.0.3/fpicker/unxlngx6.pro # optional module 'clean'
build
|
|
|
| Back to top |
|
 |
CJJF n00b

Joined: 13 Feb 2012 Posts: 8
|
Posted: Wed Mar 07, 2012 8:36 pm Post subject: |
|
|
Yep tried the commands given. The output quoted is from these commands an is the same as the emerge error.
Maybe i can add that i use the latest stable kernel with the latest KDE (4.8.1). |
|
| Back to top |
|
 |
fly_a320 n00b

Joined: 09 Mar 2012 Posts: 1
|
Posted: Fri Mar 09, 2012 10:06 am Post subject: |
|
|
There is a double define in fpicker/source/unx/kde4/KDE4FilePicker.cxx ( SETTINGS_LOCALE is beeing defined in kde-4.8* , which was not in KDE-4.7* this collides with one inFilePicker.cxx )
in the toplevel build dir do this:
sed -i 's/#undef SETTINGS_MOUSE/&\n#undef SETTINGS_LOCALE/' fpicker/source/unx/kde4/KDE4FilePicker.cxx
this should fix the build issue. |
|
| Back to top |
|
 |
rhenrik n00b

Joined: 09 Apr 2012 Posts: 4
|
Posted: Wed Apr 18, 2012 6:14 am Post subject: |
|
|
| fly_a320 wrote: | There is a double define in fpicker/source/unx/kde4/KDE4FilePicker.cxx ( SETTINGS_LOCALE is beeing defined in kde-4.8* , which was not in KDE-4.7* this collides with one inFilePicker.cxx )
in the toplevel build dir do this:
sed -i 's/#undef SETTINGS_MOUSE/&\n#undef SETTINGS_LOCALE/' fpicker/source/unx/kde4/KDE4FilePicker.cxx
this should fix the build issue. |
HI!
Same problem here.
Would you tell me what does "toplevel" build dir mean?
Thank you! |
|
| Back to top |
|
 |
|