Subject: problems installing kdelibs3
To: None <tech-pkg@NetBSD.org>
From: Luke Mewburn <lukem@NetBSD.org>
List: tech-pkg
Date: 03/16/2005 23:33:42
--UEW5kU42M6+IO/TD
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi all.

I've never been able to successfully build & install kdelibs3,
which is a drag because it means I can't try out all these
kde-using apps.

I'm building on my laptop with local WRKOBJDIR from nfs-via-amd mounted
pkgsrc src.

If I do
	cd pkgsrc/x11/kdelibs3
	make clean
	make
	make install

The 'make install' fails with:
    test -z "/usr/pkg/lib/kde3" || /bin/sh ../admin/mkinstalldirs "/usr/pkg=
/lib/kde3"
     /bin/sh ../libtool --silent --mode=3Dinstall /usr/bin/install -c -o ro=
ot -g wheel  'kio_help.la' '/usr/pkg/lib/kde3/kio_help.la'
    shlibtool: install: warning: relinking `kio_help.la'
    ld: cannot find -lkio=20
    shlibtool: install: error: relink `kio_help.la' with the above command =
before installing it=20
     /bin/sh ../libtool --silent --mode=3Dinstall /usr/bin/install -c -o ro=
ot -g wheel  'kio_ghelp.la' '/usr/pkg/lib/kde3/kio_ghelp.la'
    shlibtool: install: warning: relinking `kio_ghelp.la'
    ld: cannot find -lkio
    shlibtool: install: error: relink `kio_ghelp.la' with the above command=
 before installing it
    gmake[2]: *** [install-kde_moduleLTLIBRARIES] Error 1
    gmake[2]: Leaving directory `/y/obj/i386/pkg/x11/kdelibs3/work.odysseus=
/kdelibs-3.3.2/kdoctools'


If I re-run 'make install', it fails in a slightly different fashion:
     /bin/sh ../libtool --silent --mode=3Dinstall /usr/bin/install -c -o ro=
ot -g wheel  'kio_help.la' '/usr/pkg/lib/kde3/kio_help.la'
    shlibtool: install: warning: relinking `kio_help.la'
    mv: rename kio_help.so to kio_help.soU: No such file or directory
    shlibtool: install: error: relink `kio_help.la' with the above command =
before installing it
     /bin/sh ../libtool --silent --mode=3Dinstall /usr/bin/install -c -o ro=
ot -g wheel  'kio_ghelp.la' '/usr/pkg/lib/kde3/kio_ghelp.la'
    shlibtool: install: warning: relinking `kio_ghelp.la'
    mv: rename kio_ghelp.so to kio_ghelp.soU: No such file or directory
    shlibtool: install: error: relink `kio_ghelp.la' with the above command=
 before installing it
    gmake[2]: *** [install-kde_moduleLTLIBRARIES] Error 1
    gmake[2]: Leaving directory `/y/obj/i386/pkg/x11/kdelibs3/work.odysseus=
/kdelibs-3.3.2/kdoctools'


I've seen other references in the mailing list archives to the
'kio_ghelp.soU' error in the second invocation.


Does anyone have any clues as to what's going wrong?

I have the build logs from the 'make' and both 'make install's around
if that helps.


Thanks,
Luke.

--UEW5kU42M6+IO/TD
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQFCOCempBhtmn8zJHIRAmTmAKCKwj85xhzoWD8cx6cgmeLgvoqJvgCgx798
cs9CLSlCcte20ZGrt1AftRo=
=5CMb
-----END PGP SIGNATURE-----

--UEW5kU42M6+IO/TD--