Just out of the box, what do you get if you set DPATCHEXE_PATH to 
`/c/GnuWin32/bin/patch.exe`?

> On 30 Aug 2016, at 11:40, DiGiorgio, Mr. Rinaldo S. <[email protected]> 
> wrote:
> 
> Hi,
> 
> Trying to build Windows Agent on Windows 2010 R2
> 
> Windows VS 2015 installed and working /c/Program\ Files\ \(x86\)/Microsoft\ 
> Visual\ Studio\ 14.0/
> Make installed and working — cmake version 3.6.1
>         patch.exe installed and working — patch 2.5.9
> Jenkins 2+ installed and working
> Workspace set to a directory without spaces in the name
> vcvarsall.bat is run 
> 
> I am getting the following error, in both GitBash and MS-DOS
> 
> $ /c/CMake/bin/cmake .. -G "Visual Studio 14 2015 Win64" -DENABLE_LIBEVENT=1 
> -DPATCHEXE_PATH="C:\GnuWin32\bin\patch.exe"
> CMake Warning at CMakeLists.txt:52 (message):
>   Both `ENABLE_LIBEVENT` and `REBUNDLED` (set to TRUE by default) flags have
>   been set.  But, libevent does not come rebundled in Mesos, so it must be
>   downloaded.
> 
> 
> CMake Warning at CMakeLists.txt:61 (message):
>   The current supported version of ZK does not compile on Windows, and does
>   not come rebundled in the Mesos repository.  It must be downloaded from the
>   Internet, even though the `REBUNDLED` flag was set.
> 
> 
> -- ************************************************************
> -- ********* Beginning Mesos CMake configuration step *********
> -- ************************************************************
> -- INSTALLATION PREFIX: C:/Program Files/Mesos
> -- MACHINE SPECS:
> --     Hostname:
> --     OS:       WINDOWS(6.2.9200)
> --     Arch:     AMD64
> --     BitMode:
> --     BuildID:
> -- ************************************************************
> CMake Error at 3rdparty/cmake/Mesos3rdpartyConfigure.cmake:74 (message):
>   GnuWin32 patch.exe was not found.  Use -DPATCHEXE_PATH to provide the local
>   path of GnuWin32 patch.exe.  Mesos for Windows requires GnuWin32 patch.exe
>   to apply updates.  You may get it from
>   http://gnuwin32.sourceforge.net/packages/patch.htm 
> <http://gnuwin32.sourceforge.net/packages/patch.htm>
> Call Stack (most recent call first):
>   cmake/MesosConfigure.cmake:50 (include)
>   CMakeLists.txt:102 (include)
> 
> 
> -- Configuring incomplete, errors occurred!
> 

Reply via email to