perl安装PDL模块的问题
本帖最后由 skyheight 于 2017-11-20 11:11 编辑我是windows系统,64位activeperl,按照PDL网站上的提示安装PDL模块。到安装OpenGL和PDL的时候安装不上去,见下。求教是什么原因啊?自学perl俩月,感觉自己真是啥都不懂,愁死了。。。:dizzy:
C:\Users\61068>ppm install http://www.sisyphusion.tk/ppm/OpenGL.ppd
ppm install failed: Can't find any package that provides PPM-Sisyphusion for OpenGL
Can't find any package that provides PPM::Sisyphusion for OpenGL
C:\Users\61068>ppm install http://www.sisyphusion.tk/ppm/PDL.ppd
ppm install failed: Can't find any package that provides File-Map for PDL
Can't find any package that provides File::Map for PDL
Can't find any package that provides PPM-Sisyphusion for PDL
Can't find any package that provides PPM::Sisyphusion for PDL
Can't find any package that provides OpenGL for PDL
http://pdl.perl.org/?page=install网站给出的安装方法:
Easiest install - Windows To install via ppm for Strawberry Perl (32-bit only) and ActiveState Perl (32-bit and 64-bit):
ppm install Astro-FITS-Header
ppm install Convert-UUThen install the OpenGL, PGPLOT and PDL modules from the sisyphusion repo by running:For 32-bit builds of perl (versions 5.8 and later):ppm install http://www.sisyphusion.tk/ppm/OpenGL.ppd
ppm install http://www.sisyphusion.tk/ppm/PGPLOT.ppd
ppm install http://www.sisyphusion.tk/ppm/PDL.ppdFor 64-bit builds of perl, ppm packages are provided only for perl versions 5.10 and later.Also, there are no PGPLOT packages for these builds - so just run:ppm install http://www.sisyphusion.tk/ppm/OpenGL.ppd
ppm install http://www.sisyphusion.tk/ppm/PDL.ppdFor more detailssee InstallingPDL on Windows on the wikior win32/INSTALLfile in the PDL source distribution.
回复 1# skyheight
改用 StrawberryPerl 吧
http://strawberryperl.com/releases.html
推荐 v5.24 PDL edition,OpenGL模块最好从metacpan下载压缩包,
然后打开strawberry perl的环境设置脚本portableshell.bat ,进入解压目录
perl makefile.pl
dmake
dmake install
其他参考:
http://www.code-by.org/viewtopic.php?f=17&t=272
回复 2# 523066680
好的,我去试试。谢谢啦~{:yct14:}
页:
[1]