Req #58050 [Opn->Asn]: pecl install asks a weird dialog about libenchant prefix?

From: Date: Tue, 24 Oct 2017 05:17:15 +0000
Subject: Req #58050 [Opn->Asn]: pecl install asks a weird dialog about libenchant prefix?
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211922@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:         kalle@php.net
 Reported by:        mfischer@php.net
 Summary:            pecl install asks a weird dialog about libenchant
                     prefix?
-Status:             Open
+Status:             Assigned
 Type:               Feature/Change Request
-Package:            enchant
+Package:            *General Issues
 Operating System:   Linux Debian
 PHP Version:        5.2.5
 Assigned To:        pajoye
 Block user comment: N
 Private report:     N



Previous Comments:
------------------------------------------------------------------------
[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?

------------------------------------------------------------------------
[2008-02-21 06:53:35] mfischer@php.net

It does now, yes. But could the actual dialog in the ./configure maybe made clearer?

Also, I though usually one would have to specify this explicitly anyway with some argument to
./configure? 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. 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.

Anyway, I think the question from ./configure is not clear in that matter. Thank you.

------------------------------------------------------------------------


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


Thread (1 message)

  • kalle@php.net
  • Unknown Message
    • kalle@php.net
« previous php.bugs (#211922) next »