there is a php extension to which i need to pass a configure option then install in with pecl command. I can't find a way to do this. Of course I can install it manually, but i need it to be able to install it with single command - so that it is easily installable through puppet.

Any ideas?

link|improve this question
feedback

1 Answer

Based on http://old.nabble.com/unattended-PECL-installs--td29760522.html you could try:

yes no | pecl install memcache 

To answer no to every question, or:

printf "yes\n" | pecl install memcache 

To answer "yes" once.

Neither answer is very satisfying though.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.