The PPD does not provide code to install for this platform

我再一次閱讀gtk2-perl (Win32 binaries),試著可以裝perl gtk在Winodws上,文中建議使用ActiveState Perl 5.8.8 build 819,但是我是用較新的5.10.0,而且我不想裝回舊版的perl。


ExtUtils-PkgConfig-1.07 Download
Cairo-1.021 Download
Glib-1.142 Download
2-1.141 Download
Gtk2-GladeXML-1.006 Download


ppm install ExtUtils-PkgConfig.ppd
ppm install failed: The PPD does not provide code to install for this platform

這類的錯誤,這個解決的經驗ppm install failed the ppd does not provide code to install for this platform有說到,叫我們轉回安裝較舊的ActivePerl,這我可不從,而且我印象中好像可以用欺騙的方法,所以我打開ExtUtils-PkgConfig.ppd,內容是這樣:

<SOFTPKG NAME=”ExtUtils-PkgConfig” VERSION=”1,07,0,0″>
< NAME=”MSWin32″ />
<ARCHITECTURE NAME=”MSWin32-x86-multi-thread-5.8″ />
<CODEBASE HREF=”ExtUtils-PkgConfig-1.07.tar.gz” />


D:\source\perl\gtk>ppm install ExtUtils-PkgConfig.ppd
Unpacking ExtUtils-PkgConfig-1.07…done
Generating HTML for ExtUtils-PkgConfig-1.07…done
Updating files in site area…done
2 files installed

D:\source\perl\gtk>ppm install Cairo.ppd
ppm install failed: The PPD does not provide code to install for this platform

D:\source\perl\gtk>ppm install Cairo.ppd
Unpacking Cairo-1.021…done
Generating HTML for Cairo-1.021…done
Updating files in site area…done
12 files installed

D:\source\perl\gtk>ppm install Glib.ppd
Unpacking Glib-1.142…done
Generating HTML for Glib-1.142…done
Updating files in site area…done
24 files installed

D:\source\perl\gtk>ppm install Gtk2.ppd
Unpacking Gtk2-1.141…done
Generating HTML for Gtk2-1.141…done
Updating files in site area…done
34 files installed






Can’t load ‘D:/xampp/perl/site/lib/auto/Glib/Glib.dll’ for module Glib: load_fil
e:找不到指定的模組。 at D:/xampp/perl/lib/ line 201.
at line 11
Compilation failed in require at line 11.
BEGIN failed–compilation aborted at line 11.


Print Friendly, PDF & Email

1 則留言

  1. Hello would you mind sharing which blog platform you’re working with? I’m looking
    to start my own blog soon but I’m having a difficult time deciding between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m
    looking for something unique. P.S My apologies for getting off-topic but I had to


發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

這個網站採用 Akismet 服務減少垃圾留言。進一步了解 Akismet 如何處理網站訪客的留言資料