- 主题:欢迎测试 smthbbs-1.2.2 cvs 版本
水木上游的 news server 坏了,文章转不出来,只好来 HAPPY 发了。
目前 cvs.smth.org 上 v1_2 分支的代码已经是 smthbbs-1.2.2 的了,为了
保证正式的 smthbbs-1.2.2 发布包有更高的质量,更少的 bug,欢迎大家都
来参与最后的测试工作。测试工作为期一周。smthbbs-1.2.2 预计在 1.15 发
布。
测试平台:
x86 Linux (各种发布,2.4 或 2.6 内核)
x86 FreeBSD 4.x/5.x
x86 Solaris 8/9/10
x86 Cygwin
x86_64 Linux (这个会相对困难点,欢迎吃螃蟹者 :P)
x86_64 FreeBSD
sparc Solaris 8/9/10 (特别欢迎这个)
测试内容:
1. 编译和安装
2. 创建/删除/修改用户
3. 创建/删除/修改看版
4. 发表/删除/修改文章
5. 发信/删信/改信
6. web 注册用户
7. web 发文/发信
8. web 上传附件 (多个附件)
9. blog
10. 收录/删除/修改精华区
--
FROM 220.197.185.53
我是说 smthbbs-1.2 的代码有更新到最新的 cvs 吗?
现在的代码用 gcc-3.4.2 可以流畅编译通过的。
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: FreeBSD 5.3-RELEASE FreeBSD 5.3-RELEASE 2: Thu Jan 6 17:35:00 CST 2005
: /usr/src/sys/i386/compile/BSD i386
: 直接用5.3光盘安装后没有更新.
--
FROM 166.111.160.80
cd smth_bbs
aclocal; autoheader; automake -a; autoconf
cd sshbbsd
aclocal; autoheader; automake -a; autoconf
然后就可以 configure 了,不过注意一下你的 libtool 版本是不是 1.4.x 的。
如果是 libtool-1.5.x 的话,还得先运行一下 libtoolize -c --force,才能
运行 aclocal; autoheader; automake -a; autoconf
看一下 doc/README.cvs 和 其他文档,应该都提到了 autoconf, automake 和
libtool 的版本要求。
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: it's my fault..,进入的是原来下载tgz的smthbbs1.2.2目录。。。;-(
: 重新cvs了,缺少configure文件。
: su-2.05b$ pwd
: /home/tian/SMTH/smth_bbs
: su-2.05b$ ls -l
: total 276
: -rw-r--r-- 1 tian wheel 114 Dec 18 2002 AUTHORS
: -rw-r--r-- 1 tian wheel 0 Jul 26 2002 COPYING
: drwxr-xr-x 2 tian wheel 512 Jan 9 16:39 CVS
: -rw-r--r-- 1 tian wheel 0 May 24 2002 ChangeLog
: ...................
--
FROM 166.111.160.80
你的 automake 和 autoconf 的版本不够,呵呵
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: f~ core 英明,带领大家使用autoconf,automake,适用于多平台。;)
: 后面还有错误。看看如何调试。;)
: bash-2.05b# libtool
: libtool13 libtool15 libtoolize13 libtoolize15
: bash-2.05b# autoconf
: autoconf autoconf253
: bash-2.05b# automake15
: su-2.05b$ cd smth_bbs
: su-2.05b$ ls
: AUTHORS compile libsystem
: ...................
--
FROM 220.197.185.53
用这个命令:
libtoolize15 -c --force; aclocal18; autoheader259; automake18 -a; autoconf259
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: f~ core 英明,带领大家使用autoconf,automake,适用于多平台。;)
: 后面还有错误。看看如何调试。;)
: bash-2.05b# libtool
: libtool13 libtool15 libtoolize13 libtoolize15
: bash-2.05b# autoconf
: autoconf autoconf253
: bash-2.05b# automake15
: su-2.05b$ cd smth_bbs
: su-2.05b$ ls
: AUTHORS compile libsystem
: ...................
--
FROM 220.197.185.53
最简单的办法是安装
libtool-1.4.3
autoconf-2.57
automake-1.6.3
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: f~ core 英明,带领大家使用autoconf,automake,适用于多平台。;)
: 后面还有错误。看看如何调试。;)
: bash-2.05b# libtool
: libtool13 libtool15 libtoolize13 libtoolize15
: bash-2.05b# autoconf
: autoconf autoconf253
: bash-2.05b# automake15
: su-2.05b$ cd smth_bbs
: su-2.05b$ ls
: AUTHORS compile libsystem
: ...................
--
FROM 220.197.185.53
怎么还有 AC_PROG_RANLIB 啊,这个已经被我干掉了的。
另外 FreeBSD ports 安装的 auto 系列工具都不是很合适,例如在我的 5.3-STABLE
上 libtool15 安装的就有问题,无法和 automake19 及 autoconf259 配合,得手工
调整一下。
我是这样做得,把 /usr/local/share/aclocal 里面的 libtool15.m4 和 ltdl15.m4
复制到 /usr/local/share/aclocal19 目录。如果你 automake 是 1.8 的版本,
那么就把 libtool15.m4 和 ltdl15.m4 复制到 /usr/local/share/aclocal18 里面,
当然如果 /usr/local/share/aclocal18 里面已经有那两个文件了,就没问题了。
我通常都会把 FreeBSD 上的 auto 系列工具直接 pkg_delete 掉,然后安装上我在
前文说的那三个版本的。
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: su-2.05b$ libtoolize15 -c --force
: Using `AC_PROG_RANLIB' is rendered obsolete by `AC_PROG_LIBTOOL'
: You should update your `aclocal.m4' by running aclocal.
: su-2.05b$ aclocal18;autoheader259;automake18 -a;autoconf259
: /usr/X11R6/share/aclocal/gtk.m4:7: warning: underquoted definition of AM_PATH_GT
: 我上面已经作了的.;-(
--
FROM 220.197.185.53
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: 有了configure了,try一下
: checking for gcc option to accept ANSI C... (cached) none needed
: checking dependency style of gcc... (cached) gcc3
: ./configure: line 14043: AC_PROG_LIBTOOL: command not found
libtool 还是有问题。
另外把 autom4te.cache/ 目录删掉,再运行 aclocal 等命令好一点。
--
FROM 220.197.185.53
有两个问题:
1. 你的代码好像不是最新的
2. configure 出来的 OSTYPE 怎么会是 GENERIC 呢?应该是 FREEBSD 才对。
解决办法:
1. 从 cvs co 最新代码,命令如下:
export CVSROOT=:pserver:bbsdev@cvs.smth.org:/home/cvs
cvs -z9 co -r v1_2 -d smthbbs-1.2 smth_bbs
cd smthbbs-1.2
cvs -z9 co -r v1_2 sshbbsd
cvs -z9 co -r v1_2 innbbsd
cvs -z9 co -r v1_2 bbshome
然后用 aclocal; autoheader; automake -a; autoconf 生成 configure,
对于目前的最新代码,应该是一个 Warning 都没有的。
2. configure 时看看最前面输出的 build,host 和 target 都是什么,应该是
i386-unknown-freebsd5.3 这样的字符串。
另外也可以直接运行 ./config.guess 看看输出是什么。
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: 英明阿!
: 去掉所有ports安装的,安装了如上说的3个,make非常流畅,GNU据说是有专业Maintainer
: 来制作Makefile的。;)
: su-2.05b$ aclocal;autoheader ;automake -a;autoconf
: configure.ac:6: warning: AC_ARG_PROGRAM was called before AC_CANONICAL_TARGET
: configure.ac: installing `./install-sh'
: configure.ac: installing `./mkinstalldirs'
: configure.ac: installing `./missing'
: bbs2www/lib/Makefile.am: installing `./depcomp'
: 只有一个warning了
: ...................
--
FROM 220.197.185.53
跑两个 bbs 的问题解决起来比较麻烦,需要改 shm key,你如果有兴趣就改改吧 :)
【 在 tian.bbs@bbs.tju.edu.cn.no.spam (庄子·逍遥游) 的大作中提到: 】
: 果然。no Warning ;)
: su-2.05b$ aclocal;autoheader ;automake -a;autoconf
: configure.ac: installing `./install-sh'
: configure.ac: installing `./mkinstalldirs'
: configure.ac: installing `./missing'
: bbs2www/lib/Makefile.am: installing `./depcomp'
: configure:1523: checking build system type
: configure:1541: result: i386-unknown-freebsd5.3
: configure:1549: checking host system type
: configure:1563: result: i386-unknown-freebsd5.3
: ...................
--
FROM 166.111.160.80