Hello Mechtilde, and thank you for replying.

On Thu, Nov 19, 2020 at 07:21:11PM +0100, Mechtilde wrote:

> Hello,
> 
> i guess, you use Java 11 too. Veriosn 4.1.8 builds only with Java 8.

Apparently not... I have package java-1_8_0-openjdk-devel that is
described as OpenJDK 8.

$ javac -version
javac 1.8.0_252

$ grep JAVA path/main/config.log
ac_cv_path_JAVACOMPILER=/usr/bin/javac
ac_cv_path_JAVADOC=/usr/bin/javadoc
ac_cv_path_JAVAINTERPRETER=/usr/bin/java
ENABLE_JAVASCRIPT='NO'
JAVAAOTCOMPILER=''
JAVACISGCJ=''
JAVACOMPILER='/usr/bin/javac'
JAVADOC='/usr/bin/javadoc'
JAVAFLAGS='-source 1.5 -target 1.5'
JAVAIFLAGS=''
JAVAINTERPRETER='/usr/bin/java'
JAVA_HOME='/usr/lib64/jvm/java-1.8.0-openjdk-1.8.0'
SOLAR_JAVA='TRUE'

> If you are interested we can work to get AOO 4.2 built with Java 11.

I personally do not work with Java and have very small experience with
it... but if I could help to make OpenOffice more "future-proof" I
would be very glad to contribute!

Best regards.

> Am 19.11.20 um 18:40 schrieb Arrigo Marchiori:
> > Dear List,
> > 
> > I am trying to build AOO418 on my up-to-date openSUSE Leap 15.2
> > x86_64.
> > 
> > Compilation fails on module xml2cmp, file
> > ain/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp with
> > the message "no such file or directory" when looking for header
> > "../7.5.0/utility".
> > 
> > It seems to be the very same problem that was reported on this list by
> > Mechtilde Stehmann on October 24th, 2019:
> > https://lists.apache.org/thread.html/bcf4bd7d903caa8a07f04aa04e884fd576290c86c3aacd8d4447614d%40%3Cdev.openoffice.apache.org%3E
> > 
> > The only directory under /usr/include/c++ is named '7' instead of
> > '7.5.0' and the above thread seems to suggest that this is the
> > problem.
> > 
> > Last lines of the build output on my system [path redacted]:
> > 
> > Compiling: xml2cmp/source/finder/dependy.cxx
> > In file included from 
> > path/main/solver/418/unxlngx6.pro/inc/boost/tr1/tr1/vector:16:0,
> >                  from path/main/solver/418/unxlngx6.pro/inc/stl/vector:33,
> >                  from path/main/xml2cmp/source/finder/dependy.hxx:28,
> >                  from path/main/xml2cmp/source/finder/dependy.cxx:25:
> > path/main/solver/418/unxlngx6.pro/inc/boost/tr1/detail/config_all.hpp:103:44:
> >  fatal error: ../7.5.0/utility: No such file or directory
> >  #        define BOOST_TR1_STD_HEADER(name) 
> > <../__GNUC__.__GNUC_MINOR__.__GNUC_PATCHLEVEL__/name>
> > 
> > 
> > Fun fact (?): Ubuntu 18.04 is also shipping gcc 7.5.0 but it does have
> > directory /usr/include/c++/7.5.0 as a symlink to /usr/include/c++/7
> > That is probably why AOO148 builds seamlessly there.
> > 
> > Shall I open a PR for this?
> > 
> > Thank you in advance!
> > 
> 
> -- 
> Mechtilde Stehmann
> ## Apache OpenOffice
> ## Freie Office Suite für Linux, MacOSX, Windows und OS/2
> ## Debian Developer
> ## PGP encryption welcome
> ## F0E3 7F3D C87A 4998 2899  39E7 F287 7BBA 141A AD7F
> 




-- 
rigo

http://rigo.altervista.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org
For additional commands, e-mail: dev-h...@openoffice.apache.org

Reply via email to