Problems with libreoffice-3.5.4 build

Chris Rees crees at FreeBSD.org
Sat Jul 7 15:36:51 UTC 2012


On 5 July 2012 16:38, Dwayne MacKinnon <dmk at ncf.ca> wrote:
> 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.

Alex Dupre has just fixed this-- thanks for reporting.

Chris


More information about the freebsd-office mailing list