Problem with pecl_gen

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

G'day everyone,

Not sure where to post this. Have posted it on already
Okay, below is the session cut and pasted from VirtualBox. Aside from
the warning about, what's more pressing is the PHP Fatal error
on line 274.

Kind regards,

P.S. Before I get told to install the latest version, let me point out
that I have done this, such that attempting to do it again gives
"pear/CodeGen_PECL is already installed and is the same as the released
version 1.1.3
install failed"

$ uname -a
Linux bruce-laptop 2.6.32-25-generic #44-Ubuntu SMP Fri Sep 17 20:26:08
UTC 2010 i686 GNU/Linux

$ pecl-gen --extname=foo --proto=foo.proto
PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20090626+lfs/' -
/usr/lib/php5/20090626+lfs/ cannot open shared object file: No
such file or directory in Unknown on line 0
Warning: Missing argument 2 for
CodeGen_PECL_Element_Function::setProto(), called in
/usr/share/php/CodeGen/PECL/Command.php on line 189 and defined in
/usr/share/php/CodeGen/PECL/Element/Function.php on line 270
Notice: Undefined variable: extension in
/usr/share/php/CodeGen/PECL/Element/Function.php on line 274
PHP Fatal error:  Call to a member function haveVersion() on a
non-object in /usr/share/php/CodeGen/PECL/Element/Function.php on line 274
PHP Stack trace:
PHP   1. () /usr/share/php/CodeGen/PECL/Cli.php:0
PHP   2. CodeGen_PECL_Command->extSkelCompat()
PHP   3. CodeGen_PECL_Element_Function->setProto()

foo.proto contains:
mixed foo(mixed bar) Foobar
int inc(int i) Increment
int dec(int i) Decrement

Site Timeline