-
Notifications
You must be signed in to change notification settings - Fork 588
Open
Description
Module:
win32/Makefile
ENV
vs2022 community edition on Windows Server 2022
Steps to Reproduce
In windows, copy source code to case sensitive driver or folder. (like NFS/SAMBA shared folder).
Then run the commands below
cd win32
nmake.exe /NOLOGO /f Makefile CCTYPE=MSVC143
Expected behavior
If the source code is inside case-insensitive driver, it can build successfully.
But it shows the errors below:
xcopy /f /r /i /d /y ..\*.h ..\lib\CORE\*.*
0 File(s) copied
..\miniperl.exe -I..\lib ..\make_ext.pl "MAKE=nmake -nologo" --dir=..\cpan --dir=..\dist --dir=..\ext --nonxs
NMAKE : fatal error U1052: file 'makefile' not found
Stop.
NMAKE : fatal error U1073: don't know how to make 'all'
Stop.
Unsuccessful make(dist/if): code=512 at ..\make_ext.pl line 584.
NMAKE : fatal error U1077: '..\miniperl.exe -I..\lib ..\make_ext.pl "MAKE=nmake -nologo" --dir=..\cpan --dir=..\dist --dir=..\ext --nonxs' : return code '0x2'
Stop.
It seems that we need to add nmake -f $makefile inside perl script.