Subject: problems with kdelibs pkg...
To: None <netbsd-help@netbsd.org>
From: Zach Fine <zach@xdsl014.serv.net>
List: netbsd-help
Date: 08/01/1999 10:47:53
Maybe I'm running into all of these problems because I've failed to
upgrade to the latest version of *something or other* (undocumented). 

But I'm having trouble getting the kdelibs pkg to install. The first
problem was that, after I did a 'cd pkgsrc/x11/kdelibs' and a 'make && 
make install', it puttered away doing 'make all' in each directory
until it hit pkgsrc/x11/kdelibs/work/kdelibs-1.1.1/khtmlw, whose
Makefile had no 'all' target.

Upon closer inspection, it turned out that the khtmlw directory had no 
Makefile at all. I'm not sure how this happened, but I solved the
problem by backing out to the kdelibs-1.1.1 directory and doing a
'./configure', which made all the Makefiles again. I then backed out
to the pkgsrc/x11/kdelibs directory and did 'make && make install',
which finished building the package and began installing, with the
following outcome:

------------------------------------------------------------
xdsl014% make && make install
===>  Installing for kdelibs-1.1.1
Making install in kdecore
gmake[1]: Entering directory `/usr/local/home/czyz/pkgsrc/x11/kdelibs/work/kdelibs-1.1.1/kdecore'
gmake[2]: Entering directory `/usr/local/home/czyz/pkgsrc/x11/kdelibs/work/kdelibs-1.1.1/kdecore'
/bin/sh ../admin/mkinstalldirs /usr/local/kde/lib
  --mode=install /usr/bin/install -c libkdecore.la /usr/local/kde/lib/libkdecore.la
--mode=install: not found
gmake[2]: *** [install-libLTLIBRARIES] Error 127
gmake[2]: Leaving directory `/usr/local/home/czyz/pkgsrc/x11/kdelibs/work/kdelibs-1.1.1/kdecore'
gmake[1]: *** [install-am] Error 2
gmake[1]: Leaving directory `/usr/local/home/czyz/pkgsrc/x11/kdelibs/work/kdelibs-1.1.1/kdecore'
gmake: *** [install-recursive] Error 1
*** Error code 2

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
*** Error code 1

Stop.
xdsl014% pwd
/usr/local/home/czyz/pkgsrc/x11/kdelibs
------------------------------------------------------------

What's this --mode-install business all about? I don't see any mention 
of it in the mkinstalldirs script, but it does look like it's supposed 
to be an argument passed to a command rather than a command itself. 

In any case, I'm going to do a 'make clean' and start over, see if
maybe everything works without fuss the second time around. It
wouldn't be the first time that approach has worked.

Thanks for any help or info.

-Zach Fine
czyz@serv.net