Re: stuck at building code. Please suggest what to try next.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 6.2.2024 9.45, Ajay Dhar wrote:
I am trying to start developing libreoffice.
I tried to


          configure and build the code

I gave the following command in cygbin
...............................
c:/sources/libo-core/autogen.sh \
              --with-external-tar=c:/sources/lo-externalsrc \
              --with-junit=c:/sources/junit-4.10.jar \
              --with-ant-home=c:/sources/apache-ant-1.9.5 \
              --enable-pch --disable-ccache \
              --disable-ccache \
              --with-jdk-home
...............
I got the following error.
........................................
Error running configure at c:/sources/libo-core/autogen.sh line 321.
configure: error: No JDK found, pass the --with-jdk-home option (or fix the path) pointing to a 64-bit JDK >= 17
.....................................
Now I am stuck. Please suggest something.
My Java is at following, I think
...................
C:\Program Files\Microsoft\jdk-11.0.21.9-hotspot\bin
.........................

You have not defined a path for --with-jdk-home. It is explained here: https://wiki.documentfoundation.org/Development/BuildingOnWindows#Install_Java

I notice that you seem to be following the instructions on the Windows article that go beyond the point that says:

"The Easiest way to perform the following is to use LODE , which automates all that is necessary, beyond installing Visual Studio and Java.

If you want to do it the hard way, continue reading."

It would be good to use an autogen.input as I advised you.

Also, Miklos has a point about JDK version in his email.

Ilmari



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux