Re: Using the PEAR Installer for non-PEAR projects

From: Date: Sat, 20 Apr 2002 21:13:31 +0000
Subject: Re: Using the PEAR Installer for non-PEAR projects
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-5695@lists.php.net to get a copy of this message
On Sat, Apr 20, 2002 at 07:35:17PM +0200, Stig S. Bakken wrote: > On Fri, 2002-04-19 at 16:36, Sebastian Bergmann wrote: > > Any chance of using the PEAR installer to install phpOpenTracker, > > something like > > > > pear install > > http://www.sourceforge.net/.../release.tar.gz > > You can do this today if you want. The only problem is keeping your > package namespace sane. You should at least set php_dir to something > else, but apart from that this pretty much works today. In my case almost everything is installed in /usr/local/lib/php/, But there is also a directory called extentions where for example php_gtk.so resides. Maybe is a directory external, foreign or other a good namespace. On the other hand, why not installing those 'foreign' packages just in the php/lib directory. If there's a uniform location for these 'foreign' packages i can in my code pedend include("external/MyPackage/Package.php"). I can set than a dependicy that 'external\MyPackage' must be installed and i'm not forced to deliver this package within my application setup. And doesn't provide that '<package><name>' tag the namespace? But i'm not to farmilar with pear install. Mostly i just install the files manually. I'm a bit old fashion ;-) -- With best regards, Dave Mertens, Development Manager dmertens@ism.nl Innovative Solutions in Media BV Schiekade 101 3033 BG Rotterdam, Netherlands Tel. +31-10-2436060 Fax. +31-10-2436066

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