Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nmake cannot compile sources on Case Sensitive Driver with WindowsOS #22885

Open
vrqq opened this issue Jan 5, 2025 · 0 comments
Open

nmake cannot compile sources on Case Sensitive Driver with WindowsOS #22885

vrqq opened this issue Jan 5, 2025 · 0 comments

Comments

@vrqq
Copy link

vrqq commented Jan 5, 2025

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants