Subject: QT 2.3 dependencies incompletely specified?
To: None <>
From: Dwight Tuinstra <>
List: tech-pkg
Date: 09/01/2001 15:50:56
I've run into the following problem with KDE 2.1 and QT 2.3
(in each case, using pkgsrc no more than a few days old).

When kdelibs2's pkgsrc runs configure, it stops with the

  checking for Qt... configure: error: Qt (>= Qt 2.2.2) (libraries) 
  not found. Please check your installation!

This is despite the fact that QT 2.3.1 is installed.  Checking
config.log, one finds

  conftest.C: In function `int main()':
  conftest.C:20: warning: unused variable `int magnolia'
  conftest.C:15: warning: unused variable `class QStringList * t'
  /usr/bin/ld: cannot open -lXft: No such file or directory
  collect2: ld returned 1 exit status

Digging a little deeper, if one tries to run the QT designer,
the system responds with:

   Shared object "" not found

I'm running the XFree86 that one gets by untarring the tgz
files that are part of the NetBSD-1-5-1 release (i386).

Guessing from the name, it appears that there's a dependency
on a font library/server of some sort that's not being taken
care of, or an incomplete QT 2.3 installation.  The above
errors appeared with both freetype 1.x and 2.x installed,
so it's not that.  I'll keep trying to find and fix the
problem, but is there anyone who knows it straight away?

  --Dwight Tuinstra