Robert Johnson wrote:
I'm having a rough time installing stuff for Perl (win32).  I think
maybe my problems stem from my general cluelessness about makefiles.

Trying to install PDL (http://pdl.perl.org/)

perl makefile.PL

seems to be ok, but

dmake

Fails with the following

g++: pdlcore.o: No such file or directory
g++: pdlconv.o: No such file or directory
dmake.exe:  Error code 1, while making
'..\..\blib\arch\auto\PDL\Core\Core.dll'
dmake.exe:  Error code 255, while making 'subdirs'
dmake.exe:  Error code 255, while making 'subdirs'

The PDL install notes for Win32 give the following information, which I
followed:

   The first nmake stops with an error that Core.obj is not found.
   Workaround: once you get this error do the following:

   cd Basic\Core
   nmake Core.xs
   del getdev.pl # this one is important, otherwise you get a
                 # circular Makefile dependence!
   cd ..\..
   perl Makefile.PL # with F77CONF=win32/win32f77.pl if you want slatec
   nmake

But it still fails anyhow, in the same way



Probably best to chase it up on the perldl mailing list. See http://pdl.perl.org/support.html . ('getdev.pl' is giving me slightly different problems - something that I intend to chase up on that mailing list if I can't find anything in their archive.) You should probably provide the output of 'perl Makefile.PL' as well as the error messages you provided above.

There's a compiled PDL binary available from http://pdl.perl.org - it will work with your perl - assuming you built your perl with multi-threading, and that the binary is built for perl 5.8. You won't have the ppm utility, however, which means that it's going to be a bit awkward to transfer the files from the binary package to the correct location in your perl. Somewhere in the package there will be a folder called 'blib'. It contains the files you want. If you try installing that binary, and strike trouble, post again.

If you want to test that binary, just place the 'blib' folder in your current working directory and run 'perl -Mblib your_pdl_script.pl'. Actually - I would try running the '.t' files from the PDL source t folder as a check that everything is ok.

Does anyone know of a script/module/utility that will install files from a 'blib' ? - apart from ppm.

Cheers,
Rob


_______________________________________________ Perl-Win32-Users mailing list [email protected] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to