2011-04-26 59 views
1

我只需要一个工具来生成这个文件。我见过有一个名为PFM(梨文件管理器)的工具,但它在α和我有错误,当我尝试运行pear build如何生成pear的package.xml文件

[email protected]:~/dev/project/modules/custommodule$ pear build 
running: phpize 
Cannot find config.m4. 
Make sure that you run '/usr/bin/phpize' in the top level source directory of 
the module `phpize' failed 

我对第二个PFM问题的疑虑:

Enter the base install directory*: 

我输入/。这可能是问题吗?我应该输入什么?

如果你知道其他工具可以正常工作,请给出建议。

+1

已解决。应该运行'pear package'而不是'pear build'。对不起大家。 – s3v3n 2011-04-26 13:02:03

+1

添加您的解决方案作为答案并接受它。目前你的问题显示为“未答复” – cweiske 2011-05-02 06:43:10

回答

2

问题是pear build不是生成package.xml文件的正确命令。 正确的命令是:pear package