如何为pear生成package.xml文件

时间:2011-04-26 12:54:34

标签: pear

我只需要一个工具来生成此文件。我已经看到有一个名为pfm(梨文件管理器)的工具,但它是alpha版本,当我尝试运行pear build时出现错误:

s3v3n@s3v3n-laptop:~/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 个答案:

答案 0 :(得分:2)

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