Thanks very much, Weiqing Xu. -----邮件原件----- 发件人: Weiqing Xu [mailto:[email protected]] 发送时间: 2015年10月27日 14:54 收件人: [email protected] 抄送: Nieyuanyuan 主题: Re: 答复: Problem about compile of latest code!
Hi , Now, we need log2cxx. If you are using CentOS , you can try "sudo yum install log4cxx log4cxx-devel " to install them . Best Regards, Weiqing Xu On Tue, Oct 27, 2015 at 2:47 PM, Lijian (Q) <[email protected]> wrote: > Thanks Weiqing Xu. > > I run the steps you give, and find compile error: /usr/bin/ld: > cannot find -llog4cxx. > I check all Makefiles and find such results: > > [lijian@redhat-72 core]$ find . -name Makefile | xargs grep log4cxx > ./sqf/src/tm/Makefile: $(CXX) $(LNK_FLGS) $(LIBJVM) -o $@ $(TMOBJS) > $(LIBSTM) -L$(LIBEXPDIR) -L$(LOG4CXX_LIB_DIR) -llog4cxx -DTM_BUILD_ > ./sqf/src/tm/Makefile: $(CXX) $(DTMOBJS) $(LNK_FLGS) $(LIBSBMSX) > $(LIBJVM) -L$(LIBEXPDIR) -L$(LOG4CXX_LIB_DIR) -llog4cxx -shared -o $@ > $(LIBSTMOBJS) > ./sqf/src/tm/Makefile: $(CXX) $(LNK_FLGS) -shared -o $@ > $(LIBSXATMOBJS) > $(LIBSTMX) -L$(LIBEXPDIR) -L$(LOG4CXX_LIB_DIR) -llog4cxx > ./sqf/src/tm/Makefile: $(CXX) $(LNK_FLGS) -shared -o $@ > $(LIBXARMOBJS) > -L$(LIBEXPDIR) -L$(LOG4CXX_LIB_DIR) -llog4cxx -DXARM_BUILD_ > ./conn/odbc/src/odbc/nsksrvr/Makefile:COMMON_LIBS = -lsbfs -lsbms > -levlsq -lwin -ltdm_sqlcli -larkcmp_dll -L../nsksrvrcore -lmxocore > -L$(LOG4CXX_LIB_DIR) -llog4cxx > > Why there's -llog4cxx, I think it should be -llog4cpp, is there a > transfer in some scripts? Should i change -llog4cxx to -llog4cpp manually? > > > Thanks! > > -----邮件原件----- > 发件人: Weiqing Xu [mailto:[email protected]] > 发送时间: 2015年10月27日 13:50 > 收件人: [email protected] > 抄送: Nieyuanyuan > 主题: Re: Problem about compile of latest code! > > Hi, > Could you run "make jdbc_type2_jar" to check if there is any error . > > cd $MY_SQROOT/.. > make jdbc_type2_jar > > > > Best Regards, > Weiqing Xu > > On Tue, Oct 27, 2015 at 11:09 AM, Lijian (Q) <[email protected]> wrote: > > > Hi, > > > > I get the latest code from GitHub( > > https://github.com/apache/incubator-trafodion), and compile > > trafodion core follow the steps: > > > > > > cd $HOME/trafodion_build/incubator-trafodion-master/core/sqf > > > > source ./sqenv.sh > > > > cd $MY_SQROOT/.. > > > > make all > > > > Build is successful, but I find in the directory:core/sqf/export/lib > > there's not jdbcT2.jar and hbase-trx*.jar. Only jdbcT4.jar is compiled. > > I must enter conn/jdbc_type2 and run 'ant' to compile jdbcT2.jar and > > enter sqf/src/seatrans/hbase-trx and run 'make all' to compile > > hbase-trx*.jar. > > > > I don't know whether this is a problem. > > > > Thanks! > > >
