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

install fails on windows #3

Closed
forwardever opened this issue Jul 30, 2013 · 27 comments
Closed

install fails on windows #3

forwardever opened this issue Jul 30, 2013 · 27 comments

Comments

@forwardever
Copy link

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Searching Parse::Keyword on cpanmetadb ...
--> Working on Parse::Keyword
Fetching http://www.cpan.org/authors/id/D/DO/DOY/Parse-Keyword-0.05.tar.gz
-> OK
Unpacking Parse-Keyword-0.05.tar.gz
Entering Parse-Keyword-0.05
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.64)
Checking if you have Devel::CallParser 0 ... Yes (0.001)
Configuring Parse-Keyword-0.05
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have File::Find 0 ... Yes (1.20)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have Exporter 0 ... Yes (5.67)
Checking if you have if 0 ... Yes (0.0602)
Checking if you have Carp 0 ... Yes (1.26)
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have File::Find 0 ... Yes (1.20)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have Exporter 0 ... Yes (5.67)
Checking if you have if 0 ... Yes (0.0602)
Checking if you have Carp 0 ... Yes (1.26)
Checking if you have warnings 0 ... Yes (1.13)
Checking if you have strict 0 ... Yes (1.07)
Checking if you have XSLoader 0 ... Yes (0.16)
Checking if you have Devel::CallParser 0 ... Yes (0.001)
Building and testing Parse-Keyword-0.05
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap  Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c      -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2      -DVERSION=\"0.05\"    -DXS_VERSION=\"0.05\"  "-IC:\strawberry5.16\perl\lib\CORE"   Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Keyword.o:Keyword.c:(.text+0x16b3): undefined reference to `__imp_C8K61oRQKxigiqmUlVdk_scp1'
Keyword.o:Keyword.c:(.text+0x1836): undefined reference to `__imp_Perl_scalar'
c:/strawberry5.16/c/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: Keyword.o: bad reloc address 0x0 in section `.pdata'
c:/strawberry5.16/c/bin/../lib/gcc/x86_64-w64-mingw32/4.6.3/../../../../x86_64-w64-mingw32/bin/ld.exe: final link failed: Invalid operation
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Parse\Keyword\Keyword.dll'
-> FAIL Installing Parse::Keyword failed. See C:\Users\Andre\.cpanm\build.log for details.
doy added a commit that referenced this issue Jul 30, 2013
it's not public api, so this prevents building on windows (and other
platforms that don't expose everything for linking), and we're building
the whole optree by hand at once, so there's no reason to use fixup
functions like this whose only use is for when we're building the optree
incrementally during parsing.
doy added a commit that referenced this issue Jul 30, 2013
i think this is the right thing, not quite sure
@doy
Copy link
Owner

doy commented Jul 30, 2013

Can you try the current version in the repository now?

@forwardever
Copy link
Author

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375227084.15696
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/1FfgF5GZza'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/1FfgF5GZza
Configuring C:/Users/Andre/AppData/Local/Temp/1FfgF5GZza
Running Makefile.PL
Can't locate ExtUtils/MakeMaker/Dist/Zilla/Develop.pm in @inc (@inc contains: C:/strawberry5.16/perl/site/lib/MSWin32-x64-multi-thread C:/strawberry5.16/perl/site/lib C:/strawberry5.16/perl/vendor/lib C:/strawberry5.16/perl/lib .) at Makefile.PL line 8.
BEGIN failed--compilation aborted at Makefile.PL line 8.
-> N/A
-> FAIL Configure failed for git@github.com:doy/parse-keyword.git. See C:\Users\Andre.cpanm\build.log for details.

@forwardever
Copy link
Author

now

cpanm ExtUtils::MakeMaker::Dist::Zilla::Develop.pm

then

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375227207.14848
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/3_CxAGzmDm'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/3_CxAGzmDm
Configuring C:/Users/Andre/AppData/Local/Temp/3_CxAGzmDm
Running Makefile.PL

  ********************************* WARNING **********************************

  This module uses Dist::Zilla for development. This Makefile.PL will let you
  run the tests, but you are encouraged to install Dist::Zilla and the needed
  plugins if you intend on doing any serious hacking.

  ****************************************************************************

Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap  Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c      -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2      -DVERSION=\"\"    -DXS_VERSION=\"\"  "-IC:\strawberry5.16\perl\lib\CORE"   Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Keyword.o:Keyword.c:(.text+0x16b3): undefined reference to `__imp_C8K61oRQKxigiqmUlVdk_scp1'
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Parse\Keyword\Keyword.dll'
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre\.cpanm\build.log for details.

@forwardever
Copy link
Author

cpanm Dist::Zilla

@forwardever
Copy link
Author

46 distributions installed

but same error

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375228070.38104
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/5NgyeAkDlD'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/5NgyeAkDlD
Configuring C:/Users/Andre/AppData/Local/Temp/5NgyeAkDlD
Running Makefile.PL

  ********************************* WARNING **********************************

  This module uses Dist::Zilla for development. This Makefile.PL will let you
  run the tests, but you are encouraged to install Dist::Zilla and the needed
  plugins if you intend on doing any serious hacking.

  ****************************************************************************

Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap  Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c      -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2      -DVERSION=\"\"    -DXS_VERSION=\"\"  "-IC:\strawberry5.16\perl\lib\CORE"   Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Keyword.o:Keyword.c:(.text+0x16b3): undefined reference to `__imp_C8K61oRQKxigiqmUlVdk_scp1'
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Parse\Keyword\Keyword.dll'
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre\.cpanm\build.log for details.

@doy
Copy link
Owner

doy commented Jul 31, 2013

Can you show me the output of perl -MDevel::CallParser -E'say for Devel::CallParser::callparser_linkable'?

@doy
Copy link
Owner

doy commented Jul 31, 2013

Oh, actually, just try dzil test rather than using Makefile.PL.

doy added a commit that referenced this issue Jul 31, 2013
@doy
Copy link
Owner

doy commented Jul 31, 2013

Just updated the Makefile.PL too, so you can try using that as well now.

@forwardever
Copy link
Author

perl -MDevel::CallParser -E"say for Devel::CallParser::callparser_linkable"

C:/strawberry5.16/perl/site/lib/auto/Devel/CallParser/CallParser.a

@forwardever
Copy link
Author

Building and testing Dist-Zilla-Plugin-Test-Compile-2.013 ... FAIL

there is no system('make'); on windows

@doy
Copy link
Owner

doy commented Jul 31, 2013

What is calling system('make')? Does dzil test work?

@doy
Copy link
Owner

doy commented Jul 31, 2013

Oh, I see - just try using the Makefile.PL again.

@forwardever
Copy link
Author

using

cpanm git@github.com:doy/parse-keyword.git

