Subject: Re: what's the secret to installing KDE2 on 1.5.2?
To: None <netbsd-help@netbsd.org>
From: paul beard <paulbeard@mac.com>
List: netbsd-help
Date: 01/05/2002 21:52:15
Well, that didn't take long. follows is an abbreviated disaster record.
===> Extracting for kde-2.2.2
===> Extracting for kdeadmin-2.2.2
===> Extracting for kdebase-2.2.2
===> Extracting for kdelibs-2.2.2

< hmm, looking good so far >

===> Verifying reinstall for ../../x11/qt2-libs
===> Installing for qt2-libs-2.3.1nb1
install -d -o root -g wheel -m 555 /usr/X11R6/qt2
install -d -o root -g wheel -m 555 /usr/X11R6/qt2/bin
install -c -s -o root -g wheel -m 555 
/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/bin/moc /usr/X11
R6/qt2/bin
install -d -o root -g wheel -m 555 /usr/X11R6/qt2/lib
/usr/pkg/bin/libtool install -c -o root -g wheel -m 444 
/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.
1/src/libqt.la /usr/X11R6/qt2/lib
libtool: install: `/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/src/libqt.la' 
is not a valid libtoo
l archive
Try `libtool --help --mode=install' for more information.
*** Error code 1

then I get 10 or so of these errors and exit.

As I noted a day or so ago, the libtool error is odd: if I run it as this:

[/usr/pkgsrc/x11/kde2]::  /usr/pkg/bin/libtool install -c -o root -g 
wheel -m 444 /usr/pk
gsrc/x11/qt2-libs/work/qt-2.3.1/lib/libqt.a /usr/X11R6/qt2/lib
install -c -o root -g wheel -m 444 
/usr/pkgsrc/x11/qt2-libs/work/qt-2.3.1/lib/libqt.a 
/usr/X11R6/qt2/lib/libqt.a
ranlib /usr/X11R6/qt2/lib/libqt.a
chmod 644 /usr/X11R6/qt2/lib/libqt.a

it works: the ranlib and chmod lines suggest to me that libtool liked 
what it found and knew what to do with it. I have *no* idea how to hack 
those changes into something as labyrinthine as a meta-package.