Hi all.
I'm newbie on linux, php etc. I downloaded some tar.gz files extract the original ones and tried to follow the steps on the INSTALL of PHP. I used the following command syntax: ./configure --with-mysql=/usr/bin/ --with-xml --with-apache/usr/src/apache_1.3.28/ --with-curl=/usr/src/curl-7.10.7/
MySQL was installed by the use of RPM.
After a lot of lines and time the following warning appeared on the screen:
configure: error: There is something wrong. Please check config.log for more information.
I checked out config.log and there was a lot of errors. The line and error are:
configure:1618: checking host system type
configure:1706: checking for gcc
configure:1819: checking whether the C compiler (gcc ) works
configure:1835: gcc -o conftest conftest.c 1>&5
configure:1861: checking whether the C compiler (gcc ) is a cross-compiler
configure:1866: checking whether we are using GNU C
configure:1875: gcc -E conftest.c
configure:1894: checking whether gcc accepts -g
configure:1927: checking whether gcc and cc understand -c and -o together
configure:1942: gcc -c conftest.c -o conftest.o 1>&5
configure:1943: gcc -c conftest.c -o conftest.o 1>&5
configure:1948: cc -c conftest.c 1>&5
configure:1950: cc -c conftest.c -o conftest.o 1>&5
configure:1951: cc -c conftest.c -o conftest.o 1>&5
configure:1978: checking how to run the C preprocessor
configure:1999: gcc -E conftest.c >/dev/null 2>conftest.out
configure:2059: checking for AIX
configure:2086: checking if compiler supports -R
configure:2101: gcc -o conftest -g -O2 conftest.c -R /usr/lib 1>&5
gcc: unrecognized option `-R'
/usr/lib: file not recognized: Is a directory
collect2: ld returned 1 exit status
configure: failed program was:
#line 2094 "configure"
#include "confdefs.h"
int main() {
; return 0; }
Could anyone, please, help me and say what i'm doing wrong?
Thanks.
Vinicius
