Hi Rob -

Thanks so much for your prompt reply.  I did make a point of creating
an '_Inline_test' directory in C:\temp\Inline-0.46_01, but it didn't
seem to help.  For example, when the first failure occurred (with
01syntax.t), I got the message:

   Can't load
'C:\temp\Inline-0.46_01\C\_Inline_test\lib/auto/_01syntax_t_6b3a/_01s
   yntax_t_6b3a.dll' for module _01syntax_t_6b3a: load_file:The specified
module co
   uld not be found at C:/Perl64/lib/DynaLoader.pm line 226.
    at ..\blib\lib/Inline.pm line 534

and I found that the subdirectory _01syntax_t_6b3a did not exist under
C:\temp\Inline-0.46_01\C\_Inline_test\lib\auto.

Your two suggestions focusing on the compiler sound very promising.
Accordingly, I will try to use my environment to build something like
Math::FFT and take a look at the errors.  Thank you also for making me
aware of the "Microsoft Platform SDK for Windows Server 2003 R2" compiler.
I will pursue that if something obvious doesn't pop out of the Math::FFT
build.

Gratefully,
Jody Hart

-----Original Message-----
From: Sisyphus [mailto:sisyph...@optusnet.com.au] 
Sent: Sunday, November 21, 2010 12:21 AM
To: Hart, Jody (AS); inline
Subject: EXTERNAL:Re: Installing Inline on 64 bit AMD Windows Machines


----- 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

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to