Hi Mechtilde,

On Thu, Oct 24, 2019 at 8:46 AM Mechtilde <o...@mechtilde.de> wrote:
>
> Hello
>
> I try to build AOO with Java 11 under Debian 10.
>
> It stops at xml2cmp.
>
> I add a screenshot. (C&P dosn't work for me from KVM)

In file included from
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/tr1/vector:16,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/stl/vector:31,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.hxx:28,
                 from
/home/ariel/aoo/build/src/branch-aoo418/main/xml2cmp/source/finder/dependy.cxx:25:
/home/ariel/aoo/build/src/branch-aoo418/main/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp:103:44:
fatal error: ../9.2.1/utility: No such file or directory
  103 | #        define BOOST_TR1_STD_HEADER(name)
<../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
      |                                            ^
compilation terminated.

The logic in this boost header is quite broken, I guess you don't have
a /usr/include/c++/9.2.1.

On Fedora 30 there is only /usr/include/c++/9
On Debian 8 there is a symlink /usr/include/c++/4.9.2 pointing to 4.9.

Try the attached patch.

Regards
-- 
Ariel Constenla-Haile
La Plata, Buenos Aires
Argentina
diff --git a/main/stlport/systemstl/list b/main/stlport/systemstl/list
index 283880bec..58ee3eadf 100644
--- a/main/stlport/systemstl/list
+++ b/main/stlport/systemstl/list
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <list>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+	#include_next <list>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/list>
 	// MSVC's list would cause a lot of expression-result-unused warnings
diff --git a/main/stlport/systemstl/map b/main/stlport/systemstl/map
index 13f783b43..ec1c3db03 100644
--- a/main/stlport/systemstl/map
+++ b/main/stlport/systemstl/map
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <map>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <map>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/map>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/numeric b/main/stlport/systemstl/numeric
index 975612b48..5bd6b90e2 100644
--- a/main/stlport/systemstl/numeric
+++ b/main/stlport/systemstl/numeric
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <numeric>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <numeric>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/numeric>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/set b/main/stlport/systemstl/set
index 2d9905387..674cab06d 100644
--- a/main/stlport/systemstl/set
+++ b/main/stlport/systemstl/set
@@ -27,6 +27,8 @@
 	// TODO: use computed include file name
 	#include "utility"
 	#include_next <set>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <set>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/set>
 #else // fall back to boost/tr1
diff --git a/main/stlport/systemstl/vector b/main/stlport/systemstl/vector
index 8b4e86ffc..32753722e 100644
--- a/main/stlport/systemstl/vector
+++ b/main/stlport/systemstl/vector
@@ -25,6 +25,8 @@
 #ifdef HAVE_STL_INCLUDE_PATH
 	// TODO: use computed include file name
 	#include_next <vector>
+#elif defined(__cplusplus) && (__cplusplus >= 201103L)
+    #include_next <vector>
 #elif defined(_MSC_VER)
 	#include <../../VC/include/vector>
 #else // fall back to boost/tr1
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to