Subject: | Is it possible to build module under Windows? |
Hi.
Is is possible at all to build this module using strawberry perl now?
I got the following errors:
Looks good
Generating a dmake-style Makefile
Writing Makefile for HTML::MyHTML
Writing MYMETA.yml and MYMETA.json
OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.10)
Building and testing HTML-MyHTML-0.25 ... cp MyHTML.pm blib\lib\HTML\MyHTML.pm
gcc -Wall -Werror -O2 -fPIC --std=c99 -D_POSIX_C_SOURCE=199309L -pthread -IC:/Users/zdm/AppData/Local/Temp/.cpanm/work/1458147296.2368/HTML-MyHTML-0.25/source -c -o source/charef.o C:/Users/zdm/AppData/Local/Temp/.cpanm/work/1458147296.2368/HTML-MyHTML-0.25/source/myhtml/charef.c
C:/Users/zdm/AppData/Local/Temp/.cpanm/work/1458147296.2368/HTML-MyHTML-0.25/source/myhtml/charef.c:1:0: error: -fPIC ignored for target (all code is position independent) [-Werror]
/*
^
cc1.exe: all warnings being treated as errors
dmake.exe: Error code 129, while making 'pm_to_blib'
dmake.exe: 'pm_to_blib' removed.
FAIL
! Installing HTML::MyHTML failed. See C:\Users\zdm\AppData\Local\Temp\.cpanm\work\1458147296.2368\build.log for details. Retry with --force to force install it.