- 主题:按照精华区的帖子安装 SMTHBBS 1.2 出错
先:
php-4.3.1]# ./configure --with-apxs=/usr/local/www/bin/apxs --disable-debug --enable-pic --disable-rpath --enable-inline-optimization
--with-dom --with-gd --with-freetype-dir=/usr/lib --with-png-dir --with-iconv --with-jpeg-dir --with-zlib --enable-track-vars
在 make 时:
ext/mysql/libmysql/my_tempnam.lo(.text+0x49): In function `my_tempnam':
/root/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x1d3): In function `my_stat':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x63b): In function `my_dir':
/root/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0x149): In function `my_malloc':
/root/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0x188): In function `my_realloc':
/root/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x102): In function `my_delete':
/root/php-4.3.1/ext/mysql/libmysql/my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x97):/root/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108: more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
请问怎么办?
--
FROM 219.128.252.*
我的是 Redhat9,php是在smth提供的连接下载的,不知对不对?
【 在 flyriver (江~~人生抉择) 的大作中提到: 】
: 什么操作系统?
: 这个 make 过程错误是 php 的,不是 smthbbs 的 :)
--
FROM 219.128.252.*
httpd-2.0.40-21
mysql-3.23.54a-11
何解?
【 在 atppp (Big Mouse) 的大作中提到: 】
: apache什么版本,另外mysql装了什么版本?
: rpm -q httpd
: rpm -q mysql
: ...................
--
FROM 219.128.252.*