Building LO fails with autogen

Miklos Vajna vmiklos at collabora.co.uk
Sat Dec 27 10:17:48 PST 2014


On Fri, Dec 26, 2014 at 04:57:08PM +0100, Jens Tröger <jens.troeger at light-speed.de> wrote:
> I'm running on a server which has no X libraries installed.  I noticed
> that running LO locally on my Mac for a document conversion takes about
> 5 seconds, on the server it took almost 3 minutes.  My suspicion was
> that the X output got in the way, causing slowdown.  That's why I wanted
> to build a LO without any of the X overhead...  but that seems to be
> difficult already.  (No, LO is not a debug build :-))

The conversion time has a constant part (LO starting up) and a variable
part that depends on the import/export filters. For simple input, a
conversion takes about 2 seconds for me, so 3 minutes definitely sounds
like a bug, unless your input is some benchmark document. ;-)

If you do some mass-conversion and the 2 seconds constant overhead isn't
acceptable, then have a look at using LO via LOK or UNO that allows
multiple conversions with a single startup.

All in all, --without-x (formerly known as --enable-headless) probably
will just bring you more troubles, as almost nobody uses that option, so
you will start using some code path that gets very little testing.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20141227/da45f9da/attachment.sig>


More information about the LibreOffice mailing list