Skip to content

5.40.2: Use of uninitialized value $args{"LINKTYPE"} at Makefile.PL line 37 of ext/re module #23390

Closed
@dlaugt

Description

@dlaugt

Description
Compilation of perl on windows gives the following error in ext/re module:
Use of uninitialized value $args{"LINKTYPE"} in string eq at Makefile.PL line 37.

Adding a print of @argv, I see that Makefile.PL of re module is called with arguments:
INSTALLDIRS=perl INSTALLMAN1DIR=none INSTALLMAN3DIR=none PERL_CORE=1 PERL=<path-to-perl>\miniperl.exe

Steps to Reproduce
cd win32 & nmake CCTYPE=MSVC141 -ck "CFG=DebugFull" "PROCESSOR_ARCHITECTURE=AMD64" "PROCESSOR_ARCHITEW6432=AMD64" "NO_THREAD_SAFE_LOCALE=define"

Expected behavior
Uninitialized value should not be used

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions