Date: prev next · Thread: first prev next last
2015 Archives by date, by thread · List index

This may help.

How to make libreoffice headless to work on CentOS 6.3

On 6/22/2015 9:21 AM, Mårten Gustafsson wrote:
I am trying to build LibreOffice to be used in headless mode. I will try
installing 4.3. This might interest someone.

[root@maskin1 src]# uname -a
Linux maskin1.novalocal 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03
UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

This is what I have done:

[root@maskin1 ]# cd ~
[root@maskin1 ~]# yum install fontconfig
[root@maskin1 ~]# yum install fontconfig-devel
[root@maskin1 ~]# yum install perl-Archive-Zip
[root@maskin1 ~]# yum install perl-App-cpanminus.noarch
[root@maskin1 ~]# yum install perl-Template-Toolkit
[root@maskin1 ~]# cpanm -i Archive::Zip
[root@maskin1 ~]# yum install libxslt-devel.x86_64
[root@maskin1 ~]# yum install GConf2-devel.x86_64
[root@maskin1 ~]# yum install glew.x86_64
[root@maskin1 ~]# yum install libXt-devel.x86_64
[root@maskin1 ~]# yum install libXrender-devel.x86_64
[root@maskin1 ~]# yum install cups-devel.x86_64
[root@maskin1 ~]# yum install libXrandr-devel.x86_64
[root@maskin1 ~]# yum install dbus-glib-devel.x86_64
[root@maskin1 ~]# yum install gstreamer1.x86_64
gstreamer1-plugins-base.x86_64 gstreamer1-plugins-good.x86_64
[root@maskin1 ~]# yum install gstreamer1-devel.x86_64
[root@maskin1 ~]# yum install gperf.x86_64
[root@maskin1 ~]# yum install mesa-libGL-devel.x86_64
[root@maskin1 ~]# yum install glew-devel.x86_64
[root@maskin1 ~]# cd /usr/local/src/
[root@maskin1 src]# wget
[root@maskin1 src]# unxz libreoffice-
[root@maskin1 src]# tar xvf libreoffice-
[root@maskin1 src]# cd libreoffice-
[root@maskin1 libreoffice-]# ./ --without-java
--with-theme=no --without-doxygen --disable-gtk
[root@maskin1 libreoffice-]# make

[build CXX] vcl/unx/generic/gdi/salgdi3.cxx

In file included from
warning: "CAIRO_HAS_SVG_SURFACE" is not defined [-Wundef]
error: #error Cairo was not compiled with support for the svg backend
  # error Cairo was not compiled with support for the svg backend
[build CXX] vcl/unx/generic/gdi/salgdi.cxx
make[1]: *** 
Error 1
make[1]: *** Waiting for unfinished jobs....
make: *** [build] Error 2

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.