<div dir="ltr"><div class="gmail-js-editable-content"><p>I'm trying to build LO 6.1.6 (gcc
4.9 armv7hl) with no GUI. I need LO functionality of parsing different
files (including text, tables and presentations) and rendering it to
png. So, I've configured build </p> <pre class="gmail-prettyprint"><code><span class="gmail-pun">./</span><span class="gmail-pln">autogen</span><span class="gmail-pun">.</span><span class="gmail-pln">sh </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">help </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">myspell</span><span class="gmail-pun">-</span><span class="gmail-pln">dicts </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">gtk3 </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">gtk </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">gui </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">kde4 </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">dbus </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">doxygen </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">report</span><span class="gmail-pun">-</span><span class="gmail-pln">builder </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">coinmp </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">odk </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">cups </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">lotuswordpro </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">java </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">krb5 </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">scripting</span><span class="gmail-pun">-</span><span class="gmail-pln">beanshell </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">scripting</span><span class="gmail-pun">-</span><span class="gmail-pln">javascript </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">sdremote </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">postgresql</span><span class="gmail-pun">-</span><span class="gmail-pln">sdbc </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">fonts </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">parallelism</span><span class="gmail-pun">=</span><span class="gmail-lit">4</span><span class="gmail-pln"> </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">boost </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">nss </span><span class="gmail-pun">--</span><span class="gmail-pln">disable</span><span class="gmail-pun">-</span><span class="gmail-pln">firebird</span><span class="gmail-pun">-</span><span class="gmail-pln">sdbc </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">hunspell </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">libatomic_ops </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">librevenge </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">epoxy </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">libmwaw </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">icu </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">graphite </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">harfbuzz </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">libpng </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">cairo </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">galleries</span><span class="gmail-pun">=</span><span class="gmail-kwd">no</span><span class="gmail-pln"> </span><span class="gmail-pun">--</span><span class="gmail-pln">enable</span><span class="gmail-pun">-</span><span class="gmail-pln">cairo</span><span class="gmail-pun">-</span><span class="gmail-pln">canvas </span><span class="gmail-pun">--</span><span class="gmail-kwd">with</span><span class="gmail-pun">-</span><span class="gmail-pln">system</span><span class="gmail-pun">-</span><span class="gmail-pln">zlib </span><span class="gmail-pun">--</span><span class="gmail-pln">without</span><span class="gmail-pun">-</span><span class="gmail-pln">junit</span></code></pre> <p>then <code>make</code> it, but when I'm trying to run <code>./soffice.bin --convert-to pdf test.doc</code> or use <code>lok::lok_cpp_init</code> from LibreOfficeKit, an error occures: </p> <p><em>LibreOffice - dialog 'LibreOfficeDev 6.1 - Fatal Error': 'The application cannot be started.</em></p> <p>Little
debugging through code gave me a clue, that it's might be unability to
initialize UNO or just setting wrong PATH\LD_LIBRARY_PATH\etc.</p> <p>So, what am I doing wrong? (except using --disable-gui, I've seen, it's experimental)</p> </div></div>