По совету JustUserR в одной из тем, решил таки я залезть чуть глубже своей компетенции. А именно удаленно скомпилировать бинарник php (на платном виртуальном хостинге).
Подключаюсь по SSH, распаковываю архив и стопарюсь с ошибкой на ./configure.
Конфигурация следующая:
Спойлер (Отобразить)./configure --enable-bcmath --enable-calendar --enable-exif --enable-ftp --enable-gd-native-ttf --enable-libxml --enable-mbstring --enable-pdo=shared --enable-sockets --enable-zend-multibyte --prefix=/home/uchkuma/php --with-curl=/opt/curlssl/ --with-freetype-dir=/usr --with-gd --with-gettext --with-imap=/opt/php_with_imap_c lient/ --with-imap-ssl=/usr --with-jpeg-dir=/usr --with-kerberos --with-libdir=lib64 --with-libexpat-dir=/usr --with-libxml-dir=/opt/xml2/ --with-mcrypt=/opt/libmcrypt/ --with-mysql=/usr --with-mysql-sock=/var/lib/mysql /mysql.sock --with-mysqli=/usr/bin/mysql_config --with-pcre-regex=/opt/pcre --with-pdo-mysql=shared --with-pdo-sqlite=shared --with-pic --with-png-dir=/usr --with-sqlite=shared --with-ttf --with-xmlrpc --with-xpm-dir=/usr --with-xsl=/opt/xslt/ --with-zlib --with-zlib-dir=/usr
Последние строки в putty:
Цитата:checking for gcc... gcc
checking whether the C compiler (gcc ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
Смотрю файл config.log:
Цитата:configure:1605: checking for egrep
configure:1620: checking for a sed that does not truncate output
configure:1785: checking host system type
configure:1885: checking for gcc
configure:1998: checking whether the C compiler (gcc ) works
configure:2014: gcc -o conftest conftest.c 1>&5
./configure: line 2013: /usr/bin/gcc: Permission denied
configure: failed program was:
#line 2009 "configure"
#include "confdefs.h"
main(){return(0);}
И на что у меня нет прав? И что делать? (Отредактировано автором: 01 Февраля, 2011 - 21:27:44)
|