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
Re: Fails to build on Pop!_OS 18.04
Hi, Am 24.01.23 um 02:23 schrieb Damjan Jovanovic: > On Mon, Jan 23, 2023 at 11:48 PM Pedro Lino > wrote: > >> Hi Peter, all >> >>> On 01/23/2023 11:33 AM WET Peter Kovacs wrote: >>> yes, but it looks on disk like the following? >>> >>> ls /usr/lib/jvm/java-8-openjdk-amd64 >>> ASSEMBLY_EXCEPTION bin docs include jre lib man src.zip >>> THIRD_PARTY_README >> Yes >> ls /usr/lib/jvm/java-8-openjdk-amd64 >> ASSEMBLY_EXCEPTION docs jre man THIRD_PARTY_README >> bin include lib src.zip >> >> Any ideas? >> >> > In your --with-jdk-home directory, do you have these files: > > include/jawt.h > include/linux/jawt_md.h > > 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. > > 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/). Our config.guess in AOO41X is *really* old. Maybe we should update it to that version that we use in trunk/AOO42X? Regards, Matthias > smime.p7s Description: S/MIME Cryptographic Signature
Re: Fails to build on Pop!_OS 18.04
On Mon, Jan 23, 2023 at 11:48 PM Pedro Lino wrote: > Hi Peter, all > > > On 01/23/2023 11:33 AM WET Peter Kovacs wrote: > > > yes, but it looks on disk like the following? > > > > ls /usr/lib/jvm/java-8-openjdk-amd64 > > ASSEMBLY_EXCEPTION bin docs include jre lib man src.zip > > THIRD_PARTY_README > > Yes > ls /usr/lib/jvm/java-8-openjdk-amd64 > ASSEMBLY_EXCEPTION docs jre man THIRD_PARTY_README > bin include lib src.zip > > Any ideas? > > In your --with-jdk-home directory, do you have these files: include/jawt.h include/linux/jawt_md.h 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. 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/).
Re: Fails to build on Pop!_OS 18.04
Hi Peter, all > On 01/23/2023 11:33 AM WET Peter Kovacs wrote: > yes, but it looks on disk like the following? > > ls /usr/lib/jvm/java-8-openjdk-amd64 > ASSEMBLY_EXCEPTION bin docs include jre lib man src.zip > THIRD_PARTY_README Yes ls /usr/lib/jvm/java-8-openjdk-amd64 ASSEMBLY_EXCEPTION docs jre man THIRD_PARTY_README bin include lib src.zip Any ideas? - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Fails to build on Pop!_OS 18.04
Am 23.01.23 um 11:54 schrieb Pedro Lino: Hi Peter On 01/23/2023 9:27 AM WET Peter Kovacs wrote: Unfortunately I can no longer build 41X in 18.04 Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: No such file or directory #include "jawt_md.h" ^~~ compilation terminated. dmake: Error code 1, while making '../../unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' the file should be in /usr/lib/jvm/java-8-openjdk-amd64 can you check and post the path please? The path to Java is --with-jdk-home=/usr/lib/jvm/java-8-openjdk-amd64 yes, but it looks on disk like the following? ls /usr/lib/jvm/java-8-openjdk-amd64 ASSEMBLY_EXCEPTION bin docs include jre lib man src.zip THIRD_PARTY_README 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: Fails to build on Pop!_OS 18.04
Hi Peter > On 01/23/2023 9:27 AM WET Peter Kovacs wrote: > > Unfortunately I can no longer build 41X in 18.04 > > > > Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c > > com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: > > No such file or directory > > #include "jawt_md.h" > >^~~ > > compilation terminated. > > dmake: Error code 1, while making > > '../../unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' > > the file should be in /usr/lib/jvm/java-8-openjdk-amd64 > > can you check and post the path please? The path to Java is --with-jdk-home=/usr/lib/jvm/java-8-openjdk-amd64 Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Fails to build on Pop!_OS 18.04
Am 22.01.23 um 12:36 schrieb Pedro Lino: Hi all I have given up on Pop!_OS 18.04 because it is no longer supported while Ubuntu 18.04 still is Unfortunately I can no longer build 41X in 18.04 Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: No such file or directory #include "jawt_md.h" ^~~ compilation terminated. dmake: Error code 1, while making '../../unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' the file should be in /usr/lib/jvm/java-8-openjdk-amd64 can you check and post the path please? I'm using the same configure command I have used with success for all previous 41X builds Is this a known regression? Or is it simply my problem? 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: Fails to build on Pop!_OS 18.04
Hi all I have given up on Pop!_OS 18.04 because it is no longer supported while Ubuntu 18.04 still is Unfortunately I can no longer build 41X in 18.04 Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: No such file or directory #include "jawt_md.h" ^~~ compilation terminated. dmake: Error code 1, while making '../../unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' I'm using the same configure command I have used with success for all previous 41X builds Is this a known regression? Or is it simply my problem? Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Fails to build on Pop!_OS 18.04
Yes --with-jdk-home=/usr/lib/jvm/java-8-openjdk-amd64 > On 01/04/2023 8:44 PM WET Peter Kovacs wrote: > > > did you configure --with-jdk-home= > > ? > > Am 04.01.23 um 20:35 schrieb Pedro Lino: > >> On 01/04/2023 12:33 PM WET Damjan Jovanovic wrote: > >> > >> > >> On Wed, Jan 4, 2023 at 1:47 PM Pedro Lino > >> wrote: > >> > >>> Hi all > >>> > >>> I'm testing a UEFI compatible Linux OS named Pop!_OS > >>> Compiling 41X fails on bean with messages > >>> > >>> WARNING(S): > >>> Some modules contain old output trees! Please check: bean > >>> > >>> = > >>> Building module bean > >>> = > >>> > >>> Entering /source/openoffice/main/bean/com/sun/star/comp/beans > >>> > >>> > >>> Entering /source/openoffice/main/bean/native/unix > >>> > >>> Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c > >>> com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: > >>> No such file or directory > >>> #include "jawt_md.h" > >>>^~~ > >>> compilation terminated. > >>> dmake: Error code 1, while making '../../ > >>> unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' > >>> > >>> > >>> Any tips/instructions that a non-dev can follow? > >>> > >>> Thanks! > >>> > >>> Pedro > >>> > >>> > >> Hi Pedro > >> > >> What Java version do you have installed? > >> > >> Regard > >> Damjan > > Hi Damjan > > > > openjdk version "1.8.0_352" > > > > 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 - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Fails to build on Pop!_OS 18.04
did you configure --with-jdk-home= ? Am 04.01.23 um 20:35 schrieb Pedro Lino: On 01/04/2023 12:33 PM WET Damjan Jovanovic wrote: On Wed, Jan 4, 2023 at 1:47 PM Pedro Lino wrote: Hi all I'm testing a UEFI compatible Linux OS named Pop!_OS Compiling 41X fails on bean with messages WARNING(S): Some modules contain old output trees! Please check: bean = Building module bean = Entering /source/openoffice/main/bean/com/sun/star/comp/beans Entering /source/openoffice/main/bean/native/unix Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: No such file or directory #include "jawt_md.h" ^~~ compilation terminated. dmake: Error code 1, while making '../../ unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' Any tips/instructions that a non-dev can follow? Thanks! Pedro Hi Pedro What Java version do you have installed? Regard Damjan Hi Damjan openjdk version "1.8.0_352" 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: Fails to build on Pop!_OS 18.04
> On 01/04/2023 12:33 PM WET Damjan Jovanovic wrote: > > > On Wed, Jan 4, 2023 at 1:47 PM Pedro Lino > wrote: > > > Hi all > > > > I'm testing a UEFI compatible Linux OS named Pop!_OS > > Compiling 41X fails on bean with messages > > > > WARNING(S): > > Some modules contain old output trees! Please check: bean > > > > = > > Building module bean > > = > > > > Entering /source/openoffice/main/bean/com/sun/star/comp/beans > > > > > > Entering /source/openoffice/main/bean/native/unix > > > > Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c > > com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: > > No such file or directory > > #include "jawt_md.h" > > ^~~ > > compilation terminated. > > dmake: Error code 1, while making '../../ > > unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' > > > > > > Any tips/instructions that a non-dev can follow? > > > > Thanks! > > > > Pedro > > > > > Hi Pedro > > What Java version do you have installed? > > Regard > Damjan Hi Damjan openjdk version "1.8.0_352" Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org
Re: Fails to build on Pop!_OS 18.04
On Wed, Jan 4, 2023 at 1:47 PM Pedro Lino wrote: > Hi all > > I'm testing a UEFI compatible Linux OS named Pop!_OS > Compiling 41X fails on bean with messages > > WARNING(S): > Some modules contain old output trees! Please check: bean > > = > Building module bean > = > > Entering /source/openoffice/main/bean/com/sun/star/comp/beans > > > Entering /source/openoffice/main/bean/native/unix > > Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c > com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: > No such file or directory > #include "jawt_md.h" > ^~~ > compilation terminated. > dmake: Error code 1, while making '../../ > unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' > > > Any tips/instructions that a non-dev can follow? > > Thanks! > > Pedro > > Hi Pedro What Java version do you have installed? Regard Damjan
Fails to build on Pop!_OS 18.04
Hi all I'm testing a UEFI compatible Linux OS named Pop!_OS Compiling 41X fails on bean with messages WARNING(S): Some modules contain old output trees! Please check: bean = Building module bean = Entering /source/openoffice/main/bean/com/sun/star/comp/beans Entering /source/openoffice/main/bean/native/unix Compiling: beans/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c com_sun_star_comp_beans_LocalOfficeWindow.c:35:10: fatal error: jawt_md.h: No such file or directory #include "jawt_md.h" ^~~ compilation terminated. dmake: Error code 1, while making '../../unxlngx6.pro/slo/com_sun_star_comp_beans_LocalOfficeWindow.obj' Any tips/instructions that a non-dev can follow? Thanks! Pedro - To unsubscribe, e-mail: dev-unsubscr...@openoffice.apache.org For additional commands, e-mail: dev-h...@openoffice.apache.org