Hi,
I cloned the latest bits from the mercurial repository and followed the 
instructions as per the guidelines and set up my environment.

Ran bldenv -d ./opensolaris.sh

I tried to build usr/src/cmd/vi by issuing dmake all and I got errors which I 
traced to the fact the opensolaris.sh file had the following line:
# ONBLD_TOOLS=/opt/onbld; export ONBLD_TOOLS
I removed the comment and vi was built. So far so good. I then went to build 
the kernel


When I issued dmake I got the following:

bash-3.00$ dmake
dmake: defaulting to parallel mode.
See the man page dmake(1) for more information on setting up the .dmakerc file.
/export/home/romit/onnv-gate/usr/src/uts/common/sys
/export/home/ro mit/onnv-gate/usr/src/uts/common/rpc
/export/home/romit/onnv-gate/usr/src/uts /common/rpcsvc
/export/home/romit/onnv-gate/usr/src/uts/common/gssapi
/exp ort/home/romit/onnv-gate/usr/src/uts/i86pc
/export/home/romit/onnv-gate/usr/s rc/uts/i86pc/cpu/scripts
dmake: Fatal error: Don't know how to make target `def'
Current working directory 
/export/home/romit/onnv-gate/usr/src/uts/i86pc/cpu/scripts
*** Error code 1
The following command caused the error:
cd cpu/scripts; pwd; dmake def
dmake: Fatal error: Command failed for target `setup'
Current working directory /export/home/romit/onnv-gate/usr/src/uts/i86pc
*** Error code 1
The following command caused the error:
cd i86pc; pwd; dmake def
dmake: Fatal error: Command failed for target `i86pc'
Current working directory /export/home/romit/onnv-gate/usr/src/uts




Then I tried

$ env - HOME=$HOME SHELL=$SHELL DISPLAY=$DISPLAY TERM=$TERM LOGNAME=$LOGNAME 
LANG=C LC_ALL=C PAGER=less MANPATH=$MANPATH /opt/onbld/bin/bldenv 
./opensolaris.sh

but the results are the same.

Am I missing something obvious?
here is the output of 'env'


NIGHTLY_OPTIONS=-FNnaCDlmrt
MANPATH=/opt/SUNWspro/man:/opt/ 
SUNWspro/man:/usr/dt/man:/usr/man:/usr/openwin/share/man
SSH_AGENT_PID=2769DTSOURCEPROFILE=true
STABS=/export/home/romit/onnv-gate/usr/src/tools/proto /opt/onbld/bin/i386/stabs
LC_MONETARY=C
ENVCPPFLAGS4=
INTERNAL_RELEASE_ BUILD=
ENVCPPFLAGS3=
ENVCPPFLAGS2=
MAILTO=romit
TERM=xterm
SHELL= /bin/bash
DESKTOP_STARTUP_ID=
SDT_NO_TOOLTALK=1
ENVCPPFLAGS1=-I/export/ home/romit/onnv-gate/proto/root_i386/usr/include
MAKEFLAGS=e
TMPDIR=/tmpUT_NO_USAGE_TRACKING=1
GTK_RC_FILES=/etc/gtk/gtkrc:/export/home/romit/.gtkr c-1.2-gnome2
CTFCONVERT=/export/home/romit/onnv-gate/usr/src/tools/proto/opt/ 
onbld/bin/i386/ctfconvert
LC_NUMERIC=C
FASTFS=/opt/onbld/bin/i386/fastfsWINDOWID=46144343
DTHELPSEARCHPATH=/export/home/romit/.dt/help/romit-unknow 
n-0/%H:/export/home/romit/.dt/help/romit-unknown-0/%H.sdl:/export/home/romit/.dt
 
/help/romit-unknown-0/%H.hv:/export/home/romit/.dt/help/%H:/export/home/romit/.d
 
t/help/%H.sdl:/export/home/romit/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/us
 
r/dt/appconfig/help/%L/%H.sdl:/usr/dt/appconfig/help/%L/%H.hv:/usr/dt/appconfig/
 help/C/%H:/usr/dt/appconfig/help/C/%H.sdl:/usr/dt/appconfig/help/C/%H.hv
OLDP WD=/export/home/romit/onnv-gate
GATE=onnv-gate
GENOFFSETS=/export/home/rom 
it/onnv-gate/usr/src/tools/proto/opt/onbld/bin/genoffsets
CRYPT_SRC=/export/h ome/romit/onnv-gate/crypt_src
LC_ALL=C
CLONE_WS=
DEF_STRIPFLAG=-s
US ER=romit
DTDEVROOT=
BUILD_PROJECT=
CLOSED_IS_PRESENT=no
OPENWINHOME= /usr/openwin
ON_CLOSED_BINS=/export/home/romit/onnv-gate/closed
DMAKE_MAX_ JOBS=4
DTXSERVERLOCATION=local
XMBINDDIR=/usr/dt/lib/bindings
GNOME_KEY RING_SOCKET=/var/tmp/keyring-n7aqCf/socket
SSH_AUTH_SOCK=/tmp/ssh-XX5taGzf/ag ent.2764
SESSION_MANAGER=inet6/unknown:56547,inet/unknown:48969
SESSION_SV R=unknown
MACH=i386
CTFSTABS=/export/home/romit/onnv-gate/usr/src/tools/pr 
oto/opt/onbld/bin/i386/ctfstabs
NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat:/usr/dt /lib/nls/msg/C/%N.cat
HELPPATH=/usr/openwin/lib/locale:/usr/openwin/lib/help< 
br>EXPORT_SRC=/export/home/romit/onnv-gate/export_src
MAIL=/usr/mail/romit
BFULD=/opt/onbld/bin/i386/bfuld
PATH=/opt/SUNWspro/bin:/opt/onbld/bin:/usr/s 
fw/bin:/export/home/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin:/export/ho
 
