----- Original Message ----- From: "Hart, Jody (AS)"
C:\temp\Inline-0.46_01>perl -Mblib C/t/01syntax.t 1..5 # Running under perl version 5.008009 for MSWin32 # Win32::BuildNumber 827 # Current time local: Sat Nov 20 17:30:51 2010 # Current time GMT: Sun Nov 21 01:30:51 2010 # Using Test.pm version 1.25_02 Uncaught exception from user code: Invalid value '_Inline_test' for config option DIRECTORY at C/t/01syntax.t line 37
Is there an '_Inline_test' directory in C:\temp\Inline-0.46_01 ? If not, create that directory before running 'perl -Mblib C/t/01syntax.t'.
BEGIN failed--compilation aborted at C/t/01syntax.t line 37. at C/t/01syntax.t line 37 C:\temp\Inline-0.46_01> and the remaining test produced the message: C:\temp\Inline-0.46_01>perl -Mblib C/t/08taint.t "-T" is on the #! line, it must also be used on the command line at C/t/08taint. t line 1. C:\temp\Inline-0.46_01>
Yes, if you want to run that script outside of Test::Harness I think you need to run it as: perl -Mblib -T C/t/08taint.t
Can anyone tell me what I am doing wrong? Thanks very much.
I have the 64-bit build of ActivePerl 5.8.9 (build 827) and it doesn't give me any trouble when it comes to building Inline-0.46_01. I am, however, using a different MS compiler to the one that you're using. I have "Microsoft Platform SDK for Windows Server 2003 R2" - which is the compiler that built ActivePerl (and therefore, in the view of many, the ideal compiler to use with the 64-bit builds of ActivePerl). It's still freely available if you want to give it a try - you just have to be careful that you are, in fact, downloading it, and not some updated alternative. For some reason the pea-brains at Microsoft have decided that just because you've clicked on a link that says "Microsoft Platform SDK for Windows Server 2003 R2", it doesn't really mean that's what you want (or that's what they're gunna give yer) ... so be wary (but it *is* still possible to get that precise compiler). That said, I'm thinking (but am by no means certain) that you should also be able to use the compiler that you already have. Does that compiler build perl extensions for you ok with the x64 ActivePerl 5.8.9 ? Can you, for example, build Math::FFT from CPAN ? If not, what errors do you get. (It's often easier to diagnose errors one gets from trying to build a perl extension than from trying to build Inline::C.) Cheers, Rob