You could try
--with-jdk-home=/cygdrive/c/Program Files/Java/jdk-13.0.1
or if you have no use for Java, you could also simply use
--without-java
Ilmari
anshu khare kirjoitti 26.1.2020 klo 19.05:
My path for JDK is C:/Program Files/Java/jdk-13.0.1/bin/javac.exe
I am sure on how should I write this path on cygwin shell.
Could you please help me with it?
On Sun, 26 Jan, 2020, 9:50 PM Ilmari Lauhakangas,
<ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>> wrote:
You forgot to give a path with --with-jdk-home, so it is tripping on
the
emptiness.
Ilmari
anshu khare kirjoitti 26.1.2020 klo 17.19:
> When I run ./autogen.sh --with-visual-studio=2019
--with-jdk-home , it
> gives following output
>
> ********************************************************************
> *
> * Using commandline arguments and ignoring autogen.input!
> *
> ********************************************************************
> Running ./configure with '--with-visual-studio=2019 --with-jdk-home
> --srcdir=/home/hp/lode/dev/core --enable-option-checking=fatal'
> ********************************************************************
> *
> * Running LibreOffice build configuration.
> *
> ********************************************************************
>
> checking build system type... x86_64-pc-cygwin
> checking host system type... x86_64-pc-cygwin
> checking for product name... LibreOfficeDev
> checking for package version... 7.0.0.0.alpha0+
> checking for product version... 7.0
> checking for grep that handles long lines and -e... /usr/bin/grep
> checking for egrep... /usr/bin/grep -E
> checking for grep... (cached) /usr/bin/grep
> checking for GNU Make... /usr/bin/make
> checking for explicit COMSPEC... found: C:\Windows\system32\cmd.exe
> checking for sed... /usr/bin/sed
> checking whether to use link-time optimization... no
> checking for explicit AFLAGS... no
> checking for explicit CFLAGS... no
> checking for explicit CXXFLAGS... no
> checking for explicit OBJCFLAGS... no
> checking for explicit OBJCXXFLAGS... no
> checking for explicit LDFLAGS... no
> checking whether build target is Release Build... no
> checking whether to sign windows build... no
> checking for gawk... gawk
> checking for gawk... /usr/bin/gawk
> checking for bash... /bin/sh
> checking for GNU or BSD tar... tar
> checking for tar's option to strip components... --strip-components
> checking how to build and package galleries... internal src
images for
> desktop
> checking whether to build with Java support... yes
> checking whether to treat the installation as read-only... no
> checking whether to build a 64-bit LibreOffice... no
> checking Visual C++... C:/PROGRA~2/MICROS~2/2019/COMMUN~1/VC
> checking for short pathname of VC product directory...
> /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC
> checking for UCRT location... found
> checking for MSBuild.exe location for: 16.0...
> /cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/../MSBuild/Current/Bin
> checking cl.exe... found Visual C++ 2019
>
(/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe)
> checking cl.exe is at least Visual Studio 2017 version 15.7... yes
> checking for a x64 compiler and libraries for 64-bit Explorer
> extensions... found
> checking whether the compiler is actually Clang... no
> checking the dependency generation prefix (cl.exe -showIncludes)...
> "Note: including file:"
> checking whether to build with additional debug utilities... no
> checking whether to do a debug build... no
> checking whether to generate debug information... no
> checking whether to compile with optimization flags... yes
> checking which package format to use... none
> checking syslog.h usability... no
> checking syslog.h presence... no
> checking for syslog.h... no
> checking whether to turn warnings to errors... no
> checking whether to have assert() failures abort even without
> --enable-debug... no
> checking whether to enable CUPS support... no
> checking whether we want to fetch tarballs... yes, if we use them
> checking whether to build help... no
> checking whether to enable xapian-omega support for help... no
> checking whether to include MySpell dictionaries... no
> checking whether to use dicts from external paths... no
> checking whether to enable pch feature... yes (full)
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE supports -Xclang -building-pch-with-obj... no
> checking the GNU Make version... /usr/bin/make 4.2.1
> checking whether GNU Make supports the 'file' function... yes
> checking for --hash-style gcc linker support... no
> checking for perl... /usr/bin/perl
> checking the Perl version... Perl 5
> checking for required Perl modules... all modules found
> checking for Windows SDK... found Windows SDK 10.0
> (/cygdrive/c/PROGRA~2/WI3CF2~1/10)
> checking for midl.exe... C:\Program Files (x86)\Windows
> Kits\10\/Bin/10.0.18362.0/x86/midl.exe
> checking for csc.exe...
> C:\Windows\Microsoft.NET\Framework\v4.0.30319\/csc.exe
> checking for al.exe... C:\Program Files (x86)\Microsoft
> SDKs\Windows\v10.0A\bin\NETFX 4.8 Tools\/al.exe
> checking .NET Framework... found: C:/PROGRA~2/WI3CF2~1/NETFXSDK/4.8/
> checking whether to enable runtime optimizations... yes
> checking valgrind/valgrind.h usability... no
> checking valgrind/valgrind.h presence... no
> checking for valgrind/valgrind.h... no
> checking sys/sdt.h usability... no
> checking sys/sdt.h presence... no
> checking for sys/sdt.h... no
> checking what the C++ library is... Microsoft
> checking for gperf... /usr/bin/gperf
> checking whether gperf is new enough... yes (3.1)
> checking which libcmis to use... internal
> checking whether cl.exe supports C++17... yes (-std:c++17
-Zc:__cplusplus)
> checking whether cl.exe supports C++11 without Language Defect
757... yes
> checking whether cl.exe supports guaranteed copy elision... yes
> checking whether cl.exe supports C++2a constinit sorted vectors... no
> checking whether cl.exe supports C++2a <span> with unsigned
size_type... no
> checking whether cl.exe implements C++ DR P1155R3... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile SSE2 intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile SSSE3 intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile SSE4.1 intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile SSE4.2 intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile AVX intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile AVX2 intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile F16C intrinsics... yes
> checking whether
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/Tools/MSVC/1424~1.283/bin/HostX64/x86/cl.exe
> -arch:SSE can compile FMA intrinsics... yes
> checking for posix_fallocate... no
> checking whether to add custom build version... no
> checking for MSVC x64 DLL path...
>
/cygdrive/c/PROGRA~2/MICROS~2/2019/COMMUN~1/VC/redist/MSVC/14.24.28127/x64/Microsoft.VC142.CRT
> checking for MSVC x64 DLLs... found all (msvcp140.dll
vcruntime140.dll)
> checking for MSVC merge modules directory... configure: WARNING: not
> found (check config.log)
> cygpath: can't convert empty path
> cygpath: can't convert empty path
> configure: error: yes/bin/java not found, pass --with-jdk-home
> Error running configure at ./autogen.sh line 292.
>
>
>
> On Sun, 26 Jan, 2020, 6:54 PM Ilmari Lauhakangas,
> <ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>
> <mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>>> wrote:
>
> You forgot --with-visual-studio=2019
>
> Ilmari
>
> anshu khare kirjoitti 26.1.2020 klo 15.05:
> > Hi sir,
> > I was finally able to run ./setup --dev --force and
it worked.
> > But now when I go to dev/core repository and run
./autogen.sh it is
> > giving the following output.
> >
> > Running ./configure with '--enable-debug
> --srcdir=/home/hp/lode/dev/core
> > --enable-option-checking=fatal'
> >
********************************************************************
> > *
> > * Running LibreOffice build configuration.
> > *
> >
********************************************************************
> >
> > checking build system type... x86_64-pc-cygwin
> > checking host system type... x86_64-pc-cygwin
> > checking for product name... LibreOfficeDev
> > checking for package version... 7.0.0.0.alpha0+
> > checking for product version... 7.0
> > checking for grep that handles long lines and -e...
/usr/bin/grep
> > checking for egrep... /usr/bin/grep -E
> > checking for grep... (cached) /usr/bin/grep
> > checking for GNU Make... /usr/bin/make
> > checking for explicit COMSPEC... found:
C:\Windows\system32\cmd.exe
> > checking for sed... /usr/bin/sed
> > checking whether to use link-time optimization... no
> > checking for explicit AFLAGS... no
> > checking for explicit CFLAGS... no
> > checking for explicit CXXFLAGS... no
> > checking for explicit OBJCFLAGS... no
> > checking for explicit OBJCXXFLAGS... no
> > checking for explicit LDFLAGS... no
> > checking whether build target is Release Build... no
> > checking whether to sign windows build... no
> > checking for gawk... gawk
> > checking for gawk... /usr/bin/gawk
> > checking for bash... /bin/sh
> > checking for GNU or BSD tar... tar
> > checking for tar's option to strip components...
--strip-components
> > checking how to build and package galleries... internal src
> images for
> > desktop
> > checking whether to build with Java support... yes
> > checking whether to treat the installation as read-only... no
> > checking whether to build a 64-bit LibreOffice... no
> > checking Visual C++... checking VC++ Build Tools and
similar...
> > configure: error: no Visual Studio 2017 installation found
> > Error running configure at ./autogen.sh line 292.
> >
> > I have Visual Studio 19 installed on my system and its path
> > is C:\ProgramData\Microsoft\Windows\Start Menu\Programs.
> >
> > Regards
> > Anshu Khare
> >
> >
> > On Sun, 26 Jan, 2020, 1:26 AM Ilmari Lauhakangas,
> > <ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>
> <mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>>
> > <mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>
> <mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx
<mailto:ilmari.lauhakangas@xxxxxxxxxxxxxxx>>>> wrote:
> >
> > For what it's worth, I am able to access
> >
http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip
> > just fine.
> >
> > Ilmari
> >
> > anshu khare kirjoitti 25.1.2020 klo 16.55:
> > > Hi sir,
> > >
> > > I executed the whole process again.
> > > But it's again giving the same error.
> > >
> > > Regards
> > > Anshu
> > >
> > > On Sat, 25 Jan, 2020, 7:08 PM Mark Hung,
> <marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>
<mailto:marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>>
> > <mailto:marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>
<mailto:marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>>>
> > > <mailto:marklh9@xxxxxxxxx
<mailto:marklh9@xxxxxxxxx> <mailto:marklh9@xxxxxxxxx
<mailto:marklh9@xxxxxxxxx>>
> <mailto:marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>
<mailto:marklh9@xxxxxxxxx <mailto:marklh9@xxxxxxxxx>>>>> wrote:
> > >
> > > Hi anshu khare,
> > >
> > > You should proceed only after you successfully
completes
> > setup. Http
> > > 500 means server side error. Try to run setup
again.
> > >
> > >
> > > anshu khare <anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx>
> <mailto:anshukhare50@xxxxxxxxx <mailto:anshukhare50@xxxxxxxxx>>
> > <mailto:anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx>
> <mailto:anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx>>> <mailto:anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx>
> <mailto:anshukhare50@xxxxxxxxx <mailto:anshukhare50@xxxxxxxxx>>
> > <mailto:anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx> <mailto:anshukhare50@xxxxxxxxx
<mailto:anshukhare50@xxxxxxxxx>>>>>
> > > 於 2020年1月25日 週六 21:01 寫道:
> > >
> > > Hi mentors
> > >
> > > I am Anshu and I want to contribute to this
> organization.
> > I was
> > > trying to build libre-office on windows. When I
> ran ./setup I
> > > got the output as follows :
> > >
> > > Check directory 'packages' ... : Created
> > > Check directory 'opt' ... : Created
> > > Check directory 'ext_tar' ... : Created
> > > Check directory 'adm' ... : Created
> > > Check directory 'tb' ... : Created
> > > Cloning into 'buildbot'...
> > > Cloned /home/hp/lode/adm/buildbot
> > > Check directory '/home/hp/lode/opt/bin' ...
: Created
> > > --2020-01-25 14:32:45--
> > >
http://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > > Resolving dev-www.libreoffice.org
<http://dev-www.libreoffice.org>
> <http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > > <http://dev-www.libreoffice.org>
> (dev-www.libreoffice.org <http://dev-www.libreoffice.org>
<http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > > <http://dev-www.libreoffice.org>)...
89.238.68.201,
> > > 2a00:1828:a012:201::1
> > > Connecting to dev-www.libreoffice.org
<http://dev-www.libreoffice.org>
> <http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > > <http://dev-www.libreoffice.org>
> (dev-www.libreoffice.org <http://dev-www.libreoffice.org>
<http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > >
<http://dev-www.libreoffice.org>)|89.238.68.201|:80...
> > connected.
> > > HTTP request sent, awaiting response... 301
Moved
> Permanently
> > > Location:
> > >
https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > > [following]
> > > --2020-01-25 14:32:46--
> > >
https://dev-www.libreoffice.org/bin/cygwin/make-4.2.1-msvc.exe
> > > Connecting to dev-www.libreoffice.org
<http://dev-www.libreoffice.org>
> <http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > > <http://dev-www.libreoffice.org>
> (dev-www.libreoffice.org <http://dev-www.libreoffice.org>
<http://dev-www.libreoffice.org>
> > <http://dev-www.libreoffice.org>
> > >
> <http://dev-www.libreoffice.org>)|89.238.68.201|:443...
> > connected.
> > > HTTP request sent, awaiting response... 200 OK
> > > Length: 291328 (284K)
[application/octet-stream]
> > > Saving to: ‘make-4.2.1-msvc.exe’
> > >
> > > 0K .......... .......... ..........
..........
> > ..........
> > > 17% 308K 1s
> > > 50K .......... .......... ..........
..........
> > ..........
> > > 35% 294K 1s
> > > 100K .......... .......... ..........
..........
> > ..........
> > > 52% 2.12M 0s
> > > 150K .......... .......... ..........
..........
> > ..........
> > > 70% 432K 0s
> > > 200K .......... .......... ..........
..........
> > ..........
> > > 87% 1.36M 0s
> > > 250K .......... .......... .......... ....
> > > 100% 3.37M=0.5s
> > >
> > > 2020-01-25 14:32:48 (550 KB/s) -
> ‘make-4.2.1-msvc.exe’ saved
> > > [291328/291328]
> > >
> > > --2020-01-25 14:32:48--
> > >
> http://archive.apache.org/dist/ant/binaries/apache-ant-1.9.4-bin.zip
> > > Resolving archive.apache.org
<http://archive.apache.org>
> <http://archive.apache.org> <http://archive.apache.org>
> > <http://archive.apache.org>
> > > (archive.apache.org
<http://archive.apache.org> <http://archive.apache.org>
> <http://archive.apache.org>
> > <http://archive.apache.org>)... 163.172.17.199
> > > Connecting to archive.apache.org
<http://archive.apache.org>
> <http://archive.apache.org>
> > <http://archive.apache.org> <http://archive.apache.org>
> > > (archive.apache.org
<http://archive.apache.org> <http://archive.apache.org>
> <http://archive.apache.org>
> > >
<http://archive.apache.org>)|163.172.17.199|:80...
> connected.
> > > HTTP request sent, awaiting response... 500
> Operation not
> > permitted
> > > 2020-01-25 14:32:48 ERROR 500: Operation not
> permitted.
> > >
> > > /home/hp/lode/bin/utils.sh: line 120: module:
> parameter
> > null or
> > > not set
> > >
> > > After this when I run cd dev/core, it says
no such
> file
> > exists.
> > > Could you please help me with it?
> > >
> > > Regards
> > > Anshu
> > > _______________________________________________
> > > LibreOffice mailing list
> > > LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> > <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>>
> > > <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> > <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>>>
> > >
https://lists.freedesktop.org/mailman/listinfo/libreoffice
> > >
> > >
> > > _______________________________________________
> > > LibreOffice mailing list
> > > LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> > <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>>
> > >
https://lists.freedesktop.org/mailman/listinfo/libreoffice
> > >
> > _______________________________________________
> > LibreOffice mailing list
> > LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> > <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>>
> > https://lists.freedesktop.org/mailman/listinfo/libreoffice
> >
> >
> > _______________________________________________
> > LibreOffice mailing list
> > LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> > https://lists.freedesktop.org/mailman/listinfo/libreoffice
> >
> _______________________________________________
> LibreOffice mailing list
> LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> <mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>>
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
>
> _______________________________________________
> LibreOffice mailing list
> LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
> https://lists.freedesktop.org/mailman/listinfo/libreoffice
>
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
<mailto:LibreOffice@xxxxxxxxxxxxxxxxxxxxx>
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice