trinity-users@lists.pearsoncomputing.net

Message: previous - next
Month: February 2011

Re: [trinity-users] kdelibs OK, kdebase ./configure fails - attempting to compile Trinity without the Trinity Qt Interface

From: "David C. Rankin" <drankinatty@...>
Date: Wed, 02 Feb 2011 14:35:03 -0600
On 02/02/2011 02:01 PM, David C. Rankin wrote:
> On 02/02/2011 01:10 PM, Serghei Amelian wrote:
>> The solution is to check config.log, to check what actually happens.
> 
> Oh you're good..... :p
> 
> I'll take a look and see what I can find. I just have a sneaking suspicion that
> if Qt3 get's installed to /opt/qt, then the tqtinterface should go there too...
> (maybe not -- I'm just learning, thus the questions :-)
> 
> Thanks, I'll report back what I find.
> 

Ahah!

It was grabbing the wrong Qt from /usr even though it saw the /opt/qt install.
So it looks like tqtinterface will have to go in /opt/qt and then have the
--with-qt-.... options set for the remaining packages. (If I'm interpreting the
error correctly) Here is the snippet:

configure:23548: checking whether uic supports -L
configure:23559: /usr/bin/uic-tqt -L /nonexistent conftest.ui >/dev/null
Qt User Interface Compiler version 4.7.1
Usage: uic [options] <uifile>

  -h, -help                 display this help and exit
  -v, -version              display version
  -d, -dependencies         display the dependencies
  -o <file>                 place the output into <file>
  -tr <func>                use func() for i18n
  -p, -no-protection        disable header protection
  -n, -no-implicit-includes disable generation of #include-directives
                            for forms generated by uic3
  -g <name>                 change generator

configure:23562: $? = 0
configure:23574: result: yes
configure:23586: checking whether uic supports -nounload
configure:23597: /usr/bin/uic-tqt -nounload  conftest.ui >/dev/null
Qt User Interface Compiler version 4.7.1
Usage: uic [options] <uifile>

  -h, -help                 display this help and exit
  -v, -version              display version
  -d, -dependencies         display the dependencies
  -o <file>                 place the output into <file>
  -tr <func>                use func() for i18n
  -p, -no-protection        disable header protection
  -n, -no-implicit-includes disable generation of #include-directives
                            for forms generated by uic3
  -g <name>                 change generator

configure:23600: $? = 0
configure:23612: result: yes
configure:23737: checking if TQt is available
configure:23771: rm -rf SunWS_cache; g++ -o conftest -march=x86-64
-mtune=generic -O2 -pipe -I/opt/qt/include -
I.   -DQT_THREAD_SUPPORT  -D_REENTRANT -Wl,--hash-style=gnu -Wl,--as-needed
conftest.cpp -L/opt/qt/lib     -L/o
pt/trinity/lib -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext -lX11 -lSM -lICE  -ltqt
1>&5
conftest.cpp:46:21: fatal error: tqtimer.h: No such file or directory
compilation terminated.
configure:23771: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""

Full config.log is here:

http://www.3111skyline.com/dl/dt/trinity/errors/kdebase-config.log

I'll start over -- putting tqtinterface in /opt/qt and go from there. Let me
know if you have any other ideas. Thanks.

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