出大事了,我每次编译都失败,班长哥哥帮忙啊,快帮忙啊,我郁闷那!!
我装PHP和MYSQL都失败,编译时出现以下错误,谁能帮忙写一个成功运行过的./configure啊???
错误如下::::::
make[3]: Nothing to be done for `all-p'.
make[3]: Leaving directory `/root/mysql/php-4.2.0/sapi/cgi'
make[2]: Leaving directory `/root/mysql/php-4.2.0/sapi/cgi'
make[1]: Leaving directory `/root/mysql/php-4.2.0/sapi'
Making all in TSRM
make[1]: Entering directory `/root/mysql/php-4.2.0/TSRM'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/root/mysql/php-4.2.0/TSRM'
Making all in regex
make[1]: Entering directory `/root/mysql/php-4.2.0/regex'
make[2]: Entering directory `/root/mysql/php-4.2.0/regex'
make[2]: Nothing to be done for `all-p'.
make[2]: Leaving directory `/root/mysql/php-4.2.0/regex'
make[1]: Leaving directory `/root/mysql/php-4.2.0/regex'
Making all in .
make[1]: Entering directory `/root/mysql/php-4.2.0'
/bin/sh /root/mysql/php-4.2.0/libtool --silent --mode=link gcc -I. -I/root/mysql/php-4.2.0/ -I/root/mysql/php-4.2.0/main -I/root/mysql/php-4.2.0 -I/root/mysql/php-4.2.0/Zend -I/root/mysql/php-4.2.0/ext/mysql/libmysql -I/root/mysql/php-4.2.0/ext/xml/expat -I/root/mysql/php-4.2.0/TSRM -g -O2 -prefer-non-pic -static -o libphp4.la -rpath /root/mysql/php-4.2.0/libs stub.lo Zend/libZend.la sapi/cgi/libsapi.la main/libmain.la regex/libregex.la /root/mysql/php-4.2.0/ext/ctype/libctype.la /root/mysql/php-4.2.0/ext/mysql/libmysql.la /root/mysql/php-4.2.0/ext/pcre/libpcre.la /root/mysql/php-4.2.0/ext/posix/libposix.la /root/mysql/php-4.2.0/ext/session/libsession.la /root/mysql/php-4.2.0/ext/standard/libstandard.la /root/mysql/php-4.2.0/ext/xml/libxml.la TSRM/libtsrm.la -lpam -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl
/bin/sh /root/mysql/php-4.2.0/libtool --silent --mode=link gcc -I. -I/root/mysql/php-4.2.0/ -I/root/mysql/php-4.2.0/main -I/root/mysql/php-4.2.0 -I/root/mysql/php-4.2.0/Zend -I/root/mysql/php-4.2.0/ext/mysql/libmysql -I/root/mysql/php-4.2.0/ext/xml/expat -I/root/mysql/php-4.2.0/TSRM -g -O2 -o php -export-dynamic stub.lo libphp4.la
./.libs/libphp4.a(my_malloc.o)(.text+0xbd): In function `my_malloc':
/root/mysql/php-4.2.0/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
./.libs/libphp4.a(my_realloc.o)(.text+0xb4): In function `my_realloc':
/root/mysql/php-4.2.0/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
./.libs/libphp4.a(my_error.o)(.text+0x275): In function `my_error':
/root/mysql/php-4.2.0/ext/mysql/libmysql/my_error.c:32: undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x37a): In function `my_dir':
/root/mysql/php-4.2.0/ext/mysql/libmysql/my_lib.c:162: undefined reference to `errno'
./.libs/libphp4.a(my_lib.o)(.text+0x546): In function `my_stat':
/root/mysql/php-4.2.0/ext/mysql/libmysql/my_lib.c:585: undefined reference to `errno'
./.libs/libphp4.a(my_getwd.o)(.text+0xbd):/root/mysql/php-4.2.0/ext/mysql/libmysql/my_getwd.c:43: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Leaving directory `/root/mysql/php-4.2.0'
make: *** [all-recursive] Error 1
看到了么???能忍么??咋老这样呢????帮忙啊!~~~