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


Hi, I'm newbie programming, I want to learn how to build libreoffice android
on Ubuntu (15.04) environments.

I followed 

https://wiki.documentfoundation.org/Development/Android#How_to_build_it

but error occurs when executing the 'make' steps.

 

I would like to ask what steps are what I should do and not on Wiki?

I just want to study part of Android, also we need to establish whether the
overall environment? There are other ways?

 

autogen.input:

--enable-werror

--with-distro=LibreOfficeAndroid

 

 

I got error:

Making all in fontconfig

Making all in fc-case

Making all in fc-lang

Making all in fc-glyphname

Making all in fc-arch

Making all in src

  CC     fcxml.lo

libtool: compile:
/home/sc/core/external/android-ndk/toolchains/arm-linux-androideabi-4.9/preb
uilt/linux-x86_64/bin/arm-linux-androideabi-gcc -mthumb -march=armv7-a
-mfloat-abi=softfp -mfpu=neon -Wl,--fix-cortex-a8 -ffunction-sections
-fdata-sections
-L/home/sc/core/external/android-ndk/sources/cxx-stl/gnu-libstdc++/4.9/libs/
armeabi-v7a
--sysroot=/home/sc/core/external/android-ndk/platforms/android-15/arch-arm
-Wno-psabi -fuse-ld=gold -DHAVE_CONFIG_H -I. -I.. -I.. -I../src
-I/home/sc/core/workdir/UnpackedTarball/freetype/instdir/include/freetype2
-I/home/sc/core/workdir/UnpackedTarball/freetype/instdir/include
-I/usr/include/libxml2 -Wall -Wpointer-arith -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-fno-strict-aliasing -DFC_CACHEDIR=\"/usr/local/var/cache/fontconfig\"
-DFONTCONFIG_PATH=\"/usr/local/etc/fonts\" -DHAVE_GCC_VISIBILITY_FEATURE
-fvisibility=hidden -MT fcxml.lo -MD -MP -MF .deps/fcxml.Tpo -c fcxml.c -o
fcxml.o

In file included from /usr/include/libxml2/libxml/parser.h:810:0,

                 from fcxml.c:32:

/usr/include/libxml2/libxml/encoding.h:28:19: fatal error: iconv.h: No such
file or directory

#include <iconv.h>

                   ^

compilation terminated.

Makefile:468: recipe for target 'fcxml.lo' failed

make[5]: *** [fcxml.lo] Error 1

Makefile:354: recipe for target 'all' failed

make[4]: *** [all] Error 2

Makefile:447: recipe for target 'all-recursive' failed

make[3]: *** [all-recursive] Error 1

Makefile:330: recipe for target 'all' failed

make[2]: *** [all] Error 2

 

Thanks for reading and look forward to your reply :)

 


Context


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.