Nasıl varsayılan Armut / PECL build klasör / var / tmp değiştirebilirim?

0 Cevap php

Linux üzerinde bir PECL paketini yüklemeye çalışıyorum, ancak yükleyici yapılandırma aşamasında geçmiş geçmez.

Benim hosting sağlayıcısı yürütme dosyaları engeller, ve bu hataya neden var / var / tmp bir dosya sistemi monte:

root@host [/usr/local/apache/conf/includes]# pecl install pdo
downloading PDO-1.0.3.tgz ...
Starting to download PDO-1.0.3.tgz (52,613 bytes)
.............done: 52,613 bytes
12 source files, building
running: phpize
Configuring for:
PHP Api Version:         20041225
Zend Module Api No:      20060613
Zend Extension Api No:   220060519
building in /var/tmp/pear-build-root/PDO-1.0.3
running: /root/tmp/pear/PDO/configure
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
ERROR: `/root/tmp/pear/PDO/configure' failed

Ben sorunu (ben buraya bir yürütülebilir dosya kopyalanan ve doğrulamak için çalıştı) Eğer / var / tmp dosyaları çalıştırmak değil ki% 99 eminim. Ben başka bir yerde inşa onun işi varsa PECL tamamlamak için alabilirsiniz eminim, ama ben uygun yapılandırma ayarını bulamıyorum.

Nasıl olmayan bir varsayılan klasör oluşturmak için PECL anlatır?

0 Cevap