Subject: Re: Can't build kdebase
To: None <netbsd-users@netbsd.org>
From: Christian Biere <christianbiere@gmx.de>
List: netbsd-users
Date: 01/30/2004 00:32:39
--VbJkn9YxBvnuCH5J
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

John Goerzen wrote:
> configure:22111: rm -rf SunWS_cache; c++ -o conftest -Wnon-virtual-dtor -=
Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wwrite-strings -D=
NDEBUG -DNO_DEBUG -O2 -O2 -DGLX_GLXEXT_LEGACY -I/usr/pkg/include -I/usr/X11=
R6/include -fno-exceptions -fno-check-new -I/usr/pkg/qt3/include -I/usr/X11=
R6/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/us=
r/pkg/qt3/lib -Wl,-R/usr/pkg/qt3/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib -lic=
onv -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 -lj=
peg   -lXext -lX11 -lSM -lICE  -lpthread 1>&5
> /usr/pkg/lib/libXft.so.2: undefined reference to `XRenderFindStandardForm=
at'
> /usr/pkg/lib/libXft.so.2: undefined reference to `XRenderQuerySubpixelOrd=
er'

What's the output of "ldd /usr/pkg/lib/libXft.so.2"? Which X11 do you use?
I have libXrender installed but I don't have a package for it. So it might
come with newer X11 versions or my pkg db is wrecked (I know it is).
Either, adding LIBS=3D-lXrender and/or rebuilding Xft and/or Xrender should
fix this problem.

> 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.

Well, often your lucky and just grabbing the latest version or patches
fix your problems. Most of the time, you have to investigate and look
at the details to find the root of the problem. This way you also
understand the problem and become better prepared for future problems.
I know that most people don't care about the latter because the software
is supposed to *just work*. However, that's what I like at open source.
It grants the possibility to fix things yourself instead of begging the
vendors to help you. Which doesn't mean you should keep your bugfixes
for yourself.

--=20
Christian

--VbJkn9YxBvnuCH5J
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (NetBSD)

iD8DBQFAGZgX0KQix3oyIMcRAvR3AKCyeI3GCj/FD7tkzLdgx1TGYlEdTQCeM3DO
jbf0sRbIaK0U9+WsVCMFuHo=
=P0K5
-----END PGP SIGNATURE-----

--VbJkn9YxBvnuCH5J--