Some problems while I build libreoffice android on Ubuntu(15.04)

Suchen Yang suchen at trustview.com.tw
Wed Jul 22 00:03:33 PDT 2015


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 :)

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20150722/8cc64e20/attachment.html>


More information about the LibreOffice mailing list