Re: Using the PEAR Installer for non-PEAR projects
| From: | Stig S. Bakken | Date: | Sun, 21 Apr 2002 10:59:19 +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-5702@lists.php.net to get a copy of this message | ||
On Sun, 2002-04-21 at 12:36, Dave Mertens wrote:
> On Sun, Apr 21, 2002 at 08:28:14AM +0200, Martin Jansen wrote:
> > On Sat, 20 Apr 2002 23:13:31 +0200, Dave Mertens wrote:
> >
> > >In my case almost everything is installed in /usr/local/lib/php/, But there
> > >is also a directory called extensions where for example php_gtk.so resides.
> > >Maybe is a directory external, foreign or other a good namespace.
> >
> > The PEAR installer will also install PHP Extension to another
> > directory: Simply run `pear config-show' and look for the
> > value of ext_dir. This will be the directory where PHP extensions
> > will be installed. You can change the value by using
> > `pear config-set <your_directory_goes_here>'.
> Like i said i didn't work much with the pear tool. In my case the extension
> dir is just a sub directory (extension/no-debug-non-zts-20010901) of the
> 'PHP_DIR'.
>
> > >On the other hand, why not installing those 'foreign' packages just in the
> > >php/lib directory.
> >
> > For some programmers it might be easier to distinguish between
> > their in-house code and the open-source code they are using,
> > when they are stored at two different places.
> But how is pear going to distinguish a in-house, foreign (other websites
> than pear/php) and pear packages?
>
> But the only packages I've installed are only my own packages
> to test them. And can i be right that the pear version that
> http://pear.php.net/~cox/go-pear is delivering is different
> from the one
> that comes with php 4.1.2?? Last week i build a package with the pear from
> 4.1.2. and didn't complain. This week after running go-pear, pear was
> complaining that <description>, <license> and <state> were missing and
> didn't build the package.
>
> Do i really have a f*ckup-ed distribution or is there a difference between
> 4.1.2 and go-pear?
>
> BTW: My workstation didn't had a clean install since 1998 (Slackware 3.6),
> now I'm running sl8, and a lot of packages were installed by hand. I hate
> the fact that distributions are changing programs paths. I like the original
> defaults ;-) Didn't reboot since 12 July 2000, a uptime of 648 days..
The PEAR installed shipped with 4.1.2 is pretty old, it had absolutely
no consistency checks for the package.xml file. So those errors you get
are correct.
- Stig