看精华区,把 .c .h 的文件放到 local_utl 下面了
修改 Makefile.am
bin_PROGRAMS =chlevel convboards convpasswd calc_effsize conv_pc4fb2k gen_title \
strip_fh chfavbrd \
...
EXTRA_DIST = urlencode.c
但是fb2k2smth 的是 EXTRA_DIST = fb2kstruct.h README
怎么改?
如果按照 urlencode.c 的
在kbs 下 aclocal
libtoolize -c --force
autoheader
automake -a
autoconf
再之后
./configure --prefix=/home/bbs --enable-site=fb2k-v2 --disable-www --without-php -without-mysql
再make
bbs@debian:/home/kbs$ make
make -s all-recursive
Making all in libsystem
Making all in libBBS
Making all in rzsz
Making all in src
Making all in daemon
"/home/kbs/wrapper.sh" -DHAVE_CONFIG_H -I. -I. -I.. -DINVISIBLE -D_DETAIL_UINFO_ -DSHOW_IDLE_ TIME -I../src -Wall -DLINUX -I/usr/local/include -c newpop3.c
[Compiling newpop3.c]
[Linking newpop3d]
gcc -DINVISIBLE -D_DETAIL_UINFO_ -DSHOW_IDLE_TIME -I../src -Wall -DLINUX -I/usr/local/include -o newpop3d newpop3.o ../libBBS/.libs/libBBS.a ../libsystem/.libs/libsystem.a ../rzsz/.libs/libzm odem.a -L/usr/local/lib -lz -L/usr/lib -lpthread /usr/local/lib/libesmtp.so -ldl -Wl,--rpath -Wl ,/usr/local/lib -Wl,--rpath -Wl,/usr/local/lib
Making all in local_utl
"/home/kbs/wrapper.sh" -DHAVE_CONFIG_H -I. -I. -I.. -DINVISIBLE -D_DETAIL_UINFO_ -DSHOW_IDLE_ TIME -I../src -DLINUX -I/usr/local/include -c chlevel.c
[Compiling chlevel.c]
[Linking chlevel]
libtool: link: cannot find the library `/usr/local/mysql/lib/mysql/libmysqlclient.la'
make[2]: *** [chlevel] 错误 1
make[1]: *** [all-recursive] 错误 1
make: *** [all-recursive-am] 错误 2
就出错了
--
修改:tombcy FROM 218.249.29.*
FROM 218.249.29.*