trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: February 2012

[SOLVED] 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 09:05:47 -0600
On 02/29/2012 08:35 AM, David C. Rankin wrote:
> On 02/28/2012 11:39 PM, David C. Rankin wrote:
>> > Tim, Darrell,
>> > 
>> >   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:
>> > 

caused by needing to explicitly require libiodbc as a build dependency and add
custom include location for the files. I have successfully compiled tqt3 on
arch! But, now I need to successfully package it :)

make[3]: Entering directory `/build/src/tqt3/plugins/src/styles'
make[3]: Nothing to be done for `install'.
make[3]: Leaving directory `/build/src/tqt3/plugins/src/styles'
make[2]: Leaving directory `/build/src/tqt3/plugins/src'
make[1]: Leaving directory `/build/src/tqt3'

(Build Completed!, Now to package it...)

==> Cleaning package...
sed: can't read /build/pkg/opt/tqt3/lib/*.prl: No such file or directory

Bummer :)

  The configure options for tqt3 on arch that I used were:

  ./configure \
    -prefix ${_prefix} \
    -sysconfdir /etc/tqt \
    -I/usr/include/mysql \
    -I/usr/include/postgresql/server \
    -I/usr/include/libiodbc \
    -lpq \
    -lmysqlclient \
    -L/usr/lib/mysql \
    -qt-gif \
    -system-zlib \
    -system-libpng \
    -system-libjpeg \
    -system-libmng \
    -plugin-imgfmt-png \
    -plugin-imgfmt-jpeg \
    -plugin-imgfmt-mng \
    -plugin-sql-mysql \
    -plugin-sql-psql \
    -plugin-sql-sqlite \
    -plugin-sql-odbc \
    -platform linux-g++${ARCH} \
    -no-exceptions \
    -thread \
    -dlopen-opengl \
    -no-ipv6


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