git clone compile errors on isnan
Larry Evans
cppljevans at suddenlink.net
Thu Aug 4 20:24:15 UTC 2016
Following directions here:
https://www.libreoffice.org/about-us/source-code/
cloned libreoffice source:
Welcome to the Emacs shell
~/dwnlds/LibreOffice $ git clone git://anongit.freedesktop.org
/libreoffice/core libreoffice
then, following instructions later on here:
https://www.libreoffice.org/about-us/source-code/
did some apt-get's:
sudo apt-get build-dep libreoffice
sudo apt-get install libgnome-vfsmm-2.6-dev
the latter failed because:
E: Unable to locate package libgnome-vfsmm-2.6-dev
E: Couldn't find any package by glob 'libgnome-vfsmm-2.6-dev'
E: Couldn't find any package by regex 'libgnome-vfsmm-2.6-dev'
Then, did the ./autogen.sh followed by make; however, the make
resulted in several errors. Did I clone the wrong git?
Here's the compile errors:
$ make
mkdir -p /home/evansl/dwnlds/LibreOffice/libreoffice/instdir
/home/evansl/dwnlds/LibreOffice/libreoffice/solenv/bin/install-gdb-printers
-a /home/evansl/dwnlds/LibreOffice/libreoffice/instdir -c
/usr/bin/make -j 4 -rs -f
/home/evansl/dwnlds/LibreOffice/libreoffice/Makefile.gbuild all
[build DEP] LNK:Library/libneon.so
[build PKG] icu
[build PKG] nss
[build PAT] liborcus
[build PRJ] libgltf
[build MOD] codemaker
[build JAR] sdbc_hsqldb
[build EPK] apache_commons_logging
[build EPK] beanshell
[build CXX]
workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp
[build EPK] coinmp
[build BIN] glew
[build BIN] hsqldb
[build EPK] icu
[build BIN] lcms2
[build MOD] libexttextcat
[build BIN] libgltf
[build BIN] liblangtag
[build EPK] lpsolve
[build MOD] more_fonts
[build PAT] mythes
[build C ] UnpackedTarball/neon/src/ne_acl3744.c
[build C ] UnpackedTarball/neon/src/ne_alloc.c
[build C ] UnpackedTarball/neon/src/ne_auth.c
[build C ] UnpackedTarball/neon/src/ne_basic.c
In file included from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/inf_nan.hpp:35:0,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical.hpp:54,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/try_lexical_convert.hpp:42,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast.hpp:32,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/lexical_cast.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:20,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_formatting_locales.hpp:18,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_facet.hpp:13,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:15:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:
In function ‘bool boost::math_detail::is_nan_helper(__float128, const
true_type&)’:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:137:75:
error: ‘::isnan’ has not been declared
inline bool is_nan_helper(__float128 f, const boost::true_type&) {
return ::isnan(static_cast<double>(f)); }
^
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:137:75:
note: suggested alternatives:
In file included from /usr/local/include/c++/4.9.0/random:38:0,
from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
from /usr/local/include/c++/4.9.0/algorithm:62,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:38,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/shared_ptr.hpp:17,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/shared_ptr.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_month.hpp:14,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:14:
/usr/local/include/c++/4.9.0/cmath:632:5: note: ‘std::isnan’
isnan(_Tp __x)
^
In file included from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/sign.hpp:17:0,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/inf_nan.hpp:34,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical.hpp:54,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/try_lexical_convert.hpp:42,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast.hpp:32,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/lexical_cast.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:20,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_formatting_locales.hpp:18,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_facet.hpp:13,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:15:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/math_fwd.hpp:835:9:
note: ‘boost::math::isnan’
bool isnan BOOST_NO_MACRO_EXPAND(T t);
^
In file included from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/inf_nan.hpp:35:0,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical.hpp:54,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/try_lexical_convert.hpp:42,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast.hpp:32,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/lexical_cast.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:20,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_formatting_locales.hpp:18,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_facet.hpp:13,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:15:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:
In function ‘bool boost::math_detail::is_nan_helper(__float128, const
false_type&)’:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:138:76:
error: ‘::isnan’ has not been declared
inline bool is_nan_helper(__float128 f, const boost::false_type&) {
return ::isnan(static_cast<double>(f)); }
^
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/fpclassify.hpp:138:76:
note: suggested alternatives:
In file included from /usr/local/include/c++/4.9.0/random:38:0,
from /usr/local/include/c++/4.9.0/bits/stl_algo.h:66,
from /usr/local/include/c++/4.9.0/algorithm:62,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/smart_ptr/shared_ptr.hpp:38,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/shared_ptr.hpp:17,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/shared_ptr.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_month.hpp:14,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:14:
/usr/local/include/c++/4.9.0/cmath:632:5: note: ‘std::isnan’
isnan(_Tp __x)
^
In file included from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/sign.hpp:17:0,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/inf_nan.hpp:34,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical_streams.hpp:63,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/detail/converter_lexical.hpp:54,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast/try_lexical_convert.hpp:42,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/lexical_cast.hpp:32,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/external/boost/include/boost/lexical_cast.hpp:22,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:20,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_formatting_locales.hpp:18,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_facet.hpp:13,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:15:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/math/special_functions/math_fwd.hpp:835:9:
note: ‘boost::math::isnan’
bool isnan BOOST_NO_MACRO_EXPAND(T t);
^
In file included from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_formatting_locales.hpp:18:0,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/gregorian/greg_facet.hpp:13,
from
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:15:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:
In instantiation of ‘boost::date_time::all_date_names_put<Config, charT,
OutputIterator>::all_date_names_put(const charT* const*, const charT*
const*, const charT* const*, const charT* const*, const charT* const*,
charT, boost::date_time::ymd_order_spec,
boost::date_time::month_format_spec) [with Config =
boost::gregorian::greg_facet_config; charT = char; OutputIterator =
std::ostreambuf_iterator<char, std::char_traits<char> >]’:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:120:44:
required from here
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:214:7:
warning: declaration of ‘month_format’ shadows a member of 'this' [-Wshadow]
all_date_names_put(const charT* const month_short_names[],
^
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:
In instantiation of ‘boost::date_time::all_date_names_put<Config, charT,
OutputIterator>::all_date_names_put(const charT* const*, const charT*
const*, const charT* const*, const charT* const*, const charT* const*,
charT, boost::date_time::ymd_order_spec,
boost::date_time::month_format_spec) [with Config =
boost::gregorian::greg_facet_config; charT = wchar_t; OutputIterator =
std::ostreambuf_iterator<wchar_t, std::char_traits<wchar_t> >]’:
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.cpp:151:46:
required from here
/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/UnpackedTarball/boost/boost/date_time/date_names_put.hpp:214:7:
warning: declaration of ‘month_format’ shadows a member of 'this' [-Wshadow]
[build C ] UnpackedTarball/neon/src/ne_compress.c
/home/evansl/dwnlds/LibreOffice/libreoffice/solenv/gbuild/LinkTarget.mk:235:
recipe for target
'/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/GenCxxObject/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.o'
failed
make[1]: ***
[/home/evansl/dwnlds/LibreOffice/libreoffice/workdir/GenCxxObject/UnpackedTarball/boost/libs/date_time/src/gregorian/greg_month.o]
Error 1
make[1]: *** Waiting for unfinished jobs....
Makefile:261: recipe for target 'build' failed
make: *** [build] Error 2
More information about the LibreOffice
mailing list