LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 750|回复: 0

装Mysql + Apache + Php遇到的问题.

[复制链接]
发表于 2003-7-27 02:11:06 | 显示全部楼层 |阅读模式
[root@chh apache_1.3.14]# uname -a
Linux chh.meibu.com 2.4.20-8 #1 Thu Mar 13 17:18:24 EST 2003 i686 athlon i386 GNU/Linux

version
RedHat 9
MySQL-4.0.4-0.i386.rpm  
MySQL-client-4.0.4-0.i386.rpm  
MySQL-devel-4.0.4-0.i386.rpm
apache_1.3.27
php-4.0.2

[root@chh apache_1.3.27]# ./configure --prefix=/server/apache --activate-module=src/modules/php4/libphp4.a
Configuring for Apache, Version 1.3.27
+ using installation path layout: Apache (config.layout)
+ activated php4 module (modules/php4/libphp4.a)
........     ..............
........     ..............
Creating Makefile in src/modules/standard
Creating Makefile in src/modules/php4
[root@chh apache_1.3.27]# make
===> src
make[1]: Entering directory `/inst/apache_1.3.27'
make[2]: Entering directory `/inst/apache_1.3.27/src'
===> src/os/unix
gcc -c  -I../../os/unix -I../../include   -DLINUX=22 -I/inst/php-4.0.2 -I/inst/php-4.0.2/main -I/inst/php-4.0.2/main -I/inst/php-4.0.2/Zend -I/inst/php-4.0.2/Zend -I/inst/php-4.0.2 -DNO_DL_NEEDED `../../apaci` os.c

.................       ..................
.................       ..................
modules/php4/libphp4.a(file.o)(.text+0xd40): In function `php_if_tempnam':
/inst/php-4.0.2/ext/standard/file.c:595: the use of `tempnam' is dangerous, better use `mkstemp'
modules/php4/libphp4.a(my_malloc.o)(.text+0xbd): In function `my_malloc':
/inst/php-4.0.2/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
modules/php4/libphp4.a(my_realloc.o)(.text+0xb4): In function `my_realloc':
................        ....................
/inst/php-4.0.2/ext/mysql/libmysql/my_getwd.c:130: undefined reference to `errno'
collect2: ld returned 1 exit status
make[2]: *** [target_static] Error 1
make[2]: Leaving directory `/inst/apache_1.3.27/src'
make[1]: *** [build-std] Error 2
make[1]: Leaving directory `/inst/apache_1.3.27'
make: *** [build] Error 2

忙了一天了也装好,谁能帮一下?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表