Re: pear(1): Could not open input file.
| From: | Roman Neuhauser | Date: | Tue, 25 Jun 2002 18:32:21 +0000 |
| Subject: | Re: pear(1): Could not open input file. | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-7352@lists.php.net to get a copy of this message | ||
> From: "Tomas V.V.Cox" <cox@idecnet.com>
> To: Roman Neuhauser <neuhauser@bellavista.cz>
> Cc: PEAR DEV <pear-dev@lists.php.net>
> Date: 25 Jun 2002 18:49:51 +0200
> Subject: Re: [PEAR-DEV] pear(1): Could not open input file.
>
> El mar, 25-06-2002 a las 17:03, Roman Neuhauser escribió:
> > > Date: Tue, 25 Jun 2002 16:47:49 +0200
> > > From: "Tomas V.V.Cox" <cox@idecnet.com>
> > > To: Roman Neuhauser <neuhauser@bellavista.cz>
> > > CC: pear-dev <pear-dev@lists.php.net>
> > > Subject: Re: [PEAR-DEV] pear(1): Could not open input file.
> > >
> > > Roman Neuhauser wrote:
> > > >
> > > > > Date: Tue, 25 Jun 2002 15:48:09 +0200
> > > > > From: "Tomas V.V.Cox" <cox@idecnet.com>
> > > > > To: Roman Neuhauser <neuhauser@bellavista.cz>
> > > > > CC: pear-dev <pear-dev@lists.php.net>
> > > > > Subject: Re: [PEAR-DEV] pear(1): Could not open input file.
> > > > >
> > > > > Umm, seems that FreeBSD doesn't allow such interpreter
> > > > > (#!@prefix@/bin/php -Cqd include_path=@include_path@), I've changed it
> > > > > in CVS. Thanks for the report.
> > > >
> > > > it looks like you didn't bother reading the patch I sent along
> > > > the mail, or even the message for that matter.
> > >
> > > I did read the message and spend the time trying to find a FreeBSD for
> > > testing it, find the time to fix it and even to reply to your message.
> > >
> > > > revert your commit, it doesn't help anything.
> > >
> > > Your patch is wrong, removing the -Cq will break compat with php-cgi.
> >
> > what compat? checkout HEAD on a system w/o any prior version of PHP
> > and try running pear. FYI, the cgi SAPI in HEAD is installed in
> > @prefix@/bin/php-cgi, not @prefix@/bin/php.
>
> I know, but I'm not talking about the future of the "pear" cmd, I'm
> talking about its present, where the CGI version > 4.1.x is supported (I
> use it for writing it!).
>
> > > Why it doesn't help?
> >
> > because the problem is not with the -d option. the problem is that
> > if you install HEAD and try running pear, it'll bomb out on two
> > unknown options, -C and -q.
>
> Have you ever tried it?
I think you must be joking. Of course I've tried it. How the hell do
you think I've found that bug? By building and installing 4.3.0-dev,
and trying to run pear, for god's sake!
> FYI the -C and -q params are still preserved for BC issues.
Strange the cli doesn't know them.
> Your problem was with the FreeBSD OS not allowing such interpreter,
> nothing related to PHP.
Looks like you know FreeBSD better than I do. Come to think about
it, it's obvious. It's also obvious I was hallucinating when I saw
the script break with -qCd include_path=/usr/local/lib/php, and work
with just -d.
And if it isn't clear, I'm being sarcastic.
Again: the change you comminted is meaningless. What you *think*
was happening is irrelevant, and more so because you didn't bother
*testing*. What counts is what I saw.
This is insane...
--
FreeBSD 4.6-STABLE
8:25PM up 1 day, 17:24, 7 users, load averages: 0.10, 0.03, 0.01