ubuntu 7.10,用自己编译的haskell 6.8.2和perl5.10,编译svn版pugs出错。<br>首先,使用~/perl-5.10/bin/perl MakeFile.PL,然後make,提示無法找到thrid-party下面的幾個包,根據文檔提示,我手工編譯安裝了HsSyc、hsregex,在make過程中提示權限錯誤,所以我使用 sudo make,編譯至pugs時,提示:<br><br>[ 28 of 109] Compiling Pugs.Embed.Parrot ( dist/build/Pugs/Embed/Parrot.hs, dist/build/Pugs/Embed/Parrot.o )<br>
<br>/tmp/ghc21739_0/ghc21739_0.hc:13:46:<br>&nbsp;&nbsp;&nbsp;&nbsp; 错误: dist/build/Pugs/Embed/Parrot_hsc.h:No such file or directory<br>Build failed for &#39;/home/march/pugs/dist/build/libHSPugs-6.2.13.a&#39;: 256 at util/build_pugs.pl line 372.<br>
make: *** [pugs] 错误 2<br><br>反復試過幾次,錯誤依舊,實際這個文件在pugs源碼目錄下是存在的,似乎是編譯的時候指定的-i目錄不對。<br clear="all"><br>-- <br>人海之中,他的离去让我更加孤独。<br><br>……<br><br>刘鑫<br>March.Liu