Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
Hi Arrigo > On 01/25/2023 7:16 AM WET Arrigo Marchiori wrote: > Wild guess: did you install the "jdk" package? > You may have installed the "jre" only. No, it was the opposite. I always install only openjdk-8-jdk-headless (as instructed in https://wiki.openoffice.org/wiki/Documentation/Building_Guide_AOO/Step_by_step_Linux#Ubuntu_18.04 ) and this always worked before. > On Ubuntu 18.04 the package containing the libraries (.so files) is > "openjdk-8-jdk-headless", whereas the package containing the header > files is "openjdk-8-jdk". > > I hope this helps. If not... sorry for the noise! I tried installing also "openjdk-8-jdk" from your suggestion and it solved the problem. Maybe there was a change in the way the dependencies for Java are defined... In any case that means that the requirements for setting up the compilation environment slightly changed. Thank you very much! All the best, Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
Dear All, On Tue, Jan 24, 2023 at 11:10:21PM +, Pedro Lino wrote: > > On 01/24/2023 9:59 PM WET Peter Kovacs wrote: > > > strange. I have: > > > > /usr/lib/jvm/java-8-openjdk-amd64/lib/amd64/libjawt.so > > /usr/lib/jvm/java-8-openjdk-amd64/include/jawt.h > > /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jawt_md.h > > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so > > I also have them on my "old" disk with Ubuntu 18.04 (installed in April > 2018). This one was installed last week. > Wild guess: did you install the "jdk" package? You may have installed the "jre" only. On Ubuntu 18.04 the package containing the libraries (.so files) is "openjdk-8-jdk-headless", whereas the package containing the header files is "openjdk-8-jdk". I hope this helps. If not... sorry for the noise! Best regards, -- Arrigo - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
> On 01/24/2023 9:59 PM WET Peter Kovacs wrote: > strange. I have: > > /usr/lib/jvm/java-8-openjdk-amd64/lib/amd64/libjawt.so > /usr/lib/jvm/java-8-openjdk-amd64/include/jawt.h > /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jawt_md.h > /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so I also have them on my "old" disk with Ubuntu 18.04 (installed in April 2018). This one was installed last week. The only difference (besides the time) is that this one runs on UEFI and the old one on BIOS (aka Legacy) boot mode. Could this be related? I still have the feeling that those files were installed by a previous version of Java 8 (and are leftovers) while if you install from scratch with the latest Java they are no longer included... Best, Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
Am 24.01.23 um 22:21 schrieb Pedro Lino: On 01/24/2023 7:48 PM WET Damjan Jovanovic wrote: Can you please run: find /usr/lib/jvm/java-8-openjdk-amd64 | grep jawt /usr/lib/jvm/java-8-openjdk-amd64/lib/amd64/libjawt.so /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so strange. I have: /usr/lib/jvm/java-8-openjdk-amd64/lib/amd64/libjawt.so /usr/lib/jvm/java-8-openjdk-amd64/include/jawt.h /usr/lib/jvm/java-8-openjdk-amd64/include/linux/jawt_md.h /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so And what is your SOLARINC environment variable set to? After "source LinuxX86-64Env.Set.sh", run "echo $SOLARINC" and post the results. Let's see all of it, eg. is -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux there? -I. -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc/stl -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc/external -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc -I/source/openoffice/main/solenv/unxlngx6/inc -I/source/openoffice/main/solenv/inc -I/source/openoffice/main/res -I/source/openoffice/main/solenv/inc/Xp31 -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux -I/usr/lib/jvm/java-8-openjdk-amd64/include/native_threads/include -I/usr/include Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
> On 01/24/2023 7:48 PM WET Damjan Jovanovic wrote: > Can you please run: > find /usr/lib/jvm/java-8-openjdk-amd64 | grep jawt /usr/lib/jvm/java-8-openjdk-amd64/lib/amd64/libjawt.so /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/amd64/libjawt.so > > > And what is your SOLARINC environment variable set to? After "source > > > LinuxX86-64Env.Set.sh", run "echo $SOLARINC" and post the results. > Let's see all of it, eg. is > -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux there? -I. -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc/stl -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc/external -I/source/openoffice/main/solver/4114/unxlngx6.pro/inc -I/source/openoffice/main/solenv/unxlngx6/inc -I/source/openoffice/main/solenv/inc -I/source/openoffice/main/res -I/source/openoffice/main/solenv/inc/Xp31 -I/usr/lib/jvm/java-8-openjdk-amd64/include -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux -I/usr/lib/jvm/java-8-openjdk-amd64/include/native_threads/include -I/usr/include Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: 41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
On Tue, Jan 24, 2023 at 7:21 PM Pedro Lino wrote: > Hi Damjan > > > On 01/24/2023 1:23 AM WET Damjan Jovanovic wrote: > > > In your --with-jdk-home directory, do you have these files: > > > > include/jawt.h > > include/linux/jawt_md.h > > No, those 2 files are not there. Maybe it is not included in build 352 of > Java 8? > > Can you please run: find /usr/lib/jvm/java-8-openjdk-amd64 | grep jawt > > And what is your SOLARINC environment variable set to? After "source > > LinuxX86-64Env.Set.sh", run "echo $SOLARINC" and post the results. It > > should contain the directory that the above include/linux/jawt_md.h is > in. > > It does contain the directory -I/usr/lib/jvm/java-8-openjdk-amd64/include > > Let's see all of it, eg. is -I/usr/lib/jvm/java-8-openjdk-amd64/include/linux there? > > SOLARINC is set within set_soenv.in, and might need adjustment for > Pop!_OS. > > It depends on what config.guess gave, so it would also help to see the > > output of ./config.guess (under main/) > > x86_64-unknown-linux-gnu > > Maybe the solution is to install a previous version of Java 8? > > Unlikely, we even support Java 9. > Thanks! > Pedro > > Damjan
41X fails to build in Ubuntu 18.04 (was Re: Fails to build on Pop!_OS 18.04)
Hi Damjan > On 01/24/2023 1:23 AM WET Damjan Jovanovic wrote: > In your --with-jdk-home directory, do you have these files: > > include/jawt.h > include/linux/jawt_md.h No, those 2 files are not there. Maybe it is not included in build 352 of Java 8? > And what is your SOLARINC environment variable set to? After "source > LinuxX86-64Env.Set.sh", run "echo $SOLARINC" and post the results. It > should contain the directory that the above include/linux/jawt_md.h is in. It does contain the directory -I/usr/lib/jvm/java-8-openjdk-amd64/include > SOLARINC is set within set_soenv.in, and might need adjustment for Pop!_OS. > It depends on what config.guess gave, so it would also help to see the > output of ./config.guess (under main/) x86_64-unknown-linux-gnu Maybe the solution is to install a previous version of Java 8? Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org