2014-03-05 36 views
0

如何在64位Windows Server 2012上構建cpan模塊?如何在64位Windows Server 2012上構建cpan模塊?

這是錯誤消息:

It looks like you don't have a C compiler and make utility installed. Trying 
to install dmake and the MinGW64 gcc compiler using the Perl Package Manager. 
This may take a a few minutes... 

Downloading pan packlist...done 
ppm.bat install failed: Can't find any package that provides MinGW64 

It looks like the installation of dmake and MinGW64 has failed. You will not 
be able to run Makefile commands or compile C extension code. Please check 
your internet connection and your proxy settings! 
+1

您可以使用perl軟件包管理器。 PPM。請參閱http://www.activestate.com/blog/2010/10/how-install-cpan-modules-activeperl –

+0

ppm的模塊覆蓋率各不相同,但可能足以滿足OP的需求。與獲得CPAN在64位Windows上編譯軟件包相比,這很容易(這可能,我已經這樣做了,但是在2年前,我沒有筆記來構建答案)。 –

回答

2

使用Strawberry Perl(64位)!這個版本的Perl帶有一個gcc編譯器,並且正在使用64位系統,您可以從CPAN下載調制解調器並根據需要進行編譯。

相關問題