title: Getting error while installing Inline::Python and Proc::ProcessTable package for perl
body: <p><strong>Environment:</strong>
  Perl: 5.32.1 Strawberry perl
  OS: Windows 10
  Python: 3.7.9 and 3.9.7 but using only 3.7.9 to install inline Python</p>
  <p><em><strong>Output on executing cpan command on cmd line to install
  Inline::Python,</strong></em></p>
  <pre><code>cpan Inline::Python
  
  Loading internal logger. Log::Log4perl recommended for better logging CPAN: CPAN::SQLite loaded ok (v0.219) Database was generated on Thu, 09 Dec 2021 08:48:50 GMT Running install for module 'Inline::Python' CPAN: Digest::SHA loaded ok (v6.02) CPAN: Compress::Zlib loaded ok (v2.1) Checksum for C:\STRAWB~1\cpan\sources\authors\id\N\NI\NINE\Inline-Python-0.56.tar.gz ok CPAN: Archive::Tar loaded ok (v2.38) CPAN: YAML::XS loaded ok (v0.82) CPAN: CPAN::Meta::Requirements loaded ok (v2.140) CPAN: Parse::CPAN::Meta loaded ok (v2.150010) CPAN: CPAN::Meta loaded ok (v2.150010) CPAN: Module::CoreList loaded ok (v5.20210123) Configuring N/NI/NINE/Inline-Python-0.56.tar.gz with Makefile.PL Using C:\Python379\
  
  This python is so old it doesn't know how to answer my questions.
  
  Instead, you will be asked a series of questions about it. If possible, I will give you a set of reasonable options to choose from. You can always enter the complete answer yourself if none of mine are correct.
  
          1. LIBS option. I need to know what extra libraries, if any,
             are required by this build of python. I recommend this:
             No extra libraries
  
  Enter extra libraries (e.g. -lfoo -lbar) []
  
          2. LIBRARY option. The location of the python library.
             Inline::Python needs to link against it to use Python.
  
          Here are the libraries I know about:
             1) C:/Python379/libs/python3.lib
             2) C:/Python379/libs/python37.lib
             3) C:/python397/libs/python3.lib
             4) C:/python397/libs/python39.lib
  
  Which? Or enter another. [1] 1
  
          3. INCLUDE option. The location of the python include files.
             Inline::Python needs these to compile.
  
          Here are the locations I know about:
             1) C:/Python379/include
             2) C:/python397/include
  
  Which? Or enter another. [1] 1 Using These Settings:    Extra Libs:    Python Lib:  -LC:/Python379/libs python3.lib    Includes:   
  -IC:/Python379/include    Extra Flags: none (perl Makefile.PL --help for details) Checking if your kit is complete... Looks good Warning: prerequisite Proc::ProcessTable 0.53 not found. Generating a gmake-style Makefile Writing Makefile for Inline::Python Writing MYMETA.yml and MYMETA.json   NINE/Inline-Python-0.56.tar.gz   C:\StrawberryPerl532\perl\bin\perl.exe Makefile.PL -- OK Running make for N/NI/NINE/Inline-Python-0.56.tar.gz
  ---- Unsatisfied dependencies detected during ----
  ----      NINE/Inline-Python-0.56.tar.gz      ----
      Proc::ProcessTable [build_requires] Running install for module 'Proc::ProcessTable' Checksum for C:\STRAWB~1\cpan\sources\authors\id\J\JW\JWB\Proc-ProcessTable-0.634.tar.gz ok Configuring J/JW/JWB/Proc-ProcessTable-0.634.tar.gz with Makefile.PL Checking if your kit is complete... Looks good Warning (mostly harmless): No library found for -lobstack Generating a gmake-style Makefile Writing Makefile for Proc::ProcessTable Writing MYMETA.yml and MYMETA.json   JWB/Proc-ProcessTable-0.634.tar.gz   C:\StrawberryPerl532\perl\bin\perl.exe Makefile.PL -- OK Running make for J/JW/JWB/Proc-ProcessTable-0.634.tar.gz cp lib/Proc/Killfam.pm blib\lib\Proc\Killfam.pm cp lib/Proc/ProcessTable/Process.pm blib\lib\Proc\ProcessTable\Process.pm AutoSplitting blib\lib\Proc\ProcessTable\Process.pm (blib\lib\auto\Proc\ProcessTable\Process) cp lib/Proc/ProcessTable.pm blib\lib\Proc\ProcessTable.pm cp lib/Proc/Killall.pm blib\lib\Proc\Killall.pm Running Mkbootstrap for ProcessTable () &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Command -e chmod
  -- 644 &quot;ProcessTable.bs&quot; &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Command::MM -e cp_nonempty -- ProcessTable.bs blib\arch\auto\Proc\ProcessTable\ProcessTable.bs 644 &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; &quot;C:\StrawberryPerl532\perl\lib\ExtUtils/xsubpp&quot;  -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap  ProcessTable.xs &gt; ProcessTable.xsc &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot;
  -MExtUtils::Command -e mv -- ProcessTable.xsc ProcessTable.c gcc -c   -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\&quot;0.634\&quot; -DXS_VERSION=\&quot;0.634\&quot;  &quot;-IC:\STRAWB~1\perl\lib\CORE&quot;   ProcessTable.c gcc -c   -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO
  -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\&quot;0.634\&quot; -DXS_VERSION=\&quot;0.634\&quot;  &quot;-IC:\STRAWB~1\perl\lib\CORE&quot;   OS.c &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Mksymlists \
       -e &quot;Mksymlists('NAME'=&gt;\&quot;Proc::ProcessTable\&quot;, 'DLBASE' =&gt; 'ProcessTable', 'DL_FUNCS' =&gt; {  }, 'FUNCLIST' =&gt; [], 'IMPORTS' =&gt; {  }, 'DL_VARS' =&gt; []);&quot; g++ ProcessTable.def -o blib\arch\auto\Proc\ProcessTable\ProcessTable.xs.dll -mdll -s
  -L&quot;C:\STRAWB~1\perl\lib\CORE&quot; -L&quot;C:\STRAWB~1\c\lib&quot; OS.o ProcessTable.o   &quot;C:\STRAWB~1\perl\lib\CORE\libperl532.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmoldname.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libgdi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomdlg32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libadvapi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\liboleaut32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmpr.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinmm.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbc32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbccp32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomctl32.a&quot;
  -Wl,--enable-auto-image-base C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `0A.idata' has no section C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol ' has no section C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `ltiByte' has no section C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `' has no section collect2.exe: error: ld returned 5 exit status gmake: *** [Makefile:484: blib\arch\auto\Proc\ProcessTable\ProcessTable.xs.dll] Error 1   JWB/Proc-ProcessTable-0.634.tar.gz   C:\STRAWB~1\c\bin\gmake.exe -- NOT OK Stopping: 'install' failed for 'Proc::ProcessTable'.
  </code></pre>
  <p><em><strong><strong>Below is the output/logs on executing cpan command to install
  Proc::ProcessTable,</strong></strong></em>
  cpan Proc::ProcessTable is run in command line</p>
  <pre><code>cpan Proc::ProcessTable
  Loading internal logger. Log::Log4perl recommended for better logging
  CPAN: CPAN::SQLite loaded ok (v0.219)
  CPAN: LWP::UserAgent loaded ok (v6.52)
  Fetching with LWP:
  http://cpan.strawberryperl.com/authors/01mailrc.txt.gz
  CPAN: YAML::XS loaded ok (v0.82)
  Fetching with LWP:
  http://cpan.strawberryperl.com/modules/02packages.details.txt.gz
  Fetching with LWP:
  http://cpan.strawberryperl.com/modules/03modlist.data.gz
  Database was generated on Wed, 15 Dec 2021 12:05:27 GMT
  Updating database file ... Done!
  Running install for module 'Proc::ProcessTable'
  CPAN: Digest::SHA loaded ok (v6.02)
  CPAN: Compress::Zlib loaded ok (v2.1)
  Checksum for C:\STRAWB~1\cpan\sources\authors\id\J\JW\JWB\Proc-ProcessTable-0.634.tar.gz ok
  CPAN: Archive::Tar loaded ok (v2.38)
  CPAN: CPAN::Meta::Requirements loaded ok (v2.140)
  CPAN: Parse::CPAN::Meta loaded ok (v2.150010)
  CPAN: CPAN::Meta loaded ok (v2.150010)
  CPAN: Module::CoreList loaded ok (v5.20210123)
  Configuring J/JW/JWB/Proc-ProcessTable-0.634.tar.gz with Makefile.PL
  Checking if your kit is complete...
  Looks good
  Warning (mostly harmless): No library found for -lobstack
  Generating a gmake-style Makefile
  Writing Makefile for Proc::ProcessTable
  Writing MYMETA.yml and MYMETA.json
    JWB/Proc-ProcessTable-0.634.tar.gz
    C:\StrawberryPerl532\perl\bin\perl.exe Makefile.PL -- OK
  Running make for J/JW/JWB/Proc-ProcessTable-0.634.tar.gz
  cp lib/Proc/ProcessTable.pm blib\lib\Proc\ProcessTable.pm
  cp lib/Proc/ProcessTable/Process.pm blib\lib\Proc\ProcessTable\Process.pm
  AutoSplitting blib\lib\Proc\ProcessTable\Process.pm (blib\lib\auto\Proc\ProcessTable\Process)
  cp lib/Proc/Killfam.pm blib\lib\Proc\Killfam.pm
  cp lib/Proc/Killall.pm blib\lib\Proc\Killall.pm
  Running Mkbootstrap for ProcessTable ()
  &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Command -e chmod -- 644 &quot;ProcessTable.bs&quot;
  &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Command::MM -e cp_nonempty -- ProcessTable.bs blib\arch\auto\Proc\ProcessTable\ProcessTable.bs 644
  &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; &quot;C:\StrawberryPerl532\perl\lib\ExtUtils/xsubpp&quot;  -typemap C:\STRAWB~1\perl\lib\ExtUtils\typemap  ProcessTable.xs &gt; ProcessTable.xsc
  &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Command -e mv -- ProcessTable.xsc ProcessTable.c
  gcc -c   -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\&quot;0.634\&quot; -DXS_VERSION=\&quot;0.634\&quot;  &quot;-IC:\STRAWB~1\perl\lib\CORE&quot;   ProcessTable.c
  gcc -c   -DWIN32 -DWIN64 -D__USE_MINGW_ANSI_STDIO -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s -O2   -DVERSION=\&quot;0.634\&quot; -DXS_VERSION=\&quot;0.634\&quot;  &quot;-IC:\STRAWB~1\perl\lib\CORE&quot;   OS.c
  &quot;C:\StrawberryPerl532\perl\bin\perl.exe&quot; -MExtUtils::Mksymlists \
       -e &quot;Mksymlists('NAME'=&gt;\&quot;Proc::ProcessTable\&quot;, 'DLBASE' =&gt; 'ProcessTable', 'DL_FUNCS' =&gt; {  }, 'FUNCLIST' =&gt; [], 'IMPORTS' =&gt; {  }, 'DL_VARS' =&gt; []);&quot;
  g++ ProcessTable.def -o blib\arch\auto\Proc\ProcessTable\ProcessTable.xs.dll -mdll -s -L&quot;C:\STRAWB~1\perl\lib\CORE&quot; -L&quot;C:\STRAWB~1\c\lib&quot; OS.o ProcessTable.o   &quot;C:\STRAWB~1\perl\lib\CORE\libperl532.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmoldname.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuser32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libgdi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinspool.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomdlg32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libadvapi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libshell32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libole32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\liboleaut32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libnetapi32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libuuid.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libws2_32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libmpr.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libwinmm.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libversion.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbc32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libodbccp32.a&quot; &quot;C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libcomctl32.a&quot; -Wl,--enable-auto-image-base
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `0A.idata' has no section
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol ' has no section
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `ltiByte' has no section
  C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: warning: C:\STRAWB~1\c\x86_64-w64-mingw32\lib\libkernel32.a(libkernel32s01546.o): local symbol `' has no section
  collect2.exe: error: ld returned 5 exit status
  gmake: *** [Makefile:484: blib\arch\auto\Proc\ProcessTable\ProcessTable.xs.dll] Error 1
    JWB/Proc-ProcessTable-0.634.tar.gz
    C:\STRAWB~1\c\bin\gmake.exe -- NOT OK
  Stopping: 'install' failed for 'Proc::ProcessTable'.
  </code></pre>