Subject: Re: installing databases/gdb on Linux FC1
To: None <tech-pkg@netbsd.org>
From: Russell McManus <russell_mcmanus@yahoo.com>
List: tech-pkg
Date: 11/17/2004 21:51:55
juan@xtraeme.nopcode.org (Juan RP) writes:

> On Wed, 17 Nov 2004 10:46:43 -0500
> Russell McManus <russell_mcmanus@yahoo.com> wrote:
>
>> jmmv@menta.net (Julio M. Merino Vidal) writes:
>> 
>> > On Tue, 16 Nov 2004 10:35:52 -0500
>> > Russell McManus <russell_mcmanus@yahoo.com> wrote:
>> >
>> >> 
>> >> builds OK, but bails out like so:
>> >> 
>> >> ===> Installing for gdbm-1.8.3
>> >> ===> Becoming root@russepc to install gdbm.
>> >> sudo Password:
>> >> sudo: cd /var/amm/pkgsrc/databases/gdbm; /usr/bin/env
>> >PATH=/amm/pkgsrc/databases/gdbm/work/.buildlink/bin:/amm/pkgsrc/databases/gd
>> >bm/work/.tools/bin:/amm/pkgsrc/databases/gdbm/work/.gcc/bin:/usr/pkg/bin:/am
>> >m/pkg/bin:/ms/dist/mm/VERS/system/bin:/u/ammprod/current/utils/bin:/ms/dist/
>> >fsf/PROJ/xemacs/21.4.10/exec/bin:/u/russe/bin:/ms/dist/aurora/bin:/usr/local
>> >/bin:/usr/bin:/bin:/usr/kerberos/bin:/ms/dist/perl5/bin:/ms/dist/fsf/bin:/ms
>> >/dist/afs/bin:/usr/X11R6/bin:/usr/bin/X11:/ms/dist/aurora/sbin:/usr/sbin:/sb
>> >in:/usr/etc:/ms/dist/afs/sbin:.:/sbin:/usr/sbin /usr/pkg/bin/bmake 
>> >PKG_DEBUG_LEVEL=0   OPSYS=Linux OS_VERSION=2.4.22-1.2188.nptlsmp
>> >LOWER_OPSYS=linux real-su-install : command not found
>> >> *** Error code 1
>
> I think your problem is your SU_CMD assignment, it should be (if you use sudo):
>
> SU_CMD=sudo sh -c

Thanks, this was the problem.

-russ