You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Monday, November 21st 2005, 12:16pm

Konstruct does not find qt libs and headers

Hello,
I am trying to build kdebase kde3.5-rc1 with konstruct on RH WS 3. RH WS 3 comes with qt 3.1.
Konstruct downloads and build the qt-x11-free libs but the following app/libs do not find them:

home/schmittd/konstruct/kde/kdebase > make install
[===== NOW BUILDING: kdebase-3.4.3 =====]
[fetch] complete for kdebase.
[checksum] complete for kdebase.
[extract] complete for kdebase.
[patch] complete for kdebase.
==> Building kde/kdelibs as a dependency
make[1]: Entering directory `/home/schmittd/konstruct/kde/kdelibs'
[===== NOW BUILDING: kdelibs-3.4.3 =====]
[fetch] complete for kdelibs.
[checksum] complete for kdelibs.
[extract] complete for kdelibs.
[patch] complete for kdelibs.
==> Building libs/arts as a dependency
make[2]: Entering directory `/home/schmittd/konstruct/libs/arts'
[===== NOW BUILDING: arts-1.4.3 =====]
[fetch] complete for arts.
[checksum] complete for arts.
[extract] complete for arts.
[patch] complete for arts.
==> Building libs/glib as a dependency
==> Building libs/qt-x11-free as a dependency
==> Running configure in work/arts-1.4.3
checking build system type..

[ runs fine until : ]

checking for Qt... configure: error: Qt (>= Qt 3.3 and < 4.0) (headers and libraries) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
make[2]: *** [configure-work/arts-1.4.3/configure] Error 1
make[2]: Leaving directory `/home/schmittd/konstruct/libs/arts'
make[1]: *** [dep-../../libs/arts] Error 2
make[1]: Leaving directory `/home/schmittd/konstruct/kde/kdelibs'
make: *** [dep-../../kde/kdelibs] Error 2

Any Ideas ??

regards
Daniel

This post has been edited 1 times, last edit by "dani254" (Nov 21st 2005, 5:05pm)


2

Tuesday, November 22nd 2005, 7:47pm

RE: Konstruct does not find qt libs and headers

It is probably a PATH matter.

Where is your new and old QT installation?
Where QTDIR points to?

A good idea is to remove the old QT libraries.

Grep your configuration files (/etc/* ~/*) for the QTDIR variable. It MUST point to your new QT.

I´ve once had a problem for uic being the old version even after building the new QT. I guess make install became shy on overwiting the old files. So, be assure to have the new ones (ls -l `which uic`, for example).

3

Friday, November 25th 2005, 9:53am

RE: Konstruct does not find qt libs and headers

Thank you very much
I get a little bit further,
Konstruct did not build the qt library with thread support. After doing this explicitly the library compiled fine.

But now i run into another problem

make[2]: Leaving directory `/home.local/schmittd/konstruct/kde/kdelibs/work/kdelibs-3.5.0'
[install] complete for kdelibs.
make[1]: Leaving directory `/home.local/schmittd/konstruct/kde/kdelibs'
==> Running configure in work/kdebase-3.5.0
/bin/sh: line 1: ./configure: No such file or directory
make: *** [configure-work/kdebase-3.5.0/configure] Error 127

after kdelibs finished konstruct stopped at an empty kdebase-3.5.0 directory.

Is it not possible to build ../kde/kdebase standalone?
Anyone here who build kde3.5-rc1 on a machine with outdated qt?

regards
Daniel

This post has been edited 1 times, last edit by "dani254" (Nov 25th 2005, 9:56am)


4

Saturday, November 26th 2005, 9:25pm

RE: Konstruct does not find qt libs and headers

Quick answer:

Empty your kdebase dir (make clean, make distclean or simply delete the work and cookies directories). Try again.

It can be due to you Qt, but it is not what the error message suggests.


Slow answer:

Is there a "configure" in kdebase/work/kdebase-3.5.0 ?
It has execution rights?

I noticed that kdesvn-build inserted some escape characters in the beginning of my scripts (to make it nicely colourfull, i think) that ended in similar errors (not exactly. I can't remember what it seemed to exactly...).
If you have a "configure", with execution rights, take a look on it. Use hexdump if it pleases.

5

Monday, November 28th 2005, 10:13am

RE: Konstruct does not find qt libs and headers

Thx,
After I build the whole kde directory it worked.