Saat saya mengkompilasi libreoffice di linux from scratch untuk pemasangan dengan mengikuti panduan disini
,ternyata error yang berbunyi "std::std' has not been declared" pada file "~/extract/libreoffice-5.1.
,ternyata error yang berbunyi "std::std' has not been declared" pada file "~/extract/libreoffice-5.1.
/home/lfs/extract/ libreoffice-5.1. 0.3/xmloff/ source/draw/ ximp3dscene.cxx: In constructor 'SdXML3DLightCo ntext::SdXML3DL ightContext(SvX MLImport&, sal_uInt16, const rtl::OUString&, const com::sun::star: :uno::Reference <com::sun::star ::xml::sax::XAt tributeList>&)' :
/home/lfs/extract/ libreoffice-5.1. 0.3/xmloff/ source/draw/ ximp3dscene.cxx: 69:27: error: 'std::std' has not been declared
if (!std::std::isnan(aVal.getX()) && !std::std::isna n(aVal.getY()) && !std::std::isna n(aVal.getZ()))
^
/home/lfs/extract/ libreoffice-5.1. 0.3/xmloff/ source/draw/ ximp3dscene.cxx: 69:60: error: 'std::std' has not been declared
if (!std::std::isnan(aVal.getX()) && !std::std::isna n(aVal.getY()) && !std::std::isna n(aVal.getZ()))
^
/home/lfs/extract/ libreoffice-5.1. 0.3/xmloff/ source/draw/ ximp3dscene.cxx: 69:93: error: 'std::std' has not been declared
if (!std::std::isnan(aVal.getX()) && !std::std::isna n(aVal.getY()) && !std::std::isna n(aVal.getZ()))
^
/home/lfs/extract/ libreoffice-5.1. 0.3/solenv/ gbuild/ LinkTarget.mk:18 9: recipe for target '/home/lfs/ extract/ libreoffice-5.1. 0.3/workdir/ CxxObject/ xmloff/source/ draw/ ximp3dscene.o' failed
make[1]: *** [/home/lfs/extract/ libreoffice-5.1. 0.3/workdir/ CxxObject/ xmloff/source/ draw/ ximp3dscene.o] Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:244: recipe for target 'build' failed
make: *** [build] Error 2
lfs [ ~/extract/libreoffice-5.1. 0.3 ]$
* Saya mengunakan ~/extract untuk tempat memasang libreoffice
Nah,dah tau kan penyebabnya,sekarang solusinya :
Solusinya simpel sekali,tinggal ubah ./auto-gen.sh saat konfigurasi libreoffice ke ./configure (konfigurasi anda)
No comments:
Post a Comment