again, hope this is what you wanted?

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375277396.38720
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/Ej14vbaPUb'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/Ej14vbaPUb
Configuring C:/Users/Andre/AppData/Local/Temp/Ej14vbaPUb
Running Makefile.PL

  ********************************* WARNING **********************************

  This module uses Dist::Zilla for development. This Makefile.PL will let you
  run the tests, but you are encouraged to install Dist::Zilla and the needed
  plugins if you intend on doing any serious hacking.

  ****************************************************************************

Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" C:/strawberry5.16/perl/site/lib/auto/Devel/CallParser/CallParser.a   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dll.exp:fake:(.edata+0x34): undefined reference to `boot_Parse__Keyword'
dll.exp:fake:(.edata+0x38): undefined reference to `boot_Parse__Keyword'
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Parse\Keyword\Keyword.dll'
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre\.cpanm\build.log for details.
Expiring 1 work directories.

@doy
Copy link
Owner

doy commented Jul 31, 2013

I filed https://rt.cpan.org/Ticket/Display.html?id=87481 to follow up on the dzil issue, for what it's worth. As for the new results, can you show me the contents of Keyword.def (which is created as part of the build process)?

@forwardever
Copy link
Author

Keyword.def

EXPORTS
  boot_Parse__Keyword
  _boot_Parse__Keyword = boot_Parse__Keyword

@doy
Copy link
Owner

doy commented Jul 31, 2013

Try building again?

@forwardever
Copy link
Author

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375283471.8504
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/YegpfhzTKP'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/YegpfhzTKP
Configuring C:/Users/Andre/AppData/Local/Temp/YegpfhzTKP
Running Makefile.PL

  ********************************* WARNING **********************************

  This module uses Dist::Zilla for development. This Makefile.PL will let you
  run the tests, but you are encouraged to install Dist::Zilla and the needed
  plugins if you intend on doing any serious hacking.

  ****************************************************************************

Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap  Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c      -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2      -DVERSION=\"\"    -DXS_VERSION=\"\"  "-IC:\strawberry5.16\perl\lib\CORE"   Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" C:/strawberry5.16/perl/site/lib/auto/Devel/CallParser/CallParser.a Keyword.o   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
Keyword.o:Keyword.c:(.text+0x16b3): undefined reference to `__imp_C8K61oRQKxigiqmUlVdk_scp1'
collect2: ld returned 1 exit status
dmake.exe:  Error code 129, while making 'blib\arch\auto\Parse\Keyword\Keyword.dll'
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre\.cpanm\build.log for details.

@doy
Copy link
Owner

doy commented Jul 31, 2013

I think I'm going to have to look into this myself, I'll let you know what I come up with.

doy added a commit that referenced this issue Jul 31, 2013
@doy
Copy link
Owner

doy commented Jul 31, 2013

Okay, I think this may have done it. Can you give this one a try?

