Message: previous - next
Month: February 2012

Re: [trinity-devel] tqt3 build failure In member function 'virtual int TQODBCResult::numRowsAffected() rror: cannot convert 'SQLINTEGER* {aka int*}' to 'SQLLEN* {aka long int*}

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 29 Feb 2012 00:13:39 -0600
On 02/28/2012 11:53 PM, Darrell Anderson wrote:
>> This is my first attempt a building tqt3 from the git
>> tree and I've run into a problem. The good news it the build continued for quite some
>> time. I wasn't timing, but is estimate 60+% of the build completed. The
>> errors at the end of the build were:
> Tim just posted that he discovered some new but nasty build failures related to tqt3.
> If you want to practice building from GIT, reset to GIT hash 975cc10f8bfcab94ff4e641775473095af0e778a. That would be Feb. 25, the patch pushed by Tim to close bug report 874. Read the Commit Patches web page. that page has the first 8 digits of the hash (975cc10f).
> Reset like this:
> cd $GIT_DIR
> git log
> (review the log to actually see the hashes and read the specific one I am referring)
> git reset --hard 975cc10f8bfcab94ff4e641775473095af0e778a
> That was the most recent GIT that I built a complete main suite set of packages against TQt3.
> Darrell

  I'll give Tim a bit more time so I can work on the auto logic that either
updated and existing copy of the tree and then uses cp -a to get the source to
the build dir, if nothing currently existing, then git clone it :)  Sort of like

## GIT repository variables and location


build() {

  cd ${srcdir}

  ## update or clone tqt3 from GIT
  msg "Checking for existing GIT source: $_gitname"
  if [ -d $_gitname ] ; then
    msg "Using existing source in: ${srcdir}/${_gitname}"
    if [ -d /home/david/tde/tde/main/dependencies/ ] ; then
#     if [ -d $_gitdir ] ; then
      msg "Updating local tree: $_gitdir"
      cd $_gitdir && {
	git pull
	git submodule init
	git submodule update --recursive
	git submodule foreach --recursive "git checkout master"
	git submodule foreach --recursive "git pull"
      cd ${srcdir} && cp -a "$_gitdir" .
      msg "The local files are updated."
      msg "Connecting to GIT server...."
      msg "Cloning new source from: $url"
#       git clone --depth 1 $_giturl
      git clone $_giturl
    msg "GIT checkout done or server timeout"

David C. Rankin, J.D.,P.E.