dengleitju / ducter-server Goto Github PK
View Code? Open in Web Editor NEWducter后台代码
ducter后台代码
OS: CentOS release 6.6 (Final)
gcc version 4.4.7 20120313 (Red Hat 4.4.7-11) (GCC)
When compiling ducter agent with: ./configure --prefix=/usr/local/app/ducter/agent --with-cwinux=/usr/local/cwinux/include --with-protobuf=/usr/local/protobuf/include
I got following error:
/bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -std=c++0x -o dcmd_agent dcmd_agent-dcmd_agent_app.o dcmd_agent-dcmd_agent.o dcmd_agent-dcmd_agent_config.o dcmd_agent-dcmd_agent_def.o dcmd_agent-dcmd_process.o dcmd_agent-dcmd_def.o dcmd_agent-dcmd_cmn.pb.o dcmd_agent-dcmd_agent.pb.o dcmd_agent-dcmd_tss.o -lcwxapp -lcwxnet -lcwxcmn -lprotobuf -lpthread -lz -ldl -lrt
./libtool: line 807: X--tag=CXX: command not found
./libtool: line 840: libtool: ignoring unknown tag : command not found
./libtool: line 807: X--mode=link: command not found
./libtool: line 973: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 974: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
./libtool: line 2200: X-g: command not found
./libtool: line 2200: X-O2: command not found
./libtool: line 2200: X-std=c++0x: command not found
./libtool: line 2369: Xdcmd_agent: command not found
./libtool: line 2374: X:/usr/local/cwinux/lib/:/usr/local/cwinux/lib/:/usr/local/cwinux/lib/:/usr/local/cwinux/lib/: No such file or directory
./libtool: line 2381: Xdcmd_agent: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
./libtool: line 5124: Xg++ "" "" "" -o @output@ dcmd_agent-dcmd_agent_app.o dcmd_agent-dcmd_agent.o dcmd_agent-dcmd_agent_config.o dcmd_agent-dcmd_agent_def.o dcmd_agent-dcmd_process.o dcmd_agent-dcmd_def.o dcmd_agent-dcmd_cmn.pb.o dcmd_agent-dcmd_agent.pb.o dcmd_agent-dcmd_tss.o -lcwxapp -lcwxnet -lcwxcmn -lprotobuf -lpthread -lz -ldl -lrt: command not found
./libtool: line 5125: Xg++ "" "" "" -o @output@ dcmd_agent-dcmd_agent_app.o dcmd_agent-dcmd_agent.o dcmd_agent-dcmd_agent_config.o dcmd_agent-dcmd_agent_def.o dcmd_agent-dcmd_process.o dcmd_agent-dcmd_def.o dcmd_agent-dcmd_cmn.pb.o dcmd_agent-dcmd_agent.pb.o dcmd_agent-dcmd_tss.o -lcwxapp -lcwxnet -lcwxcmn -lprotobuf -lpthread -lz -ldl -lrt: command not found
./libtool: line 5130: X: command not found
./libtool: line 5134: : command not found
winux/lib/libcwxapp.a /usr/local/cwinux/lib/libcwxnet.a /usr/local/cwinux/lib/libcwxcmn.a -lprotobuf -lmysqlclient -lexpat -lz -lpthread -ldl -lrt
/usr/bin/ld: cannot find -lmysqlclient
collect2: ld returned 1 exit status
make: *** [dcmd_center] Error 1
1.0.3以及1.0.2版本时,需要
1.
export echo=echo
以修复libtool中的问题
./dcmd_center -f dcmd_center.conf > /dev/null
修改为
./dcmd_center -f dcmd_center.conf &> log/log
#原因:重新定向了日志目录,不然会一直刷日志。
./libtool: line 807: X--tag=CXX: command not found
./libtool: line 840: libtool: ignoring unknown tag : command not found
./libtool: line 807: X--mode=link: command not found
./libtool: line 973: *** Warning: inferring the mode of operation is deprecated.: command not found
./libtool: line 974: *** Future versions of Libtool will require --mode=MODE be specified.: command not found
gcc: no input files
gcc: no input files
gcc: no input files
gcc: no input files
./libtool: line 2200: X-g: command not found
./libtool: line 2200: X-O2: command not found
./libtool: line 2200: X-std=c++0x: command not found
./libtool: line 2369: Xdcmd_center: command not found
./libtool: line 2374: X: command not found
./libtool: line 2381: Xdcmd_center: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lmysqlclient: command not found
./libtool: line 2516: X-lexpat: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lmysqlclient: command not found
./libtool: line 2516: X-lexpat: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
./libtool: line 2516: X-lcwxapp: command not found
./libtool: line 2516: X-lcwxnet: command not found
./libtool: line 2516: X-lcwxcmn: command not found
./libtool: line 2516: X-lprotobuf: command not found
./libtool: line 2516: X-lmysqlclient: command not found
./libtool: line 2516: X-lexpat: command not found
./libtool: line 2516: X-lz: command not found
./libtool: line 2516: X-lpthread: command not found
./libtool: line 2516: X-ldl: command not found
./libtool: line 2516: X-lrt: command not found
我自己有一个关于发布的智能分组引擎库,目前也有很多人在用;如果你有兴趣,看看能不能为了你的项目添砖加瓦
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.