Re: Where to put C extension in pear?

From: Date: Fri, 10 Aug 2001 07:39:59 +0000
Subject: Re: Where to put C extension in pear?
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-1351@lists.php.net to get a copy of this message
On Thu, 9 Aug 2001, Andrei Zmievski wrote: > On Thu, 09 Aug 2001, rasmus@lerdorf.on.ca wrote: > > I suppose, although my xmms extension does not look like a PEAR class in > > any way. It is a simple procedural extension like most other normal PHP > > extensions and would serve as a basic building block that other more > > PEARish user-space classes could be built on top of. > > > > But I guess it could still live in pear/XMMS with a thin user-space PEAR > > wrapper that makes it look like a regular PEAR class. > > Right, although it just like there should be a better way. I mean, Perl > packages are installed and used uniformly, regardless of whether they > are XS modules or plain classes. Can't we do the same? > Two notes -- 1) As of now PEAR classes are automatically installed with PHP -- will the XMMS library just be omitted from the PEAR build system? 2) Yes, we and we should do the same as Perl -- If we're going to nuke dl(), there should be something like Perl's "use" which can bootstrap a module into PHP whether it be a PHP class or a C extension (DSO). -Sterling

« previous php.pear.dev (#1351) next »