Subject: Re: Can't build kdebase
To: None <netbsd-users@netbsd.org>
From: John Goerzen <jgoerzen@complete.org>
List: netbsd-users
Date: 01/29/2004 14:19:31
On 2004-01-27, Christian Biere <christianbiere@gmx.de> wrote:
>
> --CE+1k2dSO48ffgeK
> Content-Type: text/plain; charset=us-ascii
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> John Goerzen wrote:
>> ecking for libjpeg6b... no
>> checking for libjpeg... -ljpeg
>> checking for Qt... configure: error: Qt (>=3D Qt 3.1.0) (library qt-mt)
>> not found. Please check your installation!
>
>> For more details about this problem, look at the end of config.log.
>
> I second that.
In my defense, I did look at the end of config.log, and it was not
helpful. But I should have scrolled up more :-)
I am running a fresh pkgsrc tree unpacked straight from the
pkgsrc.tar.gz of Jan 23. I have reinstalled this machine to make sure
there are no remnants of previous builds around. All I built before
kde3 was bash, screen, and vim.
Now then, config.log in kdebase showed this:
configure:22111: rm -rf SunWS_cache; c++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2 -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -fno-exceptions -fno-check-new -I/usr/pkg/qt3/include -I/usr/X11R6/include -DQT_THREAD_SUPPORT -I/usr/pkg/include/freetype2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11R6/include -Wl,-R/usr/X11R6/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -L/usr/X11R6/lib -L/usr/pkg/qt3/lib -L/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -liconv -L/usr/X11R6/lib conftest.cc -Wl,-E -lqt-mt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE -lpthread 1>&5
/usr/pkg/lib/libXft.so.2: undefined reference to `XRenderFindStandardFormat'
/usr/pkg/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrder'
configure:22114: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030100)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:22153: error: Qt (>= Qt 3.1.0) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
Several things about that are strange. One is that qt-libs and qt-tools
properly buil without any problem, yet this thing doesn't. Another is
that all the dependencies have (obviously) been satisfied.
Here's how the Xft and render-related packages stand:
Xft2-2.1.2nb1 Library for configuring and customizing font access
freetype2-2.1.5 Font rendering engine and library API
render-0.8 Headers for X11 render extension
Xrender-0.8.3nb1 Client library for the X Rendering Extension protocol
Interestingly, grep doesn't find the XRenderQuerySubpixelOrder string in
/usr/X11R6/lib/libXrender.so, but, in the build directory, it finds it
in Xrender.c, Xrender.h, xnd Xrender.o.
Looks like a bug in Xrender?
Now, here's a followup question... I have been attempting to build KDE
for nearly a week now. I have used pkgsrc tarballs from different
dates, attempted cvs updates, etc. Always I get some strange failure
like this.
Are these things not tested, or what is going on? Hopefully I am not
the only one trying to install KDE on NetBSD; yet obviously KDE is not
currently installable.
-- John