i'm trying build libreoffice android on ubuntu15.04(64 bit),i followed https://wiki.documentfoundation.org/development/android#how_to_build_it, when run 'make', got error
checking usable iconv... no checking ft_get_next_char... yes checking ft_get_bdf_property... yes checking ft_get_ps_font_info... yes checking ft_has_ps_glyph_names... yes checking ft_get_x11_font_format... yes checking ft_select_size... yes checking ft_bitmap_size.y_ppem... yes checking expat.h usability... yes checking expat.h presence... yes checking expat.h... yes checking xml_setdoctypedeclhandler... no configure: warning: cannot find usable expat library. trying use libxml2 fallback. checking pkg-config @ least version 0.9.0... yes checking libxml2... yes checking docbook2html... no docman3 fcatomiccreate.3 fcatomiclock.3 fcatomicnewfile.3 fcatomicorigfile.3 fcatomicreplaceorig.3 fcatomicdeletenew.3 fcatomicunlock.3 fcatomicdestroy.3 fcblankscreate.3 fcblanksdestroy.3 fcblanksadd.3 fcblanksismember.3 fccachedir.3 fccachecopyset.3 fccachesubdir.3 fccachenumsubdir.3 fccachenumfont.3 fccharsetcreate.3 fccharsetdestroy.3 fccharsetaddchar.3 fccharsetcopy.3 fccharsetequal.3 fccharsetintersect.3 fccharsetunion.3 fccharsetsubtract.3 fccharsetmerge.3 fccharsethaschar.3 fccharsetcount.3 fccharsetintersectcount.3 fccharsetsubtractcount.3 fccharsetissubset.3 fccharsetfirstpage.3 fccharsetnextpage.3 fccharsetcoverage.3 fccharsetnew.3 fcconfigcreate.3 fcconfigreference.3 fcconfigdestroy.3 fcconfigsetcurrent.3 fcconfiggetcurrent.3 fcconfiguptodate.3 fcconfighome.3 fcconfigenablehome.3 fcconfigbuildfonts.3 fcconfiggetconfigdirs.3 fcconfiggetfontdirs.3 fcconfiggetconfigfiles.3 fcconfiggetcache.3 fcconfiggetcachedirs.3 fcconfiggetfonts.3 fcconfiggetblanks.3 fcconfiggetrescaninterval.3 fcconfigsetrescaninterval.3 fcconfigappfontaddfile.3 fcconfigappfontadddir.3 fcconfigappfontclear.3 fcconfigsubstitutewithpat.3 fcconfigsubstitute.3 fcfontmatch.3 fcfontsort.3 fcfontrenderprepare.3 fcfontlist.3 fcconfigfilename.3 fcconfigparseandload.3 fcnameregisterconstants.3 fcnameunregisterconstants.3 fcnamegetconstant.3 fcnameconstant.3 fcdircacheunlink.3 fcdircachevalid.3 fcdircacheload.3 fcdircacheread.3 fcdircacheloadfile.3 fcdircacheunload.3 fcfilescan.3 fcfileisdir.3 fcdirscan.3 fcdirsave.3 fcfontsetcreate.3 fcfontsetdestroy.3 fcfontsetadd.3 fcfontsetlist.3 fcfontsetmatch.3 fcfontsetprint.3 fcfontsetsort.3 fcfontsetsortdestroy.3 fcpatternformat.3 fcfreetypecharindex.3 fcfreetypecharset.3 fcfreetypecharsetandspacing.3 fcfreetypequery.3 fcfreetypequeryface.3 fcinitloadconfig.3 fcinitloadconfigandfonts.3 fcinit.3 fcfini.3 fcgetversion.3 fcinitreinitialize.3 fcinitbringuptodate.3 fclangsetcreate.3 fclangsetdestroy.3 fclangsetcopy.3 fclangsetadd.3 fclangsetcompare.3 fclangsetcontains.3 fclangsetequal.3 fclangsethash.3 fclangsethaslang.3 fclangsetgetlangs.3 fcgetlangs.3 fclanggetcharset.3 fcmatrixinit.3 fcmatrixcopy.3 fcmatrixequal.3 fcmatrixmultiply.3 fcmatrixrotate.3 fcmatrixscale.3 fcmatrixshear.3 fcobjectsetcreate.3 fcobjectsetadd.3 fcobjectsetdestroy.3 fcobjectsetbuild.3 fcnameregisterobjecttypes.3 fcnameunregisterobjecttypes.3 fcnamegetobjecttype.3 fcpatterncreate.3 fcpatternduplicate.3 fcpatternreference.3 fcpatterndestroy.3 fcpatternequal.3 fcpatternequalsubset.3 fcpatternfilter.3 fcpatternhash.3 fcpatternadd.3 fcpatternaddweak.3 fcpatternadd-type.3 fcpatternget.3 fcpatternget-type.3 fcpatternbuild.3 fcpatterndel.3 fcpatternremove.3 fcpatternprint.3 fcdefaultsubstitute.3 fcnameparse.3 fcnameunparse.3 fcutf8toucs4.3 fcucs4toutf8.3 fcutf8len.3 fcutf16toucs4.3 fcutf16len.3 fcislower.3 fcisupper.3 fctolower.3 fcstrcopy.3 fcstrdowncase.3 fcstrcopyfilename.3 fcstrcmp.3 fcstrcmpignorecase.3 fcstrstr.3 fcstrstrignorecase.3 fcstrplus.3 fcstrfree.3 fcstrdirname.3 fcstrbasename.3 fcstrsetcreate.3 fcstrsetmember.3 fcstrsetequal.3 fcstrsetadd.3 fcstrsetaddfilename.3 fcstrsetdel.3 fcstrsetdestroy.3 fcstrlistcreate.3 fcstrlistnext.3 fcstrlistdone.3 fcvaluedestroy.3 fcvaluesave.3 fcvalueprint.3 fcvalueequal.3 configure: creating ./config.status config.status: creating makefile config.status: creating fontconfig/makefile config.status: creating fc-lang/makefile config.status: creating fc-glyphname/makefile config.status: creating fc-case/makefile config.status: creating fc-arch/makefile config.status: creating src/makefile config.status: creating conf.d/makefile config.status: creating fc-cache/makefile config.status: creating fc-cat/makefile config.status: creating fc-list/makefile config.status: creating fc-match/makefile config.status: creating fc-query/makefile config.status: creating fc-scan/makefile config.status: creating doc/makefile config.status: creating doc/version.sgml config.status: creating test/makefile config.status: creating fontconfig.spec config.status: creating fontconfig.pc config.status: creating fontconfig-zip config.status: creating config.h config.status: config.h unchanged config.status: executing depfiles commands config.status: executing libtool commands making in fontconfig making in fc-case making in fc-lang making in fc-glyphname making in fc-arch making in src cc fcxml.lo libtool: compile: /home/sc/core/external/android-ndk/toolchains/arm-linux-androideabi-4.9/prebuilt/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 /usr/include/libxml2/libxml/parser.h:810:0, 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 target 'fcxml.lo' failed make[5]: *** [fcxml.lo] error 1 makefile:354: recipe target 'all' failed make[4]: *** [all] error 2 makefile:447: recipe target 'all-recursive' failed make[3]: *** [all-recursive] error 1 makefile:330: recipe target 'all' failed make[2]: *** [all] error 2 i have 2 question:
1.what steps should don't?
2.i want see office documents,there need establish whole environment?
Comments
Post a Comment