me/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386:/opt/onbld/bin:/opt/on
 
bld/bin/i386:/opt/SUNWspro/bin:/usr/ccs/bin:/usr/bin:/usr/sbin:/usr/ucb:/usr/etc
 :/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:.
LC_MESSAGES=C
PARENT_ROOT=LC_COLLATE=C
CTFCVTPTBL=/export/home/romit/onnv-gate/usr/src/tools/proto/op 
t/onbld/bin/ctfcvtptbl
PWD=/export/home/romit/onnv-gate/usr/src/uts
START_ SPECKEYSD=no
ACR=/opt/onbld/bin/acr
SRC=/export/home/romit/onnv-gate/usr/s rc
EDITOR=/usr/dt/bin/dtpad
STAFFER=romit
VERSION=onnv-gate
ENVLDLIB S3=
DTAPPSEARCHPATH=/export/home/romit/.dt/appmanager:/usr/dt/appconfig/appma 
nager/%L:/usr/dt/appconfig/appmanager/C
LANG=C
ENVLDLIBS2=
TZ=Asia/Calc utta
SDT_NO_DTDBCACHE=1
ENVLDLIBS1=-L/export/home/romit/onnv-gate/proto/ro ot_i386/lib 
-L/export/home/romit/onnv-gate/proto/root_i386/usr/lib
XFILESEARCHPATH=/etc/ 
dt/app-defaults/%L/%N:/etc/dt/app-defaults/C/%N:/usr/dt/app-defaults/%L/%N:/usr/
 
dt/app-defaults/C/%N:/usr/openwin/lib/locale/%L/%T/%N%S:/usr/openwin/lib/%T/%N%S
REF_PROTO_LIST=/usr/src/proto_list_i386
ROOT=/export/home/romit/onnv-gate /proto/root_i386
SPRO_ROOT=/opt/SUNWspro
ATLOG=/export/home/romit/onnv-gat e/log
CTFMERGE=/export/home/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin 
/i386/ctfmerge
CTFFINDMOD=/export/home/romit/onnv-gate/usr/src/tools/proto/op 
t/onbld/bin/ctffindmod
LOGFILE=/export/home/romit/onnv-gate/log/nightly.logBUILD_TOOLS=/opt
LOCKNAME=onnv-gate_nightly.lock
SESSIONTYPE=altDt
HO ME=/export/home/romit
SHLVL=3
CPIODIR=/export/home/romit/onnv-gate/archive s/i386/nightly
ONBLD_TOOLS=/opt/onbld
DTSCREENSAVERLIST=StartDtscreenSwarm StartDtscreenQix StartDtscreenFlame 
StartDtscreenHop StartDtscreenImage StartDtscreenLife StartDtscreenRotor 
StartDtscreenPyro StartDtscreenWorm StartDtscreenBlank
CODEMGR_WS=/export/home/romit/onnv-gate
GNOME_DESKTOP_ SESSION_ID=Default
[EMAIL PROTECTED],UTF-8
LOGNAME=romit
AB_C ARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog
DBUS_SESSION_BUS_ADDRES 
S=unix:path=/tmp/dbus-K7Av7EuZ1Q,guid=c5d6b745eac51ad9f003243b6786f000
LC_CTY PE=C
POUND_SIGN=#
DTDATABASESEARCHPATH=/export/home/romit/.dt/types,/usr/d 
t/appconfig/types/%L,/usr/dt/appconfig/types/C
XMICONSEARCHPATH=/export/home/ 
romit/.dt/icons/%B%M.pm:/export/home/romit/.dt/icons/%B%M.bm:/export/home/romit/
 
.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B%M.
 
bm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appco
 nfig/icons/C/%B%M.bm:/usr/dt/appconfig/icons/C/%B
DTUSERSESSION=romit-unknown -0
OPEN_SRCDIR=/export/home/romit/onnv-gate/open_src
PKGARCHIVE=/export/ho me/romit/onnv-gate/packages/i386/nightly
o_FLAG=n
DISPLAY=:0.0
XMICONBM 
SEARCHPATH=/export/home/romit/.dt/icons/%B%M.bm:/export/home/romit/.dt/icons/%B%
 
M.pm:/export/home/romit/.dt/icons/%B:/usr/dt/appconfig/icons/%L/%B%M.bm:/usr/dt/
 
appconfig/icons/%L/%B%M.pm:/usr/dt/appconfig/icons/%L/%B:/usr/dt/appconfig/icons
 /C/%B%M.bm:/usr/dt/appconfig/icons/C/%B%M.pm:/usr/dt/appconfig/icons/C/%B
PAR ENT_WS=
LC_TIME=C
G_BROKEN_FILENAMES=yes
dtstart_sessionlogfile=/dev/nu ll
SPRO_VROOT=/opt/SUNWspro
COLORTERM=gnome-terminal
GZIPBIN=/usr/bin/g zip
_=/usr/bin/env
bash-3.00$
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to