Subject: Re: Build process and tunable vars, on we go.
To: None <current-users@netbsd.org>
From: Martin Weber <Ephaeton@gmx.net>
List: current-users
Date: 11/22/2002 15:12:12
Okay, the build process seems not only broken wrt MKPICINSTALL=no,
but also wrt MKCRYPTO=no. See below. I forgot to mention my build.sh
command in the last mail, see below for what I used this time and the
time before.

On Thu, Nov 21, 2002 at 01:34:52PM +0100, Martin Weber wrote:
> [...]
> environment:
> 
> MKCATPAGES=yes
> MKCRYPTO=no
  ^^^ seems I need to cut this one, too
> MKDOC=no
> MKINFO=no
> MKMAN=no
> MKNLS=no
> MKPICINSTALL=no
  ^^^ I cut this one now
> MKPROFILE=no

build.sh command:

./build.sh -T /usr/tools -O /usr/obj -u -o -D /usr/hermes-dest -d

Problem this time:

dependall ===> sbin/cgdconfig
CC=/usr/tools/bin/i386--netbsdelf-gcc /usr/tools/bin/nbmkdep -a  -nostdinc -isystem /usr/hermes-dest//usr/include  /usr/src/sbin/cgdconfig/cgdconfig.c /usr/src/sbin/cgdconfig/pkcs5_pbkdf2.c /usr/src/sbin/cgdconfig/params.c /usr/src/sbin/cgdconfig/utils.c
/usr/src/sbin/cgdconfig/pkcs5_pbkdf2.c:64: openssl/hmac.h: No such file or directory
nbmkdep: compile failed.
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sbin/cgdconfig
*** Error code 1

Stop.
nbmake: stopped in /usr/src/sbin
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src
*** Error code 1

Stop.
nbmake: stopped in /usr/src

ERROR: failed to make distribution
*** BUILD ABORTED ***

Yes, sure you won't find openssl/something.h, I said MKCRYPTO=no ... *sigh* Fine,
going to rebuild without MKCRYPTO setting now (although it's nothing but a waste
of space on my laptop, going to delete the libs/programs by hand afterwards). It's
frustrating to read about tunable vars in src/BUILDING just to find out that you
better don't touch them if you _really_ want to build NetBSD.

-Martin