<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Mar 4, 2018 at 10:45 PM, Stephan Bergmann <span dir="ltr"><<a href="mailto:sbergman@redhat.com" target="_blank">sbergman@redhat.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
What do you mean with building for Android? Do you cross-compile for Android on Ubuntu?<br></blockquote><div><br></div><div>Building LibreOffice for Android involves cross-compiling. The app uses Android's Native Development Kit (NDK) for implementing parts of the app in C/C++ code (as Android uses Java otherwise). The instructions on the wiki page require the project to be built on the system before installing on a phone.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">In configmgr/Library_configmgr.mk<wbr>, configmgr/source/dconf.cxx is only built if ENABLE_DCONF is set. And in <a href="http://configure.ac" rel="noreferrer" target="_blank">configure.ac</a>, ENABLE_DCONF is only set if pkg-config finds a suitable dconf:<br>
<br>
What are the values of DCONF_CFLAGS and DCONF_LIBS in your <a href="http://config_host.mk" rel="noreferrer" target="_blank">config_host.mk</a> (generated by autogen.sh in the root of your LO build tree)?<br></blockquote><div><br></div><div>They are as follows:</div><div>DCONF_CFLAGS=-pthread -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include</div><div><br></div><div>DCONF_LIBS=-ldconf -lgio-2.0 -lgobject-2.0 -lglib-2.0 </div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">(If all else fails, you should be able to just work around this issue by configuring --disable-dconf.)<br>
</blockquote></div><br></div><div class="gmail_extra">It built successfully after making this change. But since dconf was disabled, won't it lead to errors later during execution of the app?</div></div>