我的环境是FreeBSD 11.1
中文环境已经改成UTF-8
照着这个步骤
https://github.com/ptt/pttbbs/blob/master/docs/INSTALL
安装ptt时,执行make 要安装的时候之后发生link error如下:
root@X10A:/home/bbs/pttbbs # make OSTYPE=FreeBSD BBSHOME=/home/bbs all
install
===> common (all)
===> common/bbs (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/bbs
===> common/osdep (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/osdep
===> common/sys (all)
Warning: Object directory not changed from original
/usr/home/bbs/pttbbs/common/sys
===> mbbsd (all)
sh ../util/newvers.sh
ccache clang vers.c -o mbbsd admin.o assess.o edit.o xyz.o var.o vote.o
voteboard.o comments.o bbs.o announce.o read.o board.o brc.o mail.o record.o
fav.o captcha.o user.o acl.o register.o passwd.o emaildb.o mbbsd.o io.o
term.o telnet.o nios.o friend.o talk.o ccw.o stuff.o kaede.o convert.o name.o
syspost.o cache.o cal.o menu.o vtuikit.o psb.o more.o pmore.o ordersong.o
angel.o timecap.o chess.o chc.o chc_tab.o ch_go.o ch_gomo.o ch_dark.o
ch_reversi.o ch_conn6.o chicken.o gamble.o screen.o -Os -Wl,