Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
problem emerging libreoffice
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
CJJF
n00b
n00b


Joined: 13 Feb 2012
Posts: 8

PostPosted: Wed Mar 07, 2012 3:21 pm    Post subject: problem emerging libreoffice Reply with quote

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
View user's profile Send private message
sebB
Tux's lil' helper
Tux's lil' helper


Joined: 02 Mar 2011
Posts: 116

PostPosted: Wed Mar 07, 2012 4:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
CJJF
n00b
n00b


Joined: 13 Feb 2012
Posts: 8

PostPosted: Wed Mar 07, 2012 8:36 pm    Post subject: Reply with quote

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
View user's profile Send private message
fly_a320
n00b
n00b


Joined: 09 Mar 2012
Posts: 1

PostPosted: Fri Mar 09, 2012 10:06 am    Post subject: Reply with quote

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
View user's profile Send private message
rhenrik
n00b
n00b


Joined: 09 Apr 2012
Posts: 4

PostPosted: Wed Apr 18, 2012 6:14 am    Post subject: Reply with quote

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? :oops:
Thank you!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum