Subject: Re: problems with pkgsrc...
To: Chris Cameron <chris@onemind.com>
From: Andy R <quadreverb@yahoo.com>
List: netbsd-help
Date: 08/07/2002 12:03:50
--- Chris Cameron <chris@onemind.com> wrote:
> Hi,
> 
> I'm on an i386 arch box running 1.5.2, and my pkgsrc
> told me that i needed
> to update my pkg_install to the latest version when
> I tried to install some
> package. (this was the message:
> escape# make install
> Your package tools need to be updated to 2002/04/02
> versions.
> The installed package tools were last updated on
> 2002/02/18.
> Please "make install" in ../../pkgtools/pkg_install.
> *** Error code 1
> 
> Stop.
> 
> But, when I go to do this, the build fails with this
> error:
> 
> <snip>
> 
> cc -O2  -Werror   
>
-I/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install/lib/.
> ./lib  -DBINDIR='"/usr/sbin"' -DCHMOD='"/bin/chmod"'
> -DCHOWN='"/usr/sbin/cho
> wn"' -DCHGRP='"/usr/bin/chgrp"' -c version.c
> building standard install library
> ranlib libinstall.a
> all ===> .WAIT
> cd: can't cd to
>
/usr/pkgsrc/pkgtools/pkg_install/work/pkg_install/.WAIT
> *** Error code 2
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.
> 
> 
> Any ideas? Any help would be greatly appreciated :)
> 
> Oh, and the directory it is tryng to change into
> does not exist, it produces
> a different error if I create the dir and then try
> to continue the build.
> (see below)
> 
> escape# mkdir work/pkg_install/.WAIT
> escape# make install
> ===> Building for pkg_install-20020402
> all ===> lib
> all ===> .WAIT
> make: don't know how to make all. Stop
> *** Error code 2
> 
> Stop.
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Stop.

Have you tried getting the latest pkgsrc.tar.gz and
trying again? Either that or use cvs to update it. If
you are using the pkgsrc that came with 1.5.2, that's
pretty old (if there was one that came with it?). 

Andy

__________________________________________________
Do You Yahoo!?
Yahoo! Health - Feel better, live better
http://health.yahoo.com