require_once 'PEAR/builder.php';
array PEAR_Builder::build (string $descfile [, mixed $callback = NULL])
array PEAR_Builder::build
Build an extension from source. Runs phpize in the source directory, but compiles in a temporary directory (/var/tmp/pear-build-USER/PACKAGE-VERSION).
path to XML package description file
callback function used to report output
array - an array of associative arrays with built files, format:
array( array( 'file' => '/path/to/ext.so', 'php_api' => YYYYMMDD, 'zend_mod_api' => YYYYMMDD, 'zend_ext_api' =>; YYYYMMDD ), ... )
PEAR_Common::infoFromDescriptionFile
Table 27-1. Possible PEAR_Error values
This function can not be called statically.