2010-08-01 42 views
3

我正在尝试在OS X 10.6上安装Rakudo Star,并且我已经达到了总是令人沮丧的地步,那就是我的构建失败了,而且我不确定如何进行。有没有人知道这种方式? (我试图设置它来编写一些本地的perl6程序,所以我不确定规则是否希望在服务器故障或堆栈溢出时对此进行处理,并在必要时拍打我)使用Rakudo Star编写perl6程序:无法在OS X上安装

我已经下载了提供的分布跑

 
make VERSION=2010.07 

要成功创建该文件夹

 
rakudo-star-2010.07 

任何有兴趣在实际分布,我需要抢GNU发现的端口版本(安装到/ opt /本地/ bin/gfind),然后是别名我经常发现可以找到。 OS X找不到-printf选项。

说出来的方式,每念我,我

 
$ cd rakudo-star-2010.07 
$ perl Configure.pl --gen-parrot 

这一会儿一班班沿,但随后捞出用以下

 
/Users/alanstorm/Downloads/rakudo-star-7652a0b/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc/timer.dump 
/Users/alanstorm/Downloads/rakudo-star-7652a0b/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc/undef.dump 
/Users/alanstorm/Downloads/rakudo-star-7652a0b/rakudo-star-2010.07/install/src/parrot/2.6.0/pmc/unmanagedstruct.dump 
/Users/alanstorm/Downloads/rakudo-star-7652a0b/rakudo-star-2010.07/install/src/parrot/2.6.0/vtable.dump 
Finished install_dev_files.pl 

Reading configuration information from install/bin/parrot_config ... 
===SORRY!=== 
Parrot revision r48225 required (currently r0) 
To automatically build the version of Parrot that came with this 
distribution(), try re-running Configure.pl with the 
'--gen-parrot' option. Or, use the '--parrot-config' option to 
explicitly specify the location of parrot_config to be used to 
build Rakudo Star. 

我发现了一个simialr问题在这些IRC日志:http://irclog.perlgeek.de/parrot/2009-05-11但我并没有充分了解项目(或git)以了解他们如何解决它。我最好的猜测是,它看起来像一个颠覆版本号应该写入parrot_config(这是一个二进制文件),并且因为最初的make(似乎)使用git来抓取文件,这没有发生。

此外,在perl配置失败后,我确实有两个名为parrot_config的新文件。

 
find . -name parrot_config 
./install/bin/parrot_config 
./parrot-2.6.0/parrot_config 

我试着用下面的标志运行Configure.pl,但是每一个都以上面引用的“Sorry”消息结束?

 
perl Configure.pl --gen-parrot --parrot-config install/bin/parrot_config 
perl Configure.pl install/bin/parrot_config 
perl Configure.pl --gen-parrot --parrot-config parrot-2.6.0/parrot_config 
perl Configure.pl --parrot-config parrot-2.6.0/parrot_config 

任何人在这里有任何关于下一步的想法吗?如果答案是“问问perl人”,你有没有建议最好的地方做这件事?

回答

7

根本不应该运行make VERSION=2010.07 - 这是发布经理的工作。

相反,您应该下载make VERSION=2010.07应该创建的tarball(但目前似乎除了linux以外的任何平台上都可以工作)。

这是正确的链接:http://github.com/downloads/rakudo/star/rakudo-star-2010.07.tar.gz

很抱歉的混乱,我们仍然试图记录这更好。

+2

请参阅“perl人”*无处不在* – ysth 2010-08-02 00:19:57

4

打开我们下载的The Wrong Thing™。在

下载预制分发tarball
http://github.com/downloads/rakudo/star/rakudo-star-2010.07.tar.gz 

解决了我的问题。这编译顺利。 #perl6 freenode房间里的人们对解决这个问题非常有帮助。

1

当我没有安装Subversion客户端时,我得到了这个错误。我甚至省略了--gen-parrot并收到一条消息,我不应指定该标志。