Req #58050 [Fbk]: pecl install asks a weird dialog about libenchant prefix?
| From: | mfischer@php.net | Date: | Tue, 24 Aug 2021 14:07:52 +0000 |
| Subject: | Req #58050 [Fbk]: pecl install asks a weird dialog about libenchant prefix? | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-236045@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=58050&edit=1
ID: 58050
Updated by: mfischer@php.net
Reported by: mfischer@php.net
Summary: pecl install asks a weird dialog about libenchant
prefix?
Status: Feedback
Type: Feature/Change Request
Package: *General Issues
Operating System: Linux Debian
PHP Version: 5.2.5
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
This is so long ago, I barely remembered this and had to re-read all of it to get the gist.
I don't think its anyone's time worth spending on this and I suggest we just
close/won't fix
PS: I'm the OP
Previous Comments:
------------------------------------------------------------------------
[2021-08-24 11:52:59] cmb@php.net
Not sure what to do with this ticket. enchant has been bundled
long ago, so is irrelevant wrt. pecl. If it is about improving
the prompt, that would be a pear-core issue[1].
[1] <https://github.com/pear/pear-core>
------------------------------------------------------------------------
[2008-02-21 09:41:23] mfischer@php.net
dev01:~# pecl version
PEAR Version: 1.6.1
PHP Version: 5.2.5-2
Zend Engine Version: 2.2.0
Thanks
------------------------------------------------------------------------
[2008-02-21 09:34:07] pierre dot php at gmail dot com
> " 1. libenchant prefix? : shared"
>
> It's saying prefix? and giving shared. Totally confusing.
>
> I would understand "Path to libenchant? : /usr" much better.
The syntax to build a module shared when built within the php src tree is: --with-foo=/usr,shared
Not very obvious but it is how it works.
> "1-1, 'all', 'abort', or Enter to continue:"
> What means "1-1" and "all" ?
No idea, which pear version do you use?
------------------------------------------------------------------------
[2008-02-21 08:30:20] mfischer@php.net
Good question. What confuses me is:
" 1. libenchant prefix? : shared"
It's saying prefix? and giving shared. Totally confusing.
I would understand "Path to libenchant? : /usr" much better.
The next line also was confusing:
"1-1, 'all', 'abort', or Enter to continue:"
What means "1-1" and "all" ?
------------------------------------------------------------------------
[2008-02-21 07:30:24] pierre dot php at gmail dot com
"I though usually one would have to specify this explicitly anyway with some argument to
./configure?"
This is what the *pecl* command does when it asks you to fill this argument.
"Actually I think over the many years of all the extension I've installed it's the
first with an interactive dialog and thus I was very confused right from the start."
Because other does not have a correct package.xml. You have to explicitly tell pecl each argument it
has to ask (pressing enter will use the default).
"But I understand reason, now that I think twice, because with pecl itself you would not have a
way to pass the parameters I guess."
Exactly.
"Anyway, I think the question from ./configure is not clear in that matter. Thank you."
And how do you want it then?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=58050
--
Edit this bug report at https://bugs.php.net/bug.php?id=58050&edit=1