在 win2k 里面的虚拟机下装 freebsd 5.4 成功,然后编译 smthbbs-1.2.2
命令是:
set CC="gcc" CFLAGS="-g" LDFLAGS="-lrt"
./configure --prefix=/home/bbs --enable-site=devel --disable-ssh
--disable-www --with-mysql=/usr/local/mysql
但是 configure 到一半就出错了:
creating libtool
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets $(MAKE)... (cached) yes
checking for bison... no
checking for byacc... byacc
checking for gzgets in -lz... yes
checking for mysql_real_connect in -lmysqlclient... no
configure: error: The MYSQL library not found
这个问题怎么解决啊。:(
mysql 4.1.1 已经装在 /usr/local/mysql 里面了,而且可以登录建表 @@
而且 /usr/local/mysql/lib/libmysqlclient.a 是存在的 @@
--
修改:fancitron FROM 59.66.199.*
FROM 59.66.199.*