From: vine xf
Thanks so much. For my ActiverPerl 5.16, since I installed it from AP516
source code using VC++6, I guess may be the pre-build pdl ppm is not a
choice in my case.
Yes - if you've built perl from source, then I don't think you'll have PPM.
(We could probably track down a version of PPM that's usable for you if you
wanted - for example, the version that ships with recent builds of
Strawberry Perl is quite serviceable. But you're obviously fairly
comfortable with VC++ 6.0, so why not see how far we can get using it.)
So how to install PDL with pthread manually?
I found a pthread-win32 on http://sourceware.org/pthreads-win32/ What's
the correct way to setup all these pieces. I mean, whether shall I
reinstall active perl first, or just tweak with perldl.conf to enable
pthread features?
No need to rebuild perl - but you *will* need to rebuild PDL.
And yes, if you tweak perldl.conf to point to the pthreads header and
library, then that should build PDL with pthreads enabled.
The 'perl Makefile.PL' step should tell you whether it's going to build PDL
with or without pthreads - so keep an eye on that output. If it says it's
not enabling pthreads, then that probably means that you haven't tweaked
perldl.conf correctly.
I haven't personally tried to build pthreads-enabled PDL using a Microsoft
compiler.
I've built PDL using a few Microsoft compilers (including VC++ 6.0), but not
with pthreads support.
Let us know if you strike trouble - we might be able to help you out ( ....
or might not ;-)
Cheers,
Rob
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl