Re: dconf error during make
On Sun, Mar 4, 2018 at 10:45 PM, Stephan Bergmann wrote: > > > What do you mean with building for Android? Do you cross-compile for > Android on Ubuntu? > 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. > In configmgr/Library_configmgr.mk, configmgr/source/dconf.cxx is only > built if ENABLE_DCONF is set. And in configure.ac, ENABLE_DCONF is only > set if pkg-config finds a suitable dconf: > > What are the values of DCONF_CFLAGS and DCONF_LIBS in your config_host.mk > (generated by autogen.sh in the root of your LO build tree)? > They are as follows: DCONF_CFLAGS=-pthread -I/usr/include/dconf -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include DCONF_LIBS=-ldconf -lgio-2.0 -lgobject-2.0 -lglib-2.0 (If all else fails, you should be able to just work around this issue by > configuring --disable-dconf.) > It built successfully after making this change. But since dconf was disabled, won't it lead to errors later during execution of the app? ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
dconf error during make
Hi! I'm Aditya Sood. I've been trying to build the project (for Android) on my system, so as to start with the easy hacks, but I've run into this problem during the command *make *: (I have followed the previous steps of installing dependencies specific to the project on my Ubuntu system at: https://wiki.documentfoundation.org/ Development/Linux_Build_Dependencies) **/libreoffice/configmgr/source/dconf.cxx:23:10: fatal error: 'dconf/dconf.h' file not found* *#include * * ^~~* *1 error generated.* */libreoffice/solenv/gbuild/LinkTarget.mk:291: recipe for target '*/libreoffice/workdir/CxxObject/configmgr/source/dconf.o' failed make[1]: *** [*/libreoffice/workdir/CxxObject/configmgr/source/dconf.o] Error 1 make[1]: *** Waiting for unfinished jobs Makefile:280: recipe for target 'build' failed make: *** [build] Error 2 This is followed by termination of the build. *What I have done so far*: *(1)* Checked the standard include paths. The dconf directory was present with sub-directories & header files. *(2)* Checked the line *libreoffice/configmgr/source/dconf.cxx:23:10*. It contained the following: * 20 extern "C" {* * 21 // <https://bugzilla.gnome.org/show_bug.cgi?id=754245 <https://bugzilla.gnome.org/show_bug.cgi?id=754245>>* * 22 // "common/dconf-changeset.h etc. lack extern "C" wrapper for C++"* * 23*#include * 24 * *}* I checked the link - The bug had been resolved in Jan '16 (Plus I set up my current distro only this year, so all the more reason that my systems code doesn't have the bug.) *(3) *Tried *sudo make* Got this error: *No. You make ME a sandwich. *(Reference to the Batman-Superman sandwich feud?) *Makefile:62: recipe for target 'check-if-root' failed* *make: *** [check-if-root] Error 1* *(4)* Tried compiling a file using the header file in question (with and without *sudo*). The code: *#include* *int main()* *{* *return 0;* *}* Failed to compile with the error: *In file included from test.cpp:1:0:* */usr/include/dconf/dconf.h:23:10: fatal error: common/dconf-enums.h: No such file or directory* * #include * * ^~* *compilation terminated.* Key thing to notice here is that *there is* a file */usr/include/dconf/common/dconf-enums.h* *(5) *Googled this error of file not being found despite being present. Followed this response: https://askubuntu.com/a/454452/784969, about how it could be a 32-bit binary trying to be run on a 64-bit system without support. *sudo dpkg --add-architecture i386* *sudo apt-get update* *sudo apt-get install libc6:i386 libncurses5:i386 libstdc++6:i386* *./autogen.sh* *make* Now *Error 1 *is followed by a ton of warnings and notes, before giving *Error 2*. So it is same as before, but with all those additional warnings and notes. Any help is much appreciated Thanks ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
GSoC 2018 Introduction
Hello! My name is Aditya Sood. I'm in the third year of pursuing my Dual Degree (B.Tech+M.Tech) in CSE. I have been using Libre on my laptop ever since I got it. I love using it, given that it is so efficient and effective at getting the work done. Being a regular and grateful user, I plan on giving back to the open source community to the best of my capacity. I would love to contribute to the Android app of LibreOffice. I am just over the 'beginner' threshold, but resolute in my intention to learn whatever is required to be able to make a meaningful contribution. ### Guidance Required: I have run into some issues while trying to prepare myself for the Easy Hacks exercise: 1) I have registered twice on the developer mailing list, but didn't receive the confirmation e-mail both the times. 2) In the last step of building the codebase for Android (on https://wiki.documentfoundation.org/Development/BuildingForAndroid), it instructs to "...Create a file called autogen.input with a single line in it...". Could you please clarify what is the single line to be put in it? The wiki doesn't specify that clearly. 3) The app doesn't run on my device: I downloaded it from the PlayStore. But directly opening the app shows an activity which doesn't lead to any of the sub-parts (like it does on the PC version). I have attached the screenshot of the activity with the error Toast message. Thanks a lot Best Regards Aditya ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
GSoC '18: Introduction & Request for guidance
Hello! My name is Aditya Sood. I'm in the third year of pursuing my Dual Degree (B.Tech+M.Tech) in CSE. I have been using Libre on my laptop ever since I got it. I love using it, given that it is so efficient and effective at getting the work done. Being a regular and grateful user, I plan on giving back to the open source community to the best of my capacity. I would love to contribute to the Android app of LibreOffice. I am just over the 'beginner' threshold, but resolute in my intention to learn whatever is required to be able to make a meaningful contribution. ### Guidance Required: I have run into some issues while trying to prepare myself for the Easy Hacks exercise: 1) I have registered twice on the developer mailing list, but didn't receive the confirmation e-mail both the times. 2) The app doesn't run on my device: I downloaded it from the PlayStore. But directly opening the app shows an activity which doesn't lead to any of the sub-parts (like it does on the PC version). I have attached the screenshot of the activity with the error Toast message. 3) In the last step of building the codebase for Android (on https://wiki. documentfoundation.org/Development/BuildingForAndroid), it instructs to "...Create a file called autogen.input with a single line in it...". Could you please clarify what is the single line to be put in it? The wiki doesn't specify that clearly. Thanks a lot Best Regards Aditya ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice