Some of the prerequisites for building the software are mentioned in the following - libiodbc
is one of them. Hope this helps.
https://cwiki.apache.org/confluence/display/TRAFODION/Building+the+Software
Regards
Arvind
-----Original Message-----
From: Hans Zeller [mailto:hans.zeller@esgyn.com]
Sent: Wednesday, December 23, 2015 2:58 PM
To: dev <dev@trafodion.incubator.apache.org>
Subject: Re: [VOTE] Apache Trafodion release 1.3.0 ready for release - release candidate 5
The sqltypes.h include on my machine comes from /usr/include/libiodbc. My machine has this
installed:
> rpm -qa | grep odb
libiodbc-3.52.7-1.el6.x86_64
libiodbc-devel-3.52.7-1.el6.x86_64
Hope that helps you jump through the next hoop, thanks for your patience!
Hans
On Wed, Dec 23, 2015 at 2:42 PM, Stack <stack@duboce.net> wrote:
> Thanks Hans.
>
> I was building with jdk8. Using jdk7 got me over the javadoc issues.
>
> I feel like I am almost there (with your help -- thanks).
>
> I have this now:
>
>
> ../dependencies/include/ndcs_defs.h:26:22: error: sqltypes.h: No such
> file or directory ##(NDCS)
> srvrkds.cpp:34:17: error: sql.h: No such file or directory ##(NDCS)
> srvrkds.cpp:35:20: error: sqlext.h: No such file or directory ##(NDCS)
> In file included from ../Common/DrvrSrvr.cpp:41: ##(NDCS)
> ../Common/DrvrSrvr.h:131: error: ‘SWORD’ does not name a type ##(NDCS)
> make[3]: *** [Linux-x86_64/64/dbg/DrvrSrvr.o] Error 1 ##(NDCS)
> make[3]: *** Waiting for unfinished jobs.... ##(NDCS)
> srvrothers.cpp:44:17: error: sql.h: No such file or directory ##(NDCS)
> srvrothers.cpp:45:20: error: sqlext.h: No such file or directory
> ##(NDCS)
> make[3]: *** [Linux-x86_64/64/dbg/SQLWrapper.o] Error 1 ##(NDCS)
>
>
>
> St.Ack
>
>
> On Wed, Dec 23, 2015 at 1:45 PM, Hans Zeller <hans.zeller@esgyn.com>
> wrote:
>
> > Here is another option to get Trafodion built, you could create an
> > Amazon
> > EC2 instance from this image:
> > https://aws.amazon.com/marketplace/pp/B018RBMFG0/
> >
> > Then, connect to the instance as the centos user and do another
> > build, replacing the one that's already on that machine (which is
> > not the most recent one):
> >
> > sudo -u traf_dev -i
> > cd ..
> >
> > # get rid of the original build (put new build in the same place or
> > edit ~traf_dev/.bashrc where it sources the sqenv.sh file)
> >
> > rm -rf apache-*
> >
> > # download the current release candidate and untar it
> >
> > wget
> >
> >
> https://dist.apache.org/repos/dist/dev/incubator/trafodion/apache-traf
> odion-1.3.0-incubating/apache-trafodion-1.3.0-incubating-src.tar.gz
> >
> > tar -xvf apache-*
> >
> > exit
> >
> > # start a new shell for user traf_dev to source in sqenv.sh
> >
> > sudo -u traf_dev -i
> >
> > # should display a message "If you are ready to build Trafodion..."
> >
> >
> > # make
> >
> > make all
> >
> >
> > Hans
> >
> > On Wed, Dec 23, 2015 at 12:52 PM, Hans Zeller
> > <hans.zeller@esgyn.com>
> > wrote:
> >
> > > Hi again,
> > >
> > > This looks like a failure in the javadoc:javadoc Maven goal for
> > > the
> REST
> > > project. I tried building javadoc for the REST project in my
> environment
> > > and it worked and produced a site. Maybe I have a different plugin
> > > installed, or maybe Maven allows to specify more or less strict
> checking
> > > for javadoc? Here is the info on the maven-javadoc-plugin I'm
> > > using (my Maven version is 3.0.5):
> > >
> > > [INFO] >>> maven-javadoc-plugin:2.10.3:javadoc (default-cli) @
> > > rest >>>
> > >
> > > I get a few javadoc warnings, but none on the lines you show
> > > above. If
> > you
> > > are willing to live without the web site for the REST server, you
> > > could remove the "site" Maven goal in incubator-trafodion/core/rest/Makefile:
> > >
> > > build_all:
> > > $(MAKE) build_chk
> > > echo "$(MAVEN) site package -DskipTests"
> > >
> > >
> > > The build should produce a log file
> > > incubator-trafodion/core/rest/build_rest.log. I'm attaching my
> > > build_rest.log for comparison.
> > >
> > > Hans
> > >
> > > On Wed, Dec 23, 2015 at 12:22 PM, Stack <stack@duboce.net> wrote:
> > >
> > >> On Wed, Dec 23, 2015 at 9:40 AM, Hans Zeller
> > >> <hans.zeller@esgyn.com>
> > >> wrote:
> > >>
> > >> > Hi St.Ack,
> > >> >
> > >> > Going through some old emails, I found one where a compilation
> > >> > fails
> > in
> > >> a
> > >> > similar place, and that one was memory-related, the VM used was
> > >> > too
> > >> small.
> > >> > Most people I know usually use at least 8 GB, 16 or more is better.
> > >> > Alternatively you could try
> > >> >
> > >> > make -j 1 all
> > >> >
> > >> >
> > >> > instead of "make all", but that could take a very long time.
> > >> > So,
> maybe
> > >> just
> > >> > to test whether it might be memory-related.
> > >> >
> > >> > If that's not it, I just tested my build to see where it gets
> > >> > the
> > >> log4cxx
> > >> > files, and those seem to come from /usr/include/log4cxx. Here
> > >> > is
> some
> > >> info
> > >> > for my machine:
> > >> >
> > >> > > rpm -qa | grep log4
> > >> > log4cxx-0.10.0-13.el6.x86_64
> > >> > log4cxx-devel-0.10.0-13.el6.x86_64
> > >> >
> > >> >
> > >> I did not have the -devel package installed. Thank you Hans for
> > >> the
> > help.
> > >>
> > >> It looks like I had to also define a CLASSPATH in build
> > >> enironment
> which
> > >> had the ant launcher jar in it.
> > >>
> > >> Am now stuck here:
> > >>
> > >> ...
> > >>
> > >> [INFO] BUILD FAILURE ##(REST)
> > >> [ERROR] Failed to execute goal
> > >> org.apache.maven.plugins:maven-site-plugin:3.3:site
> > >> (default-site) on project rest: Error during page generation:
> > >> Error rendering Maven
> > report:
> > >> ##(REST)
> > >> [ERROR] Exit code: 1 -
> > >>
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/rest/src/main/java/org/trafodion/rest/RESTServlet.java:55:
> > >> warning: no description for @throws ##(REST) [ERROR] * @throws
> > >> IOException ##(REST) [ERROR] ^ ##(REST) [ERROR]
> > >>
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/rest/src/main/java/org/trafodion/rest/RESTServlet.java:66:
> > >> warning: no description for @throws ##(REST) [ERROR] * @throws
> > >> IOException ##(REST) [ERROR] ^ ##(REST) [ERROR]
> > >>
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/rest/src/main/java/org/trafodion/rest/ServerResource.java:71:
> > >> error: no tag name after @ ##(REST) [ERROR] * @@@ START
> > >> COPYRIGHT @@@ ##(REST) [ERROR] ^ ##(REST)
> > >>
> > >> ....
> > >>
> > >> Thanks for the help.
> > >>
> > >> St.Ack
> > >>
> > >>
> > >>
> > >> > > g++ --version
> > >> > g++ (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16)
> > >> >
> > >> >
> > >> > This is the compile command that gets produced on my machine:
> > >> >
> > >> > /usr/bin/g++ -DSQ_PHANDLE_VERIFIER -m64 -O0 -fshort-wchar
> -std=c++0x
> > >> > -fcheck-new -fno-strict-aliasing -msse2 -mfpmath=sse -g3 -ggdb
> -fPIC
> > >> > -Wno-unknown-pragmas -Wreturn-type -Wformat -Werror -DNA_LINUX
> > >> -DSQ_LINUX
> > >> > -DNGG -D_M_DG -D_NSKFS_ -D_FULL_BUILD -DARKFS_GENERATOR
> > >> > -D_DP2NT_ -D_LITTLE_ENDIAN_ -DARG_PRESENT_OMIT
> > >> > -DNSK_USE_MSGSYS_SHELLS
> > >> -D_REENTRANT
> > >> > -D_GLIBCXX_DEPRECATED -D_TNS_R_TARGET -D_MSC_VER -D_X86_
> > >> > -DWIN32_LEAN_AND_MEAN -D_WIN32_WINNT=0x402
> > >> > -DNA_ITOA_NOT_SUPPORTED
> > >> -DMPI_
> > >> > -DHAVE_INTTYPES_H -DHAVE_NETINET_IN_H -DNA_CMPDLL
> > >> > -DSQ_CPP_INTF -DSQ_NEW_PHANDLE -DUSE_NEW_PHANDLE -DSP_DIS
> > >> > -DNA_64BIT -D_DEBUG -I../comexe
> > >> > -I/mnt/zellerh/incubator-trafodion/core/sqf/inc
> > >> > -I/mnt/zellerh/incubator-trafodion/core/sqf/export/include
> > >> -I/usr/include
> > >> > -I/opt/home/tools/thrift-0.9.0/include
> > >> > -I/opt/home/tools/thrift-0.9.0/include/thrift
> > >> > -I/usr/include/log4cxx -I/usr/include/log4cxx/log4cxx
> > >> > -I/usr/include -I/usr/lib/jvm/java-1.7.0-openjdk.x86_64/include
> > >> > -I/usr/lib/jvm/java-1.7.0-openjdk.x86_64/include/linux
> > >> > -I../sqlci -I../arkcmp -I../comexe -I../sqlfe -I../eh
> > >> > -I../export -I../sqlmsg -I../sqlcomp -I../sqlcat -I../executor
> > >> > -I../parser -I../generator
> > >> -I../exp
> > >> > -I../filesystem -I../optimizer -I../cli -I../nskcre -I../common
> > -I../dml
> > >> > -I../arkfsindp2 -I../arkfsinopen -I../ddl -I../sort -I../catman
> > >> -I../smdio
> > >> > -I../ustat -I../sqlshare -I../sqlmxevents -I../bin -I../langman
> > >> -I../sqludr
> > >> > -I../udrserv -I../security -I../runtimestats -I../qmscommon
> > >> > -I../qms -I../porting_layer -include
> > >> > "/mnt/zellerh/incubator-trafodion/core/sqf/inc/seaquest/sqtypes.h"
> > >> > -I/opt/home/tools/dest-llvm-3.2/debug/include
> > >> > -I/opt/home/tools/dest-llvm-3.2/debug/include/llvm
> > >> > -I/opt/home/tools/udis86-1.7.2/include
> > >> > -I/mnt/zellerh/incubator-trafodion/core/sqf/../dbsecurity/auth/
> > >> > inc -I/mnt/zellerh/incubator-trafodion/core/sqf/commonLogger
> > >> > -Wp,-MD,comexe/linux/64bit/debug/depend/d_ComTdbStoredProc.dep
> > >> > -Wp,-MT,comexe/linux/64bit/debug/ComTdbStoredProc.o -c -o
> > >> > comexe/linux/64bit/debug/ComTdbStoredProc.o
> > >> ../comexe/ComTdbStoredProc.cpp
> > >> >
> > >> > Hope one of these helps, please let me know if you get
> > >> > different
> > >> results,
> > >> >
> > >> > Hans
> > >> >
> > >> > On Tue, Dec 22, 2015 at 9:33 PM, Stack <stack@duboce.net> wrote:
> > >> >
> > >> > > Thanks for helpful instructions on how to try out the RC.
> > >> > >
> > >> > > I checked signature and the hash. Looks good.
> > >> > > "..
> > >> > > I went through the nice RAT_README.txt. The notes on why
> > >> > > files are
> > in
> > >> > > excluded in .rat-excludes -- third-party license, format that
> > >> > > does
> > not
> > >> > > support a license comment, and files "...without any degree
> > >> > > of
> > >> creativity
> > >> > > in either its literal elements or its structure.. " -- looks
> > >> > > good
> to
> > >> me
> > >> > as
> > >> > > does LICENSE.txt (I'm not the best at this sort of stuff).
> > >> > >
> > >> > > I ran the rat tool and aligns w/ content in RAT_README.
> > >> > >
> > >> > > The docs dir has nothing in it. That is intentional? (Looks
> > >> > > like
> > site
> > >> > gets
> > >> > > built into here).
> > >> > >
> > >> > > Which HBASE issue is the one that will address the need for
> > >> > > hbase.trafodion.patchclientscanner.enabled mentioned as known
> issue?
> > >> > Would
> > >> > > be good to add a reference to on known issues (We need to fix
it).
> > >> > >
> > >> > > I tried to build it. The instructions are good but I stalled
> > >> > > on CommonLogger.h. Anyone know whats up here? (See below).
> > >> > >
> > >> > > This RC is looking good to me. I'd be +1 if I can get it to
> > basically
> > >> > build
> > >> > > (Yeah, let the next release be against apache hadoop and a
> > >> > > later
> > >> version
> > >> > of
> > >> > > hbase).
> > >> > >
> > >> > > Good stuff,
> > >> > >
> > >> > > St.Ack
> > >> > >
> > >> > > Building on:
> > >> > >
> > >> > > CentOS release 6.4 (Final)
> > >> > >
> > >> > > ....
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:35:
> > >> > > error: ‘log4cxx’ is not a namespace-name ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:35:
> > >> > > error: expected namespace-name before ‘;’ token ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:36:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:36:
> > >> > > error: ‘helpers’ is not a namespace-name ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:36:
> > >> > > error: expected namespace-name before ‘;’ token ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:46:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:47:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:48:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:49:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:50:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL)
> > >> > >
> > >> > >
> > >> >
> > >>
> >
> /home/stack/apache-trafodion-1.3.0-incubating/core/sqf/commonLogger/CommonLogger.h:51:
> > >> > > error: ‘log4cxx’ has not been declared ##(SQL) In file
> > >> > > included from ../qmscommon/QRSharedPtr.h:29, ##(SQL)
> > >> > > from ../qmscommon/XMLUtil.h:28, ##(SQL)
> > >> > > from ../optimizer/OptimizerSimulator.h:44,
> ##(SQL)
> > >> > > from ../optimizer/RelControl.h:46, ##(SQL)
> > >> > > from ../parser/StmtNode.h:42, ##(SQL)
> > >> > > from ../optimizer/RelMisc.h:46, ##(SQL)
> > >> > > from ../optimizer/RelStoredProc.h:44, ##(SQL)
> > >> > > from ../comexe/ComTdbStoredProc.h:44, ##(SQL)
> > >> > > from ../comexe/ComTdbStoredProc.cpp:38:
> > >> > > ##(SQL)
> > >> > > ../qmscommon/QRLogger.h:264: error: ‘log4cxx’ has not been
> declared
> > >> > ##(SQL)
> > >> > > ../qmscommon/QRLogger.h:264: error: expected ‘,’ or ‘...’
> > >> > > before ‘defaultPriority’ ##(SQL)
> > >> > > ../qmscommon/QRLogger.h:281: error: ‘log4cxx’ has not been
> declared
> > >> > ##(SQL)
> > >> > > ../qmscommon/QRLogger.h:281: error: ISO C++ forbids
> > >> > > declaration of ‘Appender’ with no type ##(SQL)
> > >> > > ../qmscommon/QRLogger.h:281: error: expected ‘;’ before ‘*’
> > >> > > token
> > >> ##(SQL)
> > >> > > make[4]: *** [comexe/linux/64bit/debug/ComTdbStoredProc.o]
> > >> > > Error 1
> > >> > ##(SQL)
> > >> > > make[4]: Leaving directory
> > >> > > `/home/stack/apache-trafodion-1.3.0-incubating/core/sql/nskgmake'
> > >> ##(SQL)
> > >> > > make[3]: *** [all] Error 2 ##(SQL)
> > >> > > make[3]: Leaving directory
> > >> > > `/home/stack/apache-trafodion-1.3.0-incubating/core/sqf/sql'
> ##(SQL)
> > >> > > make[2]: *** [make_sql] Error 2
> > >> > > make[2]: Leaving directory
> > >> > > `/home/stack/apache-trafodion-1.3.0-incubating/core/sqf'
> > >> > > make[1]: *** [foundation] Error 2
> > >> > > make[1]: Leaving directory
> > >> > > `/home/stack/apache-trafodion-1.3.0-incubating/core'
> > >> > > make: *** [all] Error 2
> > >> > > ....
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > >
> > >> > > On Tue, Dec 15, 2015 at 12:40 PM, Roberta Marton <
> > >> > roberta.marton@esgyn.com
> > >> > > >
> > >> > > wrote:
> > >> > >
> > >> > > > Please vote to release Apache Trafodion 1.3.0 (incubating)
> release
> > >> > > > candidate 5.
> > >> > > >
> > >> > > > This is a podling vote verifying that Trafodion
> > >> > > > contributors
> > believe
> > >> > the
> > >> > > > code is ready to be released.
> > >> > > >
> > >> > > > Once votes are approved, a message will be sent to the IPMC
> > >> community
> > >> > to
> > >> > > > ask for an official vote.
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Many, many, many thanks to everyone who has contributed
to
> > >> > > > this
> > >> > release.
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > The release artifacts can be downloaded from:
> > >> > > > https://dist.apache.org/repos/dist/dev/incubator/trafodion
> > >> > > > from
> > >> > > directory
> > >> > > > apache-trafodion-1.3.0-incubating
> > >> > > >
> > >> > > > The artifacts are based on git repository:
> > >> > > > *https://github.com/apache/incubator-trafodion
> > >> > > > <https://github.com/apache/incubator-trafodion>* release
> > >> > > > 1.3
> with
> > >> tag
> > >> > > > 1.3.0rc5
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Instructions on how to build and run Apache Trafodion are
> > described:
> > >> > > > http://trafodion.apache.org/build.html
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Note that these instructions describe downloading from the
> release
> > >> > > > directory. The artifacts are currently in the staging area
> > >> described
> > >> > > > above.
> > >> > > >
> > >> > > > Please download the release candidate, check the hashes,
> > >> > > > check
> the
> > >> > > > signatures, build it, and vote. For instructions on how
to
> check
> > >> > > > signatures and hashes see:
> > >> > > >
> > >> > > > http://trafodion.apache.org/release.html#Verify_Signatures
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > The source tar file has been signed with pgp key A44C5A05
> > >> > > > which
> is
> > >> > > included
> > >> > > > in the download location’s KEYS file and found in the
mit
> > keyserver:
> > >> > > >
> > >> > > > http://pgp.mit.edu/pks/lookup?op=get&search=0xA44C5A05
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > For changes included in the release, please see the release
> notes:
> > >> > > > http://trafodion.apache.org/release-notes-1-3-0.html
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > The changes from rc4 to rc5 include:
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > TRAFODION-1704: T2 and T4 driver cleanup
> > >> > > >
> > >> > > > TRAFODION-1642 Release 1.3.0 copyrights and license files
> > >> > > > are
> > >> incorrect
> > >> > > >
> > >> > > > TRAFODION-1636: wms and dcs directories contain NOTICE and
> LICENSE
> > >> > FILES
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > The vote will be open for 72 hours (ends on 12/18 1pm PST).
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > [ ] +1 approve
> > >> > > >
> > >> > > > [ ] +0 no opinion
> > >> > > >
> > >> > > > [ ] -1 disapprove (and reason why)
> > >> > > >
> > >> > > >
> > >> > > >
> > >> > > > Regards,
> > >> > > >
> > >> > > > Roberta
> > >> > > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>
|