Problems with libreoffice-3.5.4 build

Dwayne MacKinnon dmk at ncf.ca
Thu Jul 5 15:38:58 UTC 2012


Hi,

I'm on FreeBSD 9.0-RELEASE amd64. I have the following libreoffice 
config:

[root at hudson /usr/ports/editors/libreoffice]# make showconfig
===> The following configuration options are available for 
libreoffice-3.5.4:
     DEBUG=off: Install debug symbols
     GNOME=off: GNOME Desktop support
     GTK2=on: GTK2 gui toolkit support
     GTK3=off: GTK3 gui toolkit support
     JAVA=off: Add java support (XML Filters, macros)
     KDE4=on: KDE4 Desktop support
     MMEDIA=off: Enable multimedia backend for impress
     PGSQL=off: Build with PostgreSQL-SDBC driver
     SDK=off: Build with SDK
     SVG=on: SVG image support
     SYSTRAY=off: Enable systemtray quickstarter
     WEBDAV=off: Enable webdav protocol
===> Use 'make config' to modify these settings


When building libreoffice-3.5.4 I ran into a "problem in module" error. I 
followed the directions, doing the optional gmake clean. The gmake -r 
still failed with the following errors:

/usr/ports/editors/libreoffice/work/libreoffice-
core-3.5.4.2/sd/source/filter/eppt/pptx-epptbase.cxx:458:35: error: 
invalid suffix on literal; C++11 requires a space between literal and 
identifier [-Wreserved-user-defined-literal]
    DBG(printf("GetLayoutOffset %"SAL_PRIdINT32"\n", nLayout));
                                  ^
                                   
/usr/ports/editors/libreoffice/work/libreoffice-
core-3.5.4.2/sd/source/filter/eppt/pptx-epptbase.cxx:489:25: error: 
invalid suffix on literal; C++11 requires a space between literal and 
identifier [-Wreserved-user-defined-literal]
    DBG(printf("asked %"SAL_PRIdINT32" for layout outside of 0,%d array 
scope\n", nOffset, EPP_LAYOUT_SIZE ));
                        ^
                         
51 warnings and 3 errors generated.
gmake: *** [/usr/ports/editors/libreoffice/work/libreoffice-
core-3.5.4.2/workdir/unxfbsd.pro/CxxObject/sd/source/filter/eppt/pptx-
epptbase.o] Error 1
[root at hudson /usr/ports/editors/libreoffice/work/libreoffice-
core-3.5.4.2/tail_build]# 


Another person seems to be having a similar problem: 
http://forums.freebsd.org/showthread.php?p=182855

Please note that I did *not* remove boost-libs before attempting this 
build.

Cheers,
DMK



More information about the freebsd-office mailing list