- 主题:smthbbs可以在solaris下安装吗?
说有这方面的经验,希望能够介绍一下。
马上要安装一个在solaris平台的bbs.
--
FROM 135.252.58.*
刚才编译了一下,出现如下错误,知道的大侠告诉如何解决!
编译器是gcc
[Compiling bbs_sendmail.c]
bbs_sendmail.c: In function `bbs_readmailfile':
bbs_sendmail.c:399: warning: subscript has type `char'
bbs_sendmail.c: In function `my_ansi_filter':
bbs_sendmail.c:692: warning: subscript has type `char'
bbs_sendmail.c: In function `bbs_sendmail':
bbs_sendmail.c:712: `OWNSENDMAIL' undeclared (first use in this function)
bbs_sendmail.c:712: (Each undeclared identifier is reported only once
bbs_sendmail.c:712: for each function it appears in.)
*** Error code 1
The following command caused the error:
source='bbs_sendmail.c' object='bbs_sendmail.lo' libtool=yes \
depfile='.deps/bbs_sendmail.Plo' tmpdepfile='.deps/bbs_sendmail.TPlo' \
depmode=none /bin/bash ../depcomp \
/export/home/jxiong/smthbbs-1.2.1/wrapper.sh --mode=compile gcc -DHAVE_CONFI
G_H -I. -I. -I.. -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TI
ME -I../src -Wall -DSOLARIS -c -o bbs_sendmail.lo `test -f bbs_sendmail.c |
| echo './'`bbs_sendmail.c
make: Fatal error: Command failed for target `bbs_sendmail.lo'
Current working directory /export/home/jxiong/smthbbs-1.2.1/libBBS
*** Error code 1
The following command caused the error:
set fnord -s; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='libsystem libBBS rzsz src daemon local_utl mail2bbs service contrib';
for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make -s $local_target) \
|| case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make -s "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
【 在 hujia (佳) 的大作中提到: 】
: 说有这方面的经验,希望能够介绍一下。
: 马上要安装一个在solaris平台的bbs.
--
FROM 135.252.58.*
ctrl+g 6 sendmail 找flyriver文
【 在 hujia (佳) 的大作中提到: 】
: 刚才编译了一下,出现如下错误,知道的大侠告诉如何解决!
: 编译器是gcc
: [Compiling bbs_sendmail.c]
: ...................
--
FROM 219.224.137.*
【 在 hujia (佳) 的大作中提到: 】
: 标 题: Re: smthbbs可以在solaris下安装吗?
: 发信站: BBS 水木清华站 (Mon Oct 11 17:39:20 2004), 转信
:
: 刚才编译了一下,出现如下错误,知道的大侠告诉如何解决!
: 编译器是gcc
:
: [Compiling bbs_sendmail.c]
: bbs_sendmail.c: In function `bbs_readmailfile':
: bbs_sendmail.c:399: warning: subscript has type `char'
: bbs_sendmail.c: In function `my_ansi_filter':
: bbs_sendmail.c:692: warning: subscript has type `char'
: bbs_sendmail.c: In function `bbs_sendmail':
: bbs_sendmail.c:712: `OWNSENDMAIL' undeclared (first use in this function)
你自定义了?
那你应该把OWNSENDMAIL定义成 "/usr/bin/sendmail"这样的邮件发送程序
: bbs_sendmail.c:712: (Each undeclared identifier is reported only once
: bbs_sendmail.c:712: for each function it appears in.)
: *** Error code 1
: The following command caused the error:
: source='bbs_sendmail.c' object='bbs_sendmail.lo' libtool=yes \
: depfile='.deps/bbs_sendmail.Plo' tmpdepfile='.deps/bbs_sendmail.TPlo' \
: depmode=none /bin/bash ../depcomp \
: /export/home/jxiong/smthbbs-1.2.1/wrapper.sh --mode=compile gcc -DHAVE_CONFI
: G_H -I. -I. -I.. -DINVISIBLE -DSAFE_KILL -D_DETAIL_UINFO_ -DSHOW_IDLE_TI
: ME -I../src -Wall -DSOLARIS -c -o bbs_sendmail.lo `test -f bbs_sendmail.c |
: | echo './'`bbs_sendmail.c
: make: Fatal error: Command failed for target `bbs_sendmail.lo'
: Current working directory /export/home/jxiong/smthbbs-1.2.1/libBBS
: *** Error code 1
: The following command caused the error:
: set fnord -s; amf=$2; \
: dot_seen=no; \
: target=`echo all-recursive | sed s/-recursive//`; \
: list='libsystem libBBS rzsz src daemon local_utl mail2bbs service contrib';
: for subdir in $list; do \
: echo "Making $target in $subdir"; \
: if test "$subdir" = "."; then \
: dot_seen=yes; \
: local_target="$target-am"; \
: else \
: local_target="$target"; \
: fi; \
: (cd $subdir && make -s $local_target) \
: || case "$amf" in *=*) exit 1;; *k*) fail=yes;; *) exit 1;; esac; \
: done; \
: if test "$dot_seen" = "no"; then \
: make -s "$target-am" || exit 1; \
: fi; test -z "$fail"
: make: Fatal error: Command failed for target `all-recursive'
: 【 在 hujia (佳) 的大作中提到: 】
: : 说有这方面的经验,希望能够介绍一下。
: : 马上要安装一个在solaris平台的bbs.
:
:
: --
:
: ※ 来源:·BBS 水木清华站 smth.org·[FROM: 135.252.58.*]
--
FROM 211.144.200.*
oh......那装上esmtp包也可以了应该
【 在 newer (new2) 的大作中提到: 】
: ctrl+g 6 sendmail 找flyriver文
--
FROM 211.144.200.*
谢谢,已按你的提示解决。
【 在 newer (new2) 的大作中提到: 】
: ctrl+g 6 sendmail 找flyriver文
--
FROM 135.252.58.*
把下面的服务都起来之后,但没法telnet是怎么回事?
./miscd daemon
./bbslogd
./bbsd -p 2323
如何解决?
【 在 hujia (佳) 的大作中提到: 】
: 谢谢,已按你的提示解决。
--
FROM 135.252.58.*
还有,在安装过程中是不是一定要安装ssh?
【 在 hujia (佳) 的大作中提到: 】
: 把下面的服务都起来之后,但没法telnet是怎么回事?
: ./miscd daemon
: ./bbslogd
: ...................
--
FROM 135.252.58.*
如果你用的是 Solaris 8,建议用 cvs 方式下载 v1_2 分支的代码,修补了
smthbbs-1.2.1 的一些 bug。如果是 Solaris 9 的话,直接用 smthbbs-1.2.1
是可以的。
【 在 hujia (佳) 的大作中提到: 】
: 说有这方面的经验,希望能够介绍一下。
: 马上要安装一个在solaris平台的bbs.
--
FROM 166.111.82.*