Menu

#88 buildall.sh: vcxsrv compilation failure - mhmake ran from incorrect directory

v1.0_(example)
open
nobody
None
5
2018-09-02
2018-09-02
laur
No

buildall.sh 1 9 fails with

mhmake needs to run in a directory that is a subdirectory of the directory specified with %MHMAKECONF : C:\tools\cygwin\home\layr\VCXSRV~1, make dir : C:\tools\cygwin\home\layr\vcxsrv-code\xorg-server
Comparison is case sensitive!
Error compiling vcxsrv for debug

Note the MHMAKECONF value after definition in buildall.sh is C:\tools\cygwin\home\layr\VCXSRV~1

which is likely the cause of this error.

cygpath -da . really does resolve to this value, given PWD is C:\tools\cygwin\home\layr\vcxsrv-code; we should either rework cygpath params, or disallow usage of certain cymbols (eg dash (-), which seems to be the cause in my case) in code path. Perhaps

Also note vcxsrv-code is the default dirname when checking out from SF.
Renaming checkout directory from "vcxsrv-code" to "vcxsrv" solves this problem.

Discussion


Log in to post a comment.

MongoDB Logo MongoDB