----- Original Message ----- 
From: "Adithya B M" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 22, 2009 9:28 PM
Subject: [Perldl] PDL::LinearAlgebra on Windows.


>I want to install PDL::LinearAlgebra for using the Lapack lib in Window XP.

[snip]

> I installed the VC++ Express Edition and now the error is:
>
>        nmake -f Makefile all -nologo
>        cl -c  -IC:/Perl/site/lib/PDL/Core  -nologo -GF -W3 -MD -Zi -DNDEBUG
> -O1
> -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DUSE_SITECUSTOMIZE
> -DPRIVLIB_
> LAST_IN_INC -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
> -DPERL_MSVC
> 
> T_READFIX -MD -Zi -DNDEBUG -O1    -DVERSION=\"0.04\"  -DXS_VERSION=\"0.04\"
> "-
> IC:\Perl\lib\CORE"   Trans.c
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\bin
> \cl.EXE"' : return code '0xc0000135'
> Stop.
> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio
> 9.0\VC\bin
> \nmake.EXE"' : return code '0x2'
> Stop.
>
> Please advice as to how to correct this.

It's probably not your fault, but the output you've provided doesn't provide 
any clues as to the problem that was encountered.

However, you do need the BLAS and LAPACK libraries installed. Do you have 
them ? (If so, from where did you get them ? I've taken a cursory look at 
building and installing this module in the past, but have not been able to 
get beyond the bizarre BLAS and LAPACK build requirements.)

Secondly, these libraries are fortran libraries, and you don't get a fortran 
compiler with Visual Studio. I would be inclined to use the MinGW port of 
the gcc compiler instead (as it does come with a fortran compiler), along 
with 'dmake'. If you're using ActivePerl, that's as simple as running 'ppm 
install MinGW' - and then deleting Visual Studio (or at least hiding it from 
the system).

We (or at least I) probably need a bit of help from the PDL::LinearAlgebra 
author (Gregory Vanuxem), who, I think, is subscribed to this list. If he 
can help us out with the BLAS and LAPACK library part, I'm sure it won't be 
too hard.
I did grab http://www.netlib.org/blas/blas.tgz, unpacked it, cd'd to the 
BLAS directory and ran 'make'. It created blas_LINUX.a for me without any 
trouble at all. (The "LINUX" part is rubbish - I'm on Windows Vista, using 
the MSYS shell.) But I don't know whether that's part of the solution ... 
and I don't know what to do about the LAPACK requirement.

Vanuxem ?

Cheers,
Rob 


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to