Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Sep 2001 00:58:04 -0400
From:      parv <parv_@yahoo.com>
To:        f-stable <freebsd-stable@freebsd.org>
Subject:   kernel config fails if src/sys/compile directory doesn't exit. bug?
Message-ID:  <20010921005804.B11280@moo.holy.cow>

next in thread | raw e-mail | index | archive | help
i upgraded recently to 4.4-release (releng_4_4 cvsup tag) from 
-prerelease. i noticed that kernel config fails (in 
/usr/src/sys/i386/conf) if /usr/src/sys/compile directory doesn't
exist.

tried these variations...

# [/usr/sbin/]config [-r] BOVINE


...error message was...

config: ../../compile/BOVINE: No such file or directory


...after creating the ../../compile directory, config ran and
kernel was installed w/o problems.

questions:

- shouldn't config create the src/sys/compile?
- is this a software (known) bug?
- if config isn't supposed to create the compile directory and kernel
  config/build fails, shouldn't it be documented?


by the way, config(8) talks only about the destination directory 
creation (in this case, BOVINE) but not any intermediary...

  ...
  config should be run from the conf subdirectory of the system source
  (usually /sys/ARCH/conf), where ARCH represents one of the architectures
  supported by FreeBSD.  config creates the directory
  ../../compile/SYSTEM_NAME or the one given with the -d option as neces-
  sary and places all output files there.  If the output directory already
  exists and the -r flag was specified, it will be removed first.  
  ...


-- 


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010921005804.B11280>