Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 05 Jul 2012 11:38:46 -0400
From:      Dwayne MacKinnon <dmk@ncf.ca>
To:        freebsd-office@freebsd.org
Subject:   Problems with libreoffice-3.5.4 build
Message-ID:  <3881744.BLTIATZN0O@hudson.private.lan>

next in thread | raw e-mail | index | archive | help
Hi,

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

[root@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@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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3881744.BLTIATZN0O>