young
Новичок
Проблема: собрать GD в SO
Что делать?
linux72:/install/all/web/php-4.3.2/ext/gd # ./configure --with-php-config=/etc/php.ini
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
/etc/php.ini: line 1:
Что делать?
linux72:/install/all/web/php-4.3.2/ext/gd # ./configure --with-php-config=/etc/php.ini
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether gcc and cc understand -c and -o together... yes
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
/etc/php.ini: line 1:
PHP:
: command not found
/etc/php.ini: line 3: syntax error near unexpected token `;;'
/etc/php.ini: line 3: `;;;;;;;;;;;'
configure: error: Cannot find php-config. Please use --with-php-config=PATH