Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Jul 2012 16:36:19 +0100
From:      Chris Rees <crees@FreeBSD.org>
To:        Dwayne MacKinnon <dmk@ncf.ca>, Alex Dupre <ale@freebsd.org>
Cc:        freebsd-office@freebsd.org
Subject:   Re: Problems with libreoffice-3.5.4 build
Message-ID:  <CADLo83-2Kfy%2BaVGQ1YSmGgsHKSnhHQta4eSH_c1Ao5j87hMB6Q@mail.gmail.com>
In-Reply-To: <3881744.BLTIATZN0O@hudson.private.lan>
References:  <3881744.BLTIATZN0O@hudson.private.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
On 5 July 2012 16:38, Dwayne MacKinnon <dmk@ncf.ca> wrote:
> 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.

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

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo83-2Kfy%2BaVGQ1YSmGgsHKSnhHQta4eSH_c1Ao5j87hMB6Q>