FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Problem with pecl_gen
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with pecl_gen [message #170236] Thu, 21 October 2010 13:31
Bruce M. Axtens is currently offline  Bruce M. Axtens
Messages: 7
Registered: October 2010
Karma: 0
Junior Member
G'day everyone,

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

Kind regards,
Bruce.

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/mcrypt.so' -
/usr/lib/php5/20090626+lfs/mcrypt.so: 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. {main}() /usr/share/php/CodeGen/PECL/Cli.php:0
PHP 2. CodeGen_PECL_Command->extSkelCompat()
/usr/share/php/CodeGen/PECL/Cli.php:35
PHP 3. CodeGen_PECL_Element_Function->setProto()
/usr/share/php/CodeGen/PECL/Command.php:189

--
foo.proto contains:
mixed foo(mixed bar) Foobar
int inc(int i) Increment
int dec(int i) Decrement
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: wholesale chinese art embroidered bags and Chinese classical furniture
Next Topic: Economic Analysis of Information Systems
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sun Nov 10 16:14:54 GMT 2024

Total time taken to generate the page: 0.02774 seconds