Subject: | Won't compile under Windows/MinGW |
Compilation proceeds happily until we get to the C stage. We can't get
to the win32lfs.h file, which may be either in c_src\compat (which was
not present in the distribution) or due to not using VS to compile.
Perl version, ActivePerl 5.8.8 (Build 822); OS: Win2K; compiler GCC
MinGW and MSYS.
I will maybe see if I can find the stuff in Lucy.
Partial trace below
Creating os object...
Trying to find a supported compiler...
Creating compiler object...
Trying to compile a small test file...
Initialization complete.
Running DirSep module...
Running Headers module...
Running FuncMacro module...
Running Integers module...
Running LargeFiles module...
Attempting to compile _charm_stat utility...
Running UnusedVars module...
Running VariadicMacros module...
Cleaning up...
Cleanup complete.
Can't stat c_src\compat: No such file or directory
at buildlib/Lucy/Build.pm line 323
gcc -c -I"charmonizer" -I"." -I"c_src\compat" -O2 -DWIN32
-DPERL_IMPLICIT_CONTEX
T -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -O2 -I"C:\Perl\lib\CORE"
-I"\include" -o
"charmonizer\Charmonizer\Test.o" "charmonizer\Charmonizer\Test.c"
gcc -c -I"charmonizer" -I"." -I"c_src\compat" -O2 -DWIN32
-DPERL_IMPLICIT_CONTEX
T -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -O2 -I"C:\Perl\lib\CORE"
-I"\include" -o
"charmonizer\Charmonizer\Test\AllTests.o"
"charmonizer\Charmonizer\Test\AllTests
.c"
gcc -c -I"charmonizer" -I"." -I"c_src\compat" -O2 -DWIN32
-DPERL_IMPLICIT_CONTEX
T -DPERL_MSVCRT_READFIX -DHASATTRIBUTE -O2 -I"C:\Perl\lib\CORE"
-I"\include" -o
"charmonizer\Charmonizer\Test\FuncMacro.o"
"charmonizer\Charmonizer\Test\FuncMac
ro.c"
In file included from charmonizer\Charmonizer\Test\FuncMacro.c:3:
./charmony.h:200:24: win32lfs.h: No such file or directory
error building dll file from 'charmonizer/Charmonizer/Test/FuncMacro.c'
at C:/Perl/site/lib/ExtUtils/CBuilder/Platform/Windows.pm line 143.
dmake: Error code 130, while making 'all'