@forwardever
Copy link
Author

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375313086.8580
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/DvvkAhIJJC'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/DvvkAhIJJC
Configuring C:/Users/Andre/AppData/Local/Temp/DvvkAhIJJC
Running Makefile.PL

  ********************************* WARNING **********************************

  This module uses Dist::Zilla for development. This Makefile.PL will let you
  run the tests, but you are encouraged to install Dist::Zilla and the needed
  plugins if you intend on doing any serious hacking.

  ****************************************************************************

Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
dmake.exe:  Error: -- `:' not found, and can't be made
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre\.cpanm\build.log for details.

@doy
Copy link
Owner

doy commented Jul 31, 2013

Can you show me what the generated Makefile looks like?

@forwardever
Copy link
Author

# This Makefile is for the Parse::Keyword extension to perl.
#
# It was generated automatically by MakeMaker version
# 6.64 (Revision: 66400) from the contents of
# Makefile.PL. Don't edit this file, edit Makefile.PL instead.
#
#       ANY CHANGES MADE HERE WILL BE LOST!
#
#   MakeMaker ARGV: ()
#

#   MakeMaker Parameters:

#     BUILD_REQUIRES => {  }
#     CONFIGURE_REQUIRES => {  }
#     NAME => q[Parse::Keyword]
#     OBJECT => q[Keyword.o C:/strawberry5.16/perl/site/lib/auto/Devel/CallParser/CallParser.a]
#     PREREQ_PM => {  }
#     TEST_REQUIRES => {  }
#     clean => { FILES=>q[callparser1.h] }

# --- MakeMaker post_initialize section:


# --- MakeMaker const_config section:

# These definitions are from config.sh (via C:/strawberry5.16/perl/lib/Config.pm).
# They may have been overridden via Makefile.PL or on the command line.
AR = ar
CC = gcc
CCCDLFLAGS =  
CCDLFLAGS =  
DLEXT = dll
DLSRC = dl_win32.xs
EXE_EXT = .exe
FULL_AR = 
LD = g++
LDDLFLAGS = -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib"
LDFLAGS = -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib"
LIBC = 
LIB_EXT = .a
OBJ_EXT = .o
OSNAME = MSWin32
OSVERS = 4.0
RANLIB = rem
SITELIBEXP = C:\strawberry5.16\perl\site\lib
SITEARCHEXP = C:\strawberry5.16\perl\site\lib
SO = dll
VENDORARCHEXP = C:\strawberry5.16\perl\vendor\lib
VENDORLIBEXP = C:\strawberry5.16\perl\vendor\lib


# --- MakeMaker constants section:

# Get dmake to read long commands like PM_TO_BLIB
MAXLINELENGTH = 65536

AR_STATIC_ARGS = cr
DIRFILESEP = \\
DFSEP = $(DIRFILESEP)
NAME = Parse::Keyword
NAME_SYM = Parse_Keyword
VERSION = 
VERSION_MACRO = VERSION
VERSION_SYM = 
DEFINE_VERSION = -D$(VERSION_MACRO)=\"$(VERSION)\"
XS_VERSION = 
XS_VERSION_MACRO = XS_VERSION
XS_DEFINE_VERSION = -D$(XS_VERSION_MACRO)=\"$(XS_VERSION)\"
INST_ARCHLIB = blib\arch
INST_SCRIPT = blib\script
INST_BIN = blib\bin
INST_LIB = blib\lib
INST_MAN1DIR = blib\man1
INST_MAN3DIR = blib\man3
MAN1EXT = 1
MAN3EXT = 3
INSTALLDIRS = site
DESTDIR = 
PREFIX = $(SITEPREFIX)
PERLPREFIX = C:\strawberry5.16\perl
SITEPREFIX = C:\strawberry5.16\perl\site
VENDORPREFIX = C:\strawberry5.16\perl\vendor
INSTALLPRIVLIB = C:\strawberry5.16\perl\lib
DESTINSTALLPRIVLIB = $(DESTDIR)$(INSTALLPRIVLIB)
INSTALLSITELIB = C:\strawberry5.16\perl\site\lib
DESTINSTALLSITELIB = $(DESTDIR)$(INSTALLSITELIB)
INSTALLVENDORLIB = C:\strawberry5.16\perl\vendor\lib
DESTINSTALLVENDORLIB = $(DESTDIR)$(INSTALLVENDORLIB)
INSTALLARCHLIB = C:\strawberry5.16\perl\lib
DESTINSTALLARCHLIB = $(DESTDIR)$(INSTALLARCHLIB)
INSTALLSITEARCH = C:\strawberry5.16\perl\site\lib
DESTINSTALLSITEARCH = $(DESTDIR)$(INSTALLSITEARCH)
INSTALLVENDORARCH = C:\strawberry5.16\perl\vendor\lib
DESTINSTALLVENDORARCH = $(DESTDIR)$(INSTALLVENDORARCH)
INSTALLBIN = C:\strawberry5.16\perl\bin
DESTINSTALLBIN = $(DESTDIR)$(INSTALLBIN)
INSTALLSITEBIN = C:\strawberry5.16\perl\site\bin
DESTINSTALLSITEBIN = $(DESTDIR)$(INSTALLSITEBIN)
INSTALLVENDORBIN = C:\strawberry5.16\perl\bin
DESTINSTALLVENDORBIN = $(DESTDIR)$(INSTALLVENDORBIN)
INSTALLSCRIPT = C:\strawberry5.16\perl\bin
DESTINSTALLSCRIPT = $(DESTDIR)$(INSTALLSCRIPT)
INSTALLSITESCRIPT = C:\strawberry5.16\perl\site\bin
DESTINSTALLSITESCRIPT = $(DESTDIR)$(INSTALLSITESCRIPT)
INSTALLVENDORSCRIPT = C:\strawberry5.16\perl\bin
DESTINSTALLVENDORSCRIPT = $(DESTDIR)$(INSTALLVENDORSCRIPT)
INSTALLMAN1DIR = none
DESTINSTALLMAN1DIR = $(DESTDIR)$(INSTALLMAN1DIR)
INSTALLSITEMAN1DIR = $(INSTALLMAN1DIR)
DESTINSTALLSITEMAN1DIR = $(DESTDIR)$(INSTALLSITEMAN1DIR)
INSTALLVENDORMAN1DIR = $(INSTALLMAN1DIR)
DESTINSTALLVENDORMAN1DIR = $(DESTDIR)$(INSTALLVENDORMAN1DIR)
INSTALLMAN3DIR = none
DESTINSTALLMAN3DIR = $(DESTDIR)$(INSTALLMAN3DIR)
INSTALLSITEMAN3DIR = $(INSTALLMAN3DIR)
DESTINSTALLSITEMAN3DIR = $(DESTDIR)$(INSTALLSITEMAN3DIR)
INSTALLVENDORMAN3DIR = $(INSTALLMAN3DIR)
DESTINSTALLVENDORMAN3DIR = $(DESTDIR)$(INSTALLVENDORMAN3DIR)
PERL_LIB = C:\strawberry5.16\perl\lib
PERL_ARCHLIB = C:\strawberry5.16\perl\lib
LIBPERL_A = libperl.a
FIRST_MAKEFILE = Makefile
MAKEFILE_OLD = Makefile.old
MAKE_APERL_FILE = Makefile.aperl
PERLMAINCC = $(CC)
PERL_INC = C:\strawberry5.16\perl\lib\CORE
PERL = C:\strawberry5.16\perl\bin\perl.exe
FULLPERL = C:\strawberry5.16\perl\bin\perl.exe
ABSPERL = $(PERL)
PERLRUN = $(PERL)
FULLPERLRUN = $(FULLPERL)
ABSPERLRUN = $(ABSPERL)
PERLRUNINST = $(PERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
FULLPERLRUNINST = $(FULLPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
ABSPERLRUNINST = $(ABSPERLRUN) "-I$(INST_ARCHLIB)" "-I$(INST_LIB)"
PERL_CORE = 0
PERM_DIR = 755
PERM_RW = 644
PERM_RWX = 755

MAKEMAKER   = C:/strawberry5.16/perl/lib/ExtUtils/MakeMaker.pm
MM_VERSION  = 6.64
MM_REVISION = 66400

# FULLEXT = Pathname for extension directory (eg Foo/Bar/Oracle).
# BASEEXT = Basename part of FULLEXT. May be just equal FULLEXT. (eg Oracle)
# PARENT_NAME = NAME without BASEEXT and no trailing :: (eg Foo::Bar)
# DLBASE  = Basename part of dynamic library. May be just equal BASEEXT.
MAKE = dmake
FULLEXT = Parse\Keyword
BASEEXT = Keyword
PARENT_NAME = Parse
DLBASE = $(BASEEXT)
VERSION_FROM = 
OBJECT = Keyword$(OBJ_EXT) C:/strawberry5.16/perl/site/lib/auto/Devel/CallParser/CallParser.a
LDFROM = $(OBJECT)
LINKTYPE = dynamic
BOOTDEP = 

# Handy lists of source code files:
XS_FILES = Keyword.xs
C_FILES  = Keyword.c
O_FILES  = Keyword.o
H_FILES  = callparser1.h
MAN1PODS = 
MAN3PODS = 

# Where is the Config information that we are using/depend on
CONFIGDEP = $(PERL_ARCHLIB)$(DFSEP)Config.pm $(PERL_INC)$(DFSEP)config.h

# Where to build things
INST_LIBDIR      = $(INST_LIB)\Parse
INST_ARCHLIBDIR  = $(INST_ARCHLIB)\Parse

INST_AUTODIR     = $(INST_LIB)\auto\$(FULLEXT)
INST_ARCHAUTODIR = $(INST_ARCHLIB)\auto\$(FULLEXT)

INST_STATIC      = $(INST_ARCHAUTODIR)\$(BASEEXT)$(LIB_EXT)
INST_DYNAMIC     = $(INST_ARCHAUTODIR)\$(DLBASE).$(DLEXT)
INST_BOOT        = $(INST_ARCHAUTODIR)\$(BASEEXT).bs

# Extra linker info
EXPORT_LIST        = $(BASEEXT).def
PERL_ARCHIVE       = $(PERL_INC)\libperl516.a
PERL_ARCHIVE_AFTER = 


TO_INST_PM = lib/Parse/Keyword.pm

PM_TO_BLIB = lib/Parse/Keyword.pm \
    blib\lib\Parse\Keyword.pm


# --- MakeMaker platform_constants section:
MM_Win32_VERSION = 6.64


# --- MakeMaker tool_autosplit section:
# Usage: $(AUTOSPLITFILE) FileToSplit AutoDirToSplitInto
AUTOSPLITFILE = $(ABSPERLRUN)  -e "use AutoSplit;  autosplit($$$$ARGV[0], $$$$ARGV[1], 0, 1, 1)" --



# --- MakeMaker tool_xsubpp section:

XSUBPPDIR = C:\strawberry5.16\perl\lib\ExtUtils
XSUBPP = $(XSUBPPDIR)$(DFSEP)xsubpp
XSUBPPRUN = $(PERLRUN) $(XSUBPP)
XSPROTOARG = 
XSUBPPDEPS = C:\strawberry5.16\perl\lib\ExtUtils\typemap $(XSUBPP)
XSUBPPARGS = -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap
XSUBPP_EXTRA_ARGS = 


# --- MakeMaker tools_other section:
CHMOD = $(ABSPERLRUN) -MExtUtils::Command -e chmod --
CP = $(ABSPERLRUN) -MExtUtils::Command -e cp --
MV = $(ABSPERLRUN) -MExtUtils::Command -e mv --
NOOP = rem
NOECHO = @
RM_F = $(ABSPERLRUN) -MExtUtils::Command -e rm_f --
RM_RF = $(ABSPERLRUN) -MExtUtils::Command -e rm_rf --
TEST_F = $(ABSPERLRUN) -MExtUtils::Command -e test_f --
TOUCH = $(ABSPERLRUN) -MExtUtils::Command -e touch --
UMASK_NULL = umask 0
DEV_NULL = > NUL
MKPATH = $(ABSPERLRUN) -MExtUtils::Command -e mkpath --
EQUALIZE_TIMESTAMP = $(ABSPERLRUN) -MExtUtils::Command -e eqtime --
FALSE = $(ABSPERLRUN)  -e "exit 1" --
TRUE = $(ABSPERLRUN)  -e "exit 0" --
ECHO = $(ABSPERLRUN) -l -e "print qq{{@ARGV}}" --
ECHO_N = $(ABSPERLRUN)  -e "print qq{{@ARGV}}" --
UNINST = 0
VERBINST = 0
MOD_INSTALL = $(ABSPERLRUN) -MExtUtils::Install -e "install([ from_to => {{@ARGV}}, verbose => '$(VERBINST)', uninstall_shadows => '$(UNINST)', dir_mode => '$(PERM_DIR)' ]);" --
DOC_INSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e perllocal_install --
UNINSTALL = $(ABSPERLRUN) -MExtUtils::Command::MM -e uninstall --
WARN_IF_OLD_PACKLIST = $(ABSPERLRUN) -MExtUtils::Command::MM -e warn_if_old_packlist --
MACROSTART = 
MACROEND = 
USEMAKEFILE = -f
FIXIN = pl2bat.bat


# --- MakeMaker makemakerdflt section:
makemakerdflt : all
    $(NOECHO) $(NOOP)


# --- MakeMaker dist section:
TAR = tar
TARFLAGS = cvf
ZIP = zip
ZIPFLAGS = -r
COMPRESS = gzip --best
SUFFIX = .gz
SHAR = shar
PREOP = $(NOECHO) $(NOOP)
POSTOP = $(NOECHO) $(NOOP)
TO_UNIX = $(NOECHO) $(NOOP)
CI = ci -u
RCS_LABEL = rcs -Nv$(VERSION_SYM): -q
DIST_CP = best
DIST_DEFAULT = tardist
DISTNAME = Parse-Keyword
DISTVNAME = Parse-Keyword-


# --- MakeMaker macro section:


# --- MakeMaker depend section:


# --- MakeMaker cflags section:

CCFLAGS = -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields
OPTIMIZE = -s -O2
PERLTYPE = 


# --- MakeMaker const_loadlibs section:

# Parse::Keyword might depend on some other libraries:
# See ExtUtils::Liblist for details
#
LDLOADLIBS = -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32


# --- MakeMaker const_cccmd section:
CCCMD = $(CC) -c $(PASTHRU_INC) $(INC) \
    $(CCFLAGS) $(OPTIMIZE) \
    $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
    $(XS_DEFINE_VERSION)

# --- MakeMaker post_constants section:


# --- MakeMaker pasthru section:
PASTHRU = 

# --- MakeMaker special_targets section:
.SUFFIXES : .xs .c .C .cpp .i .s .cxx .cc $(OBJ_EXT)

.PHONY: all config static dynamic test linkext manifest blibdirs clean realclean disttest distdir

.USESHELL :


# --- MakeMaker c_o section:

.c.i:
    gcc -E -c $(PASTHRU_INC) $(INC) \
    $(CCFLAGS) $(OPTIMIZE) \
    $(PERLTYPE) $(MPOLLUTE) $(DEFINE_VERSION) \
    $(XS_DEFINE_VERSION) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c > $*.i

.c.s:
    $(CCCMD) -S $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c

.c$(OBJ_EXT):
    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.c

.cpp$(OBJ_EXT):
    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cpp

.cxx$(OBJ_EXT):
    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cxx

.cc$(OBJ_EXT):
    $(CCCMD) $(CCCDLFLAGS) "-I$(PERL_INC)" $(PASTHRU_DEFINE) $(DEFINE) $*.cc


# --- MakeMaker xs_c section:

.xs.c:
    $(XSUBPPRUN) $(XSPROTOARG) $(XSUBPPARGS) $(XSUBPP_EXTRA_ARGS) $*.xs > $*.xsc && $(MV) $*.xsc $*.c


# --- MakeMaker xs_o section:


# --- MakeMaker top_targets section:
all :: pure_all
    $(NOECHO) $(NOOP)


pure_all :: config pm_to_blib subdirs linkext
    $(NOECHO) $(NOOP)

subdirs :: $(MYEXTLIB)
    $(NOECHO) $(NOOP)

config :: $(FIRST_MAKEFILE) blibdirs
    $(NOECHO) $(NOOP)

$(O_FILES): $(H_FILES)

help :
    perldoc ExtUtils::MakeMaker


# --- MakeMaker blibdirs section:
blibdirs : $(INST_LIBDIR)$(DFSEP).exists $(INST_ARCHLIB)$(DFSEP).exists $(INST_AUTODIR)$(DFSEP).exists $(INST_ARCHAUTODIR)$(DFSEP).exists $(INST_BIN)$(DFSEP).exists $(INST_SCRIPT)$(DFSEP).exists $(INST_MAN1DIR)$(DFSEP).exists $(INST_MAN3DIR)$(DFSEP).exists
    $(NOECHO) $(NOOP)

# Backwards compat with 6.18 through 6.25
blibdirs.ts : blibdirs
    $(NOECHO) $(NOOP)

$(INST_LIBDIR)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_LIBDIR)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_LIBDIR)
    $(NOECHO) $(TOUCH) $(INST_LIBDIR)$(DFSEP).exists

$(INST_ARCHLIB)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_ARCHLIB)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHLIB)
    $(NOECHO) $(TOUCH) $(INST_ARCHLIB)$(DFSEP).exists

$(INST_AUTODIR)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_AUTODIR)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_AUTODIR)
    $(NOECHO) $(TOUCH) $(INST_AUTODIR)$(DFSEP).exists

$(INST_ARCHAUTODIR)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_ARCHAUTODIR)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_ARCHAUTODIR)
    $(NOECHO) $(TOUCH) $(INST_ARCHAUTODIR)$(DFSEP).exists

$(INST_BIN)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_BIN)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_BIN)
    $(NOECHO) $(TOUCH) $(INST_BIN)$(DFSEP).exists

$(INST_SCRIPT)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_SCRIPT)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_SCRIPT)
    $(NOECHO) $(TOUCH) $(INST_SCRIPT)$(DFSEP).exists

$(INST_MAN1DIR)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_MAN1DIR)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN1DIR)
    $(NOECHO) $(TOUCH) $(INST_MAN1DIR)$(DFSEP).exists

$(INST_MAN3DIR)$(DFSEP).exists :: Makefile.PL
    $(NOECHO) $(MKPATH) $(INST_MAN3DIR)
    $(NOECHO) $(CHMOD) $(PERM_DIR) $(INST_MAN3DIR)
    $(NOECHO) $(TOUCH) $(INST_MAN3DIR)$(DFSEP).exists



# --- MakeMaker linkext section:

linkext :: $(LINKTYPE)
    $(NOECHO) $(NOOP)


# --- MakeMaker dlsyms section:

Keyword.def: Makefile.PL
    $(PERLRUN) -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => '$(BASEEXT)', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"


# --- MakeMaker dynamic section:

dynamic :: $(FIRST_MAKEFILE) $(INST_DYNAMIC) $(INST_BOOT)
    $(NOECHO) $(NOOP)


# --- MakeMaker dynamic_bs section:
BOOTSTRAP = $(BASEEXT).bs

# As Mkbootstrap might not write a file (if none is required)
# we use touch to prevent make continually trying to remake it.
# The DynaLoader only reads a non-empty file.
$(BOOTSTRAP) : $(FIRST_MAKEFILE) $(BOOTDEP) $(INST_ARCHAUTODIR)$(DFSEP).exists
    $(NOECHO) $(ECHO) "Running Mkbootstrap for $(NAME) ($(BSLOADLIBS))"
    $(NOECHO) $(PERLRUN) \
        "-MExtUtils::Mkbootstrap" \
        -e "Mkbootstrap('$(BASEEXT)','$(BSLOADLIBS)');"
    $(NOECHO) $(TOUCH) $@
    $(CHMOD) $(PERM_RW) $@

$(INST_BOOT) : $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists
    $(NOECHO) $(RM_RF) $@
    - $(CP) $(BOOTSTRAP) $@
    $(CHMOD) $(PERM_RW) $@


# --- MakeMaker dynamic_lib section:

# This section creates the dynamically loadable $(INST_DYNAMIC)
# from $(OBJECT) and possibly $(MYEXTLIB).
OTHERLDFLAGS = 
INST_DYNAMIC_DEP = 

$(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $(BOOTSTRAP) $(INST_ARCHAUTODIR)$(DFSEP).exists $(EXPORT_LIST) $(PERL_ARCHIVE) $(INST_DYNAMIC_DEP)
    dlltool --def $(EXPORT_LIST) --output-exp dll.exp
    $(LD) -o $@ -Wl,--base-file -Wl,dll.base $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp
    dlltool --def $(EXPORT_LIST) --base-file dll.base --output-exp dll.exp
    $(LD) -o $@ $(LDDLFLAGS) $(LDFROM) $(OTHERLDFLAGS) $(MYEXTLIB) $(PERL_ARCHIVE) $(LDLOADLIBS) dll.exp 
    $(CHMOD) $(PERM_RWX) $@


# --- MakeMaker static section:

## $(INST_PM) has been moved to the all: target.
## It remains here for awhile to allow for old usage: "make static"
static :: $(FIRST_MAKEFILE) $(INST_STATIC)
    $(NOECHO) $(NOOP)


# --- MakeMaker static_lib section:
$(INST_STATIC): $(OBJECT) $(MYEXTLIB) $(INST_ARCHAUTODIR)$(DFSEP).exists
    $(RM_RF) $@
    $(AR) -ru $@ $(OBJECT)
    $(CHMOD) $(PERM_RWX) $@
    $(NOECHO) $(ECHO) "$(EXTRALIBS)" > $(INST_ARCHAUTODIR)\extralibs.ld


# --- MakeMaker manifypods section:

POD2MAN_EXE = $(PERLRUN) "-MExtUtils::Command::MM" -e pod2man "--"
POD2MAN = $(POD2MAN_EXE)


manifypods : pure_all 
    $(NOECHO) $(NOOP)




# --- MakeMaker processPL section:


# --- MakeMaker installbin section:


# --- MakeMaker subdirs section:

# none

# --- MakeMaker clean_subdirs section:
clean_subdirs :
    $(NOECHO) $(NOOP)


# --- MakeMaker clean section:

# Delete temporary files but do not touch installed files. We don't delete
# the Makefile here so a later make realclean still has a makefile to use.

clean :: clean_subdirs
    - $(RM_F) \
      core.[0-9] $(BASEEXT).bso \
      pm_to_blib.ts core.[0-9][0-9][0-9][0-9] \
      MYMETA.yml perl$(EXE_EXT) \
      tmon.out *$(OBJ_EXT) \
      pm_to_blib blibdirs.ts \
      *perl.core core.*perl.*.? \
      $(BASEEXT).def core.[0-9][0-9][0-9] \
      mon.out lib$(BASEEXT).def \
      perlmain.c perl.exe \
      so_locations $(BASEEXT).exp \
      *$(LIB_EXT) core \
      Keyword.c core.[0-9][0-9] \
      $(INST_ARCHAUTODIR)\extralibs.ld MYMETA.json \
      $(BOOTSTRAP) $(BASEEXT).x \
      $(INST_ARCHAUTODIR)\extralibs.all core.[0-9][0-9][0-9][0-9][0-9] \
      $(MAKE_APERL_FILE) perl 
    - $(RM_RF) \
      callparser1.h dll.exp \
      dll.base blib 
    - $(MV) $(FIRST_MAKEFILE) $(MAKEFILE_OLD) $(DEV_NULL)


# --- MakeMaker realclean_subdirs section:
realclean_subdirs :
    $(NOECHO) $(NOOP)


# --- MakeMaker realclean section:
# Delete temporary files (via clean) and also delete dist files
realclean purge ::  clean realclean_subdirs
    - $(RM_F) \
      $(OBJECT) $(MAKEFILE_OLD) \
      $(FIRST_MAKEFILE) 
    - $(RM_RF) \
      $(DISTVNAME) 


# --- MakeMaker metafile section:
metafile : create_distdir
    $(NOECHO) $(ECHO) Generating META.yml
    $(NOECHO) $(ECHO) --- > META_new.yml
    $(NOECHO) $(ECHO) "abstract: unknown" >> META_new.yml
    $(NOECHO) $(ECHO) author: >> META_new.yml
    $(NOECHO) $(ECHO) "  - unknown" >> META_new.yml
    $(NOECHO) $(ECHO) build_requires: >> META_new.yml
    $(NOECHO) $(ECHO) "  ExtUtils::MakeMaker: 0" >> META_new.yml
    $(NOECHO) $(ECHO) configure_requires: >> META_new.yml
    $(NOECHO) $(ECHO) "  ExtUtils::MakeMaker: 0" >> META_new.yml
    $(NOECHO) $(ECHO) "dynamic_config: 1" >> META_new.yml
    $(NOECHO) $(ECHO) "generated_by: 'ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921'" >> META_new.yml
    $(NOECHO) $(ECHO) "license: unknown" >> META_new.yml
    $(NOECHO) $(ECHO) meta-spec: >> META_new.yml
    $(NOECHO) $(ECHO) "  url: http://module-build.sourceforge.net/META-spec-v1.4.html" >> META_new.yml
    $(NOECHO) $(ECHO) "  version: 1.4" >> META_new.yml
    $(NOECHO) $(ECHO) "name: Parse-Keyword" >> META_new.yml
    $(NOECHO) $(ECHO) no_index: >> META_new.yml
    $(NOECHO) $(ECHO) "  directory:" >> META_new.yml
    $(NOECHO) $(ECHO) "    - t" >> META_new.yml
    $(NOECHO) $(ECHO) "    - inc" >> META_new.yml
    $(NOECHO) $(ECHO) "requires: {{}}" >> META_new.yml
    $(NOECHO) $(ECHO) "version: ''" >> META_new.yml
    -$(NOECHO) $(MV) META_new.yml $(DISTVNAME)/META.yml
    $(NOECHO) $(ECHO) Generating META.json
    $(NOECHO) $(ECHO) {{ > META_new.json
    $(NOECHO) $(ECHO) "   \"abstract\" : \"unknown\"," >> META_new.json
    $(NOECHO) $(ECHO) "   \"author\" : [" >> META_new.json
    $(NOECHO) $(ECHO) "      \"unknown\"" >> META_new.json
    $(NOECHO) $(ECHO) "   ]," >> META_new.json
    $(NOECHO) $(ECHO) "   \"dynamic_config\" : 1," >> META_new.json
    $(NOECHO) $(ECHO) "   \"generated_by\" : \"ExtUtils::MakeMaker version 6.64, CPAN::Meta::Converter version 2.120921\"," >> META_new.json
    $(NOECHO) $(ECHO) "   \"license\" : [" >> META_new.json
    $(NOECHO) $(ECHO) "      \"unknown\"" >> META_new.json
    $(NOECHO) $(ECHO) "   ]," >> META_new.json
    $(NOECHO) $(ECHO) "   \"meta-spec\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "      \"url\" : \"http://search.cpan.org/perldoc?CPAN::Meta::Spec\"," >> META_new.json
    $(NOECHO) $(ECHO) "      \"version\" : \"2\"" >> META_new.json
    $(NOECHO) $(ECHO) "   }}," >> META_new.json
    $(NOECHO) $(ECHO) "   \"name\" : \"Parse-Keyword\"," >> META_new.json
    $(NOECHO) $(ECHO) "   \"no_index\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "      \"directory\" : [" >> META_new.json
    $(NOECHO) $(ECHO) "         \"t\"," >> META_new.json
    $(NOECHO) $(ECHO) "         \"inc\"" >> META_new.json
    $(NOECHO) $(ECHO) "      ]" >> META_new.json
    $(NOECHO) $(ECHO) "   }}," >> META_new.json
    $(NOECHO) $(ECHO) "   \"prereqs\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "      \"build\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "         \"requires\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "            \"ExtUtils::MakeMaker\" : \"0\"" >> META_new.json
    $(NOECHO) $(ECHO) "         }}" >> META_new.json
    $(NOECHO) $(ECHO) "      }}," >> META_new.json
    $(NOECHO) $(ECHO) "      \"configure\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "         \"requires\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "            \"ExtUtils::MakeMaker\" : \"0\"" >> META_new.json
    $(NOECHO) $(ECHO) "         }}" >> META_new.json
    $(NOECHO) $(ECHO) "      }}," >> META_new.json
    $(NOECHO) $(ECHO) "      \"runtime\" : {{" >> META_new.json
    $(NOECHO) $(ECHO) "         \"requires\" : {{}}" >> META_new.json
    $(NOECHO) $(ECHO) "      }}" >> META_new.json
    $(NOECHO) $(ECHO) "   }}," >> META_new.json
    $(NOECHO) $(ECHO) "   \"release_status\" : \"stable\"," >> META_new.json
    $(NOECHO) $(ECHO) "   \"version\" : \"\"" >> META_new.json
    $(NOECHO) $(ECHO) }} >> META_new.json
    -$(NOECHO) $(MV) META_new.json $(DISTVNAME)/META.json


# --- MakeMaker signature section:
signature :
    cpansign -s


# --- MakeMaker dist_basics section:
distclean :: realclean distcheck
    $(NOECHO) $(NOOP)

distcheck :
    $(PERLRUN) "-MExtUtils::Manifest=fullcheck" -e fullcheck

skipcheck :
    $(PERLRUN) "-MExtUtils::Manifest=skipcheck" -e skipcheck

manifest :
    $(PERLRUN) "-MExtUtils::Manifest=mkmanifest" -e mkmanifest

veryclean : realclean
    $(RM_F) *~ */*~ *.orig */*.orig *.bak */*.bak *.old */*.old 



# --- MakeMaker dist_core section:
dist:
    $(NOECHO) echo "";
    $(NOECHO) echo "  ********************************* ERROR ************************************";
    $(NOECHO) echo "";
    $(NOECHO) echo "  This module uses Dist::Zilla for development. This Makefile.PL will let you";
    $(NOECHO) echo "  run the tests, but should not be used for installation or building dists.";
    $(NOECHO) echo "  Building a dist should be done with 'dzil build', installation should be";
    $(NOECHO) echo "  done with 'dzil install', and releasing should be done with 'dzil release'.";
    $(NOECHO) echo "";
    $(NOECHO) echo "  ****************************************************************************";
    $(NOECHO) echo "";

    $(NOECHO) echo "Running dzil build for you...";
    $(NOECHO) dzil build


# --- MakeMaker distdir section:
create_distdir :
    $(RM_RF) $(DISTVNAME)
    $(PERLRUN) "-MExtUtils::Manifest=manicopy,maniread" \
        -e "manicopy(maniread(),'$(DISTVNAME)', '$(DIST_CP)');"

distdir : create_distdir distmeta 
    $(NOECHO) $(NOOP)



# --- MakeMaker dist_test section:
disttest : distdir
    cd $(DISTVNAME) && $(ABSPERLRUN) Makefile.PL 
    cd $(DISTVNAME) && $(MAKE) $(PASTHRU)
    cd $(DISTVNAME) && $(MAKE) test $(PASTHRU)



# --- MakeMaker dist_ci section:

ci :
    $(PERLRUN) "-MExtUtils::Manifest=maniread" \
      -e "@all = keys %{ maniread() };" \
      -e "print(qq{Executing $(CI) @all\n}); system(qq{$(CI) @all});" \
      -e "print(qq{Executing $(RCS_LABEL) ...\n}); system(qq{$(RCS_LABEL) @all});"


# --- MakeMaker distmeta section:
distmeta : create_distdir metafile
    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "exit unless -e q{{META.yml}};\
eval {{ maniadd({{q{{META.yml}} => q{{Module YAML meta-data (added by MakeMaker)}}}}) }}\
    or print \"Could not add META.yml to MANIFEST: $$$${{'^@'}}\n\"" --
    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "exit unless -f q{{META.json}};\
eval {{ maniadd({{q{{META.json}} => q{{Module JSON meta-data (added by MakeMaker)}}}}) }}\
    or print \"Could not add META.json to MANIFEST: $$$${{'^@'}}\n\"" --



# --- MakeMaker distsignature section:
distsignature : create_distdir
    $(NOECHO) cd $(DISTVNAME) && $(ABSPERLRUN) -MExtUtils::Manifest=maniadd -e "eval {{ maniadd({{q{{SIGNATURE}} => q{{Public-key signature (added by MakeMaker)}}}}) }} \
    or print \"Could not add SIGNATURE to MANIFEST: $$$${{'^@'}}\n\"" --
    $(NOECHO) cd $(DISTVNAME) && $(TOUCH) SIGNATURE
    cd $(DISTVNAME) && cpansign -s



# --- MakeMaker install section:
install:
    $(NOECHO) echo "";
    $(NOECHO) echo "  ********************************* ERROR ************************************";
    $(NOECHO) echo "";
    $(NOECHO) echo "  This module uses Dist::Zilla for development. This Makefile.PL will let you";
    $(NOECHO) echo "  run the tests, but should not be used for installation or building dists.";
    $(NOECHO) echo "  Building a dist should be done with 'dzil build', installation should be";
    $(NOECHO) echo "  done with 'dzil install', and releasing should be done with 'dzil release'.";
    $(NOECHO) echo "";
    $(NOECHO) echo "  ****************************************************************************";
    $(NOECHO) echo "";

    $(NOECHO) echo "Running dzil install for you...";
    $(NOECHO) dzil install


# --- MakeMaker force section:
# Phony target to force checking subdirectories.
FORCE :
    $(NOECHO) $(NOOP)


# --- MakeMaker perldepend section:

PERL_HDRS = \
    $(PERL_INC)/EXTERN.h        \
    $(PERL_INC)/INTERN.h        \
    $(PERL_INC)/XSUB.h      \
    $(PERL_INC)/av.h        \
    $(PERL_INC)/config.h        \
    $(PERL_INC)/cop.h       \
    $(PERL_INC)/cv.h        \
    $(PERL_INC)/dosish.h        \
    $(PERL_INC)/embed.h     \
    $(PERL_INC)/embedvar.h      \
    $(PERL_INC)/fakethr.h       \
    $(PERL_INC)/form.h      \
    $(PERL_INC)/gv.h        \
    $(PERL_INC)/handy.h     \
    $(PERL_INC)/hv.h        \
    $(PERL_INC)/intrpvar.h      \
    $(PERL_INC)/iperlsys.h      \
    $(PERL_INC)/keywords.h      \
    $(PERL_INC)/mg.h        \
    $(PERL_INC)/nostdio.h       \
    $(PERL_INC)/op.h        \
    $(PERL_INC)/opcode.h        \
    $(PERL_INC)/patchlevel.h    \
    $(PERL_INC)/perl.h      \
    $(PERL_INC)/perlio.h        \
    $(PERL_INC)/perlsdio.h      \
    $(PERL_INC)/perlsfio.h      \
    $(PERL_INC)/perlvars.h      \
    $(PERL_INC)/perly.h     \
    $(PERL_INC)/pp.h        \
    $(PERL_INC)/pp_proto.h      \
    $(PERL_INC)/proto.h     \
    $(PERL_INC)/regcomp.h       \
    $(PERL_INC)/regexp.h        \
    $(PERL_INC)/regnodes.h      \
    $(PERL_INC)/scope.h     \
    $(PERL_INC)/sv.h        \
    $(PERL_INC)/thread.h        \
    $(PERL_INC)/unixish.h       \
    $(PERL_INC)/util.h

$(OBJECT) : $(PERL_HDRS)

Keyword.c : $(XSUBPPDEPS)


# --- MakeMaker makefile section:

$(OBJECT) : $(FIRST_MAKEFILE)

# We take a very conservative approach here, but it's worth it.
# We move Makefile to Makefile.old here to avoid gnu make looping.
$(FIRST_MAKEFILE) : Makefile.PL $(CONFIGDEP)
    $(NOECHO) $(ECHO) "Makefile out-of-date with respect to $?"
    $(NOECHO) $(ECHO) "Cleaning current config before rebuilding Makefile..."
    -$(NOECHO) $(RM_F) $(MAKEFILE_OLD)
    -$(NOECHO) $(MV)   $(FIRST_MAKEFILE) $(MAKEFILE_OLD)
    - $(MAKE) $(USEMAKEFILE) $(MAKEFILE_OLD) clean $(DEV_NULL)
    $(PERLRUN) Makefile.PL 
    $(NOECHO) $(ECHO) "==> Your Makefile has been rebuilt. <=="
    $(NOECHO) $(ECHO) "==> Please rerun the $(MAKE) command.  <=="
    $(FALSE)



# --- MakeMaker staticmake section:

# --- MakeMaker makeaperl section ---
MAP_TARGET    = perl
FULLPERL      = C:\strawberry5.16\perl\bin\perl.exe

$(MAP_TARGET) :: static $(MAKE_APERL_FILE)
    $(MAKE) $(USEMAKEFILE) $(MAKE_APERL_FILE) $@

$(MAKE_APERL_FILE) : $(FIRST_MAKEFILE) pm_to_blib
    $(NOECHO) $(ECHO) Writing \"$(MAKE_APERL_FILE)\" for this $(MAP_TARGET)
    $(NOECHO) $(PERLRUNINST) \
        Makefile.PL DIR= \
        MAKEFILE=$(MAKE_APERL_FILE) LINKTYPE=static \
        MAKEAPERL=1 NORECURS=1 CCCDLFLAGS=


# --- MakeMaker test section:

TEST_VERBOSE=0
TEST_TYPE=test_$(LINKTYPE)
TEST_FILE = test.pl
TEST_FILES = t/*.t
TESTDB_SW = -d

testdb :: testdb_$(LINKTYPE)

test :: $(TEST_TYPE) subdirs-test

subdirs-test ::
    $(NOECHO) $(NOOP)


test_dynamic :: pure_all
    $(FULLPERLRUN) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)

testdb_dynamic :: pure_all
    $(FULLPERLRUN) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)

test_ : test_dynamic

test_static :: pure_all $(MAP_TARGET)
    ./$(MAP_TARGET) "-MExtUtils::Command::MM" "-e" "test_harness($(TEST_VERBOSE), '$(INST_LIB)', '$(INST_ARCHLIB)')" $(TEST_FILES)

testdb_static :: pure_all $(MAP_TARGET)
    ./$(MAP_TARGET) $(TESTDB_SW) "-I$(INST_LIB)" "-I$(INST_ARCHLIB)" $(TEST_FILE)



# --- MakeMaker ppd section:
# Creates a PPD (Perl Package Description) for a binary distribution.
ppd :
    $(NOECHO) $(ECHO) "<SOFTPKG NAME=\"$(DISTNAME)\" VERSION=\"$(VERSION)\">" > $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "    <ABSTRACT></ABSTRACT>" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "    <AUTHOR></AUTHOR>" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "    <IMPLEMENTATION>" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "        <ARCHITECTURE NAME=\"MSWin32-x64-multi-thread-5.16\" />" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "        <CODEBASE HREF=\"\" />" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) "    </IMPLEMENTATION>" >> $(DISTNAME).ppd
    $(NOECHO) $(ECHO) ^</SOFTPKG^> >> $(DISTNAME).ppd


# --- MakeMaker pm_to_blib section:

pm_to_blib : $(FIRST_MAKEFILE) $(TO_INST_PM)
    $(NOECHO) $(ABSPERLRUN) -MExtUtils::Install -e "pm_to_blib({{@ARGV}}, '$(INST_LIB)\auto', q[$(PM_FILTER)], '$(PERM_DIR)')" -- \
      lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm 
    $(NOECHO) $(TOUCH) pm_to_blib


# --- MakeMaker selfdocument section:


# --- MakeMaker postamble section:


# End.

doy added a commit that referenced this issue Aug 1, 2013
if they use absolute paths on windows, we can end up with a makefile
rule that looks like this:

Keyword.o C:\...\CallParser.a : ...

and make gets confused by that first colon.
@forwardever
Copy link
Author

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375370709.14560
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
Cloning git@github.com:doy/parse-keyword.git
Cloning into 'C:/Users/Andre/AppData/Local/Temp/HTtTLwppeh'...
-> OK
--> Working on git@github.com:doy/parse-keyword.git
Entering C:/Users/Andre/AppData/Local/Temp/HTtTLwppeh
Configuring C:/Users/Andre/AppData/Local/Temp/HTtTLwppeh
Running Makefile.PL

********************************* WARNING **********************************

This module uses Dist::Zilla for development. This Makefile.PL will let you
run the tests, but you are encouraged to install Dist::Zilla and the needed
plugins if you intend on doing any serious hacking.


Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (6.64)
Building and testing Parse-Keyword-
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2 -DVERSION="" -DXS_VERSION="" "-IC:\strawberry5.16\perl\lib\CORE" Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists
-e "Mksymlists('NAME'=>"Parse::Keyword", 'DLBASE' => 'Keyword', 'DL_FUNCS' => { }, 'FUNCLIST' => [], 'IMPORTS' => { }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o ............\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Keyword.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o ............\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Parse\Keyword\Keyword.dll
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e cp -- Keyword.bs blib\arch\auto\Parse\Keyword\Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 blib\arch\auto\Parse\Keyword\Keyword.bs
dmake.exe: Warning: -- Found file corresponding to virtual target [............\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a].
C:\strawberry5.16\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/.t t//.t
t/basic.t ..................... ok
t/error.t ..................... ok
t/fun/anon.t .................. ok
t/fun/basic.t ................. ok
t/fun/closure-proto.t ......... ok
t/fun/compile-time.t .......... ok
t/fun/defaults.t .............. ok
t/fun/name.t .................. ok
t/fun/package.t ............... ok
t/fun/recursion.t ............. ok
t/fun/slurpy-syntax-errors.t .. ok
t/fun/slurpy.t ................ ok
t/fun/state.t ................. ok
t/keyword-name.t .............. ok
t/lexical.t ................... skipped: This test requires Exporter::Lexical
t/peek.t ...................... ok
t/scope-inject.t .............. ok
t/try/basic.t ................. ok
t/try/context.t ............... ok
t/try/finally.t ............... ok
t/try/given_when.t ............ ok
t/try/syntax.t ................ ok
t/try/when.t .................. ok
t/unavailable.t ............... ok
All tests successful.
Files=24, Tests=131, 5 wallclock secs ( 0.19 usr + 0.05 sys = 0.23 CPU)
Result: PASS
dmake.exe: Warning: -- Found file corresponding to virtual target [............\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a].
"";
" *
* ERROR ";
"";
" This module uses Dist::Zilla for development. This Makefile.PL will let you";
" run the tests, but should not be used for installation or building dists.";
" Building a dist should be done with 'dzil build', installation should be";
" done with 'dzil install', and releasing should be done with 'dzil release'.";
"";
" ***
*******";
"";
"Running dzil install for you...";
Required plugin bundle [@doy] isn't installed.

Run 'dzil authordeps' to see a list of all required plugins.
You can pipe the list to your CPAN client to install or update them:

dzil authordeps | cpanm

dmake.exe: Error code 129, while making 'install'
-> FAIL Installing git@github.com:doy/parse-keyword.git failed. See C:\Users\Andre.cpanm\build.log for details.

@doy
Copy link
Owner

doy commented Aug 1, 2013

Awesome! That means that it did work - it's intentional that you can't actually install from the Makefile.PL in the repository. I'll get a release out and hopefully that'll actually resolve this.

@doy
Copy link
Owner

doy commented Aug 1, 2013

@forwardever
Copy link
Author

okay, seems to work with some warnings:

cpanm (App::cpanminus) 1.6005 on perl 5.016003 built for MSWin32-x64-multi-thread
Work directory is C:\Users\Andre/.cpanm/work/1375371601.16936
You have make C:\strawberry5.16\c\bin\dmake.exe
You have LWP 6.04
You have "C:\Program Files (x86)\Git\bin\tar.exe", "C:\Program Files (x86)\Git\bin\gzip.exe" and "C:\Program Files (x86)\Git\bin\bzip2.exe"
You have "C:\Program Files (x86)\Git\bin\unzip.exe"
--> Working on http://cpan.metacpan.org/authors/id/D/DO/DOY/Parse-Keyword-0.06.tar.gz
Fetching http://cpan.metacpan.org/authors/id/D/DO/DOY/Parse-Keyword-0.06.tar.gz
-> OK
Unpacking Parse-Keyword-0.06.tar.gz
Entering Parse-Keyword-0.06
Checking configure dependencies from META.json
Checking if you have ExtUtils::MakeMaker 6.30 ... Yes (6.64)
Checking if you have Devel::CallParser 0 ... Yes (0.001)
Configuring Parse-Keyword-0.06
Running Makefile.PL
Checking if your kit is complete...
Looks good
Writing Makefile for Parse::Keyword
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have File::Find 0 ... Yes (1.20)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have Exporter 0 ... Yes (5.67)
Checking if you have if 0 ... Yes (0.0602)
Checking if you have Carp 0 ... Yes (1.26)
Checking if you have Test::More 0.88 ... Yes (0.98)
Checking if you have File::Find 0 ... Yes (1.20)
Checking if you have File::Temp 0 ... Yes (0.22)
Checking if you have Exporter 0 ... Yes (5.67)
Checking if you have if 0 ... Yes (0.0602)
Checking if you have Carp 0 ... Yes (1.26)
Checking if you have warnings 0 ... Yes (1.13)
Checking if you have strict 0 ... Yes (1.07)
Checking if you have XSLoader 0 ... Yes (0.16)
Checking if you have Devel::CallParser 0 ... Yes (0.001)
Building and testing Parse-Keyword-0.06
cp lib/Parse/Keyword.pm blib\lib\Parse\Keyword.pm
C:\strawberry5.16\perl\bin\perl.exe C:\strawberry5.16\perl\lib\ExtUtils\xsubpp  -typemap C:\strawberry5.16\perl\lib\ExtUtils\typemap  Keyword.xs > Keyword.xsc && C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e mv -- Keyword.xsc Keyword.c
gcc -c      -s -O2 -DWIN32 -DWIN64 -DCONSERVATIVE -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2      -DVERSION=\"0.06\"    -DXS_VERSION=\"0.06\"  "-IC:\strawberry5.16\perl\lib\CORE"   Keyword.c
Running Mkbootstrap for Parse::Keyword ()
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Mksymlists \
     -e "Mksymlists('NAME'=>\"Parse::Keyword\", 'DLBASE' => 'Keyword', 'DL_FUNCS' => {  }, 'FUNCLIST' => [], 'IMPORTS' => {  }, 'DL_VARS' => []);"
dlltool --def Keyword.def --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -Wl,--base-file -Wl,dll.base -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o ..\..\..\..\..\..\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp
dlltool --def Keyword.def --base-file dll.base --output-exp dll.exp
g++ -o blib\arch\auto\Parse\Keyword\Keyword.dll -mdll -s -L"C:\strawberry5.16\perl\lib\CORE" -L"C:\strawberry5.16\c\lib" Keyword.o ..\..\..\..\..\..\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a   C:\strawberry5.16\perl\lib\CORE\libperl516.a -lmoldname -lkernel32 -luser32 -lgdi32 -lwinspool -lcomdlg32 -ladvapi32 -lshell32 -lole32 -loleaut32 -lnetapi32 -luuid -lws2_32 -lmpr -lwinmm -lversion -lodbc32 -lodbccp32 -lcomctl32 dll.exp 
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 755 blib\arch\auto\Parse\Keyword\Keyword.dll
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e cp -- Keyword.bs blib\arch\auto\Parse\Keyword\Keyword.bs
C:\strawberry5.16\perl\bin\perl.exe -MExtUtils::Command -e chmod -- 644 blib\arch\auto\Parse\Keyword\Keyword.bs
dmake.exe:  Warning: -- Found file corresponding to virtual target [..\..\..\..\..\..\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a].
C:\strawberry5.16\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t/*.t t/fun/*.t t/try/*.t
t/00-compile.t ................ ok
t/basic.t ..................... ok
t/error.t ..................... ok
t/fun/anon.t .................. ok
t/fun/basic.t ................. ok
t/fun/closure-proto.t ......... ok
t/fun/compile-time.t .......... ok
t/fun/defaults.t .............. ok
t/fun/name.t .................. ok
t/fun/package.t ............... ok
t/fun/recursion.t ............. ok
t/fun/slurpy-syntax-errors.t .. ok
t/fun/slurpy.t ................ ok
t/fun/state.t ................. ok
t/keyword-name.t .............. ok
t/lexical.t ................... skipped: This test requires Exporter::Lexical
t/peek.t ...................... ok
t/scope-inject.t .............. ok
t/try/basic.t ................. ok
t/try/context.t ............... ok
t/try/finally.t ............... ok
t/try/given_when.t ............ ok
t/try/syntax.t ................ ok
t/try/when.t .................. ok
t/unavailable.t ............... ok
All tests successful.
Files=25, Tests=132,  4 wallclock secs ( 0.12 usr +  0.03 sys =  0.16 CPU)
Result: PASS
dmake.exe:  Warning: -- Found file corresponding to virtual target [..\..\..\..\..\..\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a].
Files found in blib\arch: installing files in blib\lib into architecture dependent library tree
Installing C:\strawberry5.16\perl\site\lib\auto\Parse\Keyword\Keyword.bs
Installing C:\strawberry5.16\perl\site\lib\auto\Parse\Keyword\Keyword.dll
Installing C:\strawberry5.16\perl\site\lib\Parse\Keyword.pm
Appending installation info to C:\strawberry5.16\perl\lib/perllocal.pod
dmake.exe:  Warning: -- Found file corresponding to virtual target [..\..\..\..\..\..\strawberry5.16\perl\site\lib\auto\Devel\CallParser\CallParser.a].
-> OK
Successfully installed Parse-Keyword-0.06
Installing C:\strawberry5.16\perl\site\lib\MSWin32-x64-multi-thread\.meta\Parse-Keyword-0.06\install.json
Installing C:\strawberry5.16\perl\site\lib\MSWin32-x64-multi-thread\.meta\Parse-Keyword-0.06\MYMETA.json
1 distribution installed

@doy
Copy link
Owner

doy commented Aug 1, 2013

Alright, I think this is good enough for now. If that starts causing problems, I'll look into it further.

@doy doy closed this as completed Aug 1, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants