smth_sshbbsd目录下加上数据库编译选项的解决方案

7 views
Skip to first unread message

bridged

unread,
Sep 23, 2010, 11:12:42 AM9/23/10
to ytht bbs代码开发
Peter:

/smth_sshbbsd/Makefile的140行
LDFLAGS=
改成
LDFLAGS=-lmysqlclient

Peter: /smth_sshbbsd/configure里有写
Some influential environment variables:
CC C compiler command
CFLAGS C compiler flags
LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
nonstandard directory <lib dir>
LIBS libraries to pass to the linker, e.g. -l<library>
CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
you have headers in a nonstandard directory <include dir>
CPP C preprocessor

bridged

unread,
Sep 23, 2010, 11:46:52 AM9/23/10
to ytht bbs代码开发
编译完以后kill掉原有的sshbbsd
然后用root执行/home/bbs/bin/sshbbsd
Reply all
Reply to author
Forward
0 new messages