-
Notifications
You must be signed in to change notification settings - Fork 602
Open
Description
I am trying to install a debug version of perl 5.32.0 on Windows 10, using MSYS2. After applying the fix for symlinks in #18037 I get:
$ wget https://www.cpan.org/src/5.0/perl-5.32.0.tar.gz
$ tar zxvf perl-5.32.0.tar.gz
$ cd perl-5.32.0
$ sh Configure -de -Dprefix=$HOME/myperl -DDEBUGGING -Dman1dir=none -Dman3dir=none
[...]
Doing variable substitutions on .SH files...
Extracting config.h (with variable substitutions)
cflags.SH: Adding -Werror=pointer-arith.
cflags.SH: Adding -Wextra.
cflags.SH: Adding -Wc++-compat.
cflags.SH: Adding -Wwrite-strings.
cflags.SH: Adding -Werror=declaration-after-statement.
cflags.SH: cc = cc
cflags.SH: ccflags = -fwrapv -fno-strict-aliasing -pipe -fstack-protector-strong -D_FORTIFY_SOURCE=2
cflags.SH: stdflags =
cflags.SH: optimize = -O
cflags.SH: warn = -Wall -Werror=pointer-arith -Wextra -Wc++-compat -Wwrite-strings -Werror=declaration-after-statement
Extracting cflags (with variable substitutions)
Not re-extracting config.h
Extracting makedepend (with variable substitutions)
Extracting Makefile (with variable substitutions)
Extracting myconfig (with variable substitutions)
Extracting pod/Makefile (with variable substitutions)
Extracting Policy.sh (with variable substitutions)
Extracting runtests (with variable substitutions)
Configure done.
If you compile perl5 on a different machine or from a different object
directory, copy the Policy.sh file from this object directory to the
new one before you run Configure -- this will help you with most of
the policy defaults.
$ make
make: *** No targets specified and no makefile found. Stop.
By inspecting Makefile.SH I see that on line 1754 it deletes makefile:
$rm -f $firstmakefile
(since $firstmakefile is equal to makefile). But I believe in MSYS2 case does not matter so it deletes the newly generated Makefile instead (note capital M).