Subject: pkg/18879: "make install" problems with OBJMACHINE in the environment
To: None <firstname.lastname@example.org>
From: Simon Burge <email@example.com>
Date: 11/01/2002 02:46:53
>Synopsis: "make install" problems with OBJMACHINE in the environment
>Arrival-Date: Thu Oct 31 19:08:00 PST 2002
>Release: NetBSD 1.6J, with up-to-date pkgsrc as of November 1, 2002
System: NetBSD rbtx4927 1.6J NetBSD 1.6J (RBTX4927)
#23: Fri Nov 1 12:48:24 EST 2002
If I have OBJMACHINE="" in the environment and no /etc/mk.conf,
then "make" builds a "work.ARCH" directory but "make install"
fails because it can't change to a "work" directory to do
rbtx4927 49> make install
rbtx4927 50> make install
===> Installing for osname-1.1
===> Becoming root@rbtx4927 to install osname-1.1.
/usr/bin/su cd: can't cd to /NetBSD/pkgsrc/sysutils/osname/work/osname-1.1
*** Error code 2
rbtx4927 51> ls
CVS/ DESCR Makefile PLIST distinfo work.mipseb/
make sure no OBJMACHINE is in /etc/mk.conf, put OBJMACHINE=""
in your environment, and "make ; make install" in a package
directory (it doesn't seem to matter which one).