trafodion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gunnar Tapper <gunnar.tap...@esgyn.com>
Subject RE: 答复: Problem about compile of latest code!
Date Tue, 27 Oct 2015 15:31:49 GMT
Great job on these instructions!

-----Original Message-----
From: Roberta Marton [mailto:roberta.marton@esgyn.com]
Sent: Tuesday, October 27, 2015 9:13 AM
To: dev@trafodion.incubator.apache.org
Subject: RE: 答复: Problem about compile of latest code!

On the build website is a list of all the packages that need to be
installed:
https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=61316378
The log4cxx is included in this list - see prerequisites.

    Roberta

-----Original Message-----
From: Lijian (Q) [mailto:jianli.li@huawei.com]
Sent: Tuesday, October 27, 2015 1:50 AM
To: dev@trafodion.incubator.apache.org
Cc: Nieyuanyuan <nieyuanyuan@huawei.com>
Subject: 答复: 答复: Problem about compile of latest code!

Thanks very much, Weiqing Xu.

-----邮件原件-----
发件人: Weiqing Xu [mailto:xuweiqingchn@gmail.com]
发送时间: 2015年10月27日 14:54
收件人: dev@trafodion.incubator.apache.org
抄送: 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) <jianli.li@huawei.com> 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:xuweiqingchn@gmail.com]
> 发送时间: 2015年10月27日 13:50
> 收件人: dev@trafodion.incubator.apache.org
> 抄送: 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) <jianli.li@huawei.com> 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!
> >
>

Mime
View raw message