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/romit/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
/export/home/romit/onnv-gate/usr/src/uts/i86pc
/export/home/romit/onnv-gate/usr/src/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=2769
DTSOURCEPROFILE=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=/tmp
UT_NO_USAGE_TRACKING=1
GTK_RC_FILES=/etc/gtk/gtkrc:/export/home/romit/.gtkrc-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/fastfs
WINDOWID=46144343
DTHELPSEARCHPATH=/export/home/romit/.dt/help/romit-unknown-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/.dt/help/%H.sdl:/export/home/romit/.dt/help/%H.hv:/usr/dt/appconfig/help/%L/%H:/usr/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
OLDPWD=/export/home/romit/onnv-gate
GATE=onnv-gate
GENOFFSETS=/export/home/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin/genoffsets
CRYPT_SRC=/export/home/romit/onnv-gate/crypt_src
LC_ALL=C
CLONE_WS=
DEF_STRIPFLAG=-s
USER=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_KEYRING_SOCKET=/var/tmp/keyring-n7aqCf/socket
SSH_AUTH_SOCK=/tmp/ssh-XX5taGzf/agent.2764
SESSION_MANAGER=inet6/unknown:56547,inet/unknown:48969
SESSION_SVR=unknown
MACH=i386
CTFSTABS=/export/home/romit/onnv-gate/usr/src/tools/proto/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
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/sfw/bin:/export/home/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin:/export/home/romit/onnv-gate/usr/src/tools/proto/opt/onbld/bin/i386:/opt/onbld/bin:/opt/onbld/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/opt/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/src
EDITOR=/usr/dt/bin/dtpad
STAFFER=romit
VERSION=onnv-gate
ENVLDLIBS3=
DTAPPSEARCHPATH=/export/home/romit/.dt/appmanager:/usr/dt/appconfig/appmanager/%L:/usr/dt/appconfig/appmanager/C
LANG=C
ENVLDLIBS2=
TZ=Asia/Calcutta
SDT_NO_DTDBCACHE=1
ENVLDLIBS1=-L/export/home/romit/onnv-gate/proto/root_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-gate/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/opt/onbld/bin/ctffindmod
LOGFILE=/export/home/romit/onnv-gate/log/nightly.log
BUILD_TOOLS=/opt
LOCKNAME=onnv-gate_nightly.lock
SESSIONTYPE=altDt
HOME=/export/home/romit
SHLVL=3
CPIODIR=/export/home/romit/onnv-gate/archives/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_CARDCATALOG=/usr/dt/share/answerbooks/C/ab_cardcatalog
DBUS_SESSION_BUS_ADDRESS=unix:path=/tmp/dbus-K7Av7EuZ1Q,guid=c5d6b745eac51ad9f003243b6786f000
LC_CTYPE=C
POUND_SIGN=#
DTDATABASESEARCHPATH=/export/home/romit/.dt/types,/usr/dt/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/appconfig/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/home/romit/onnv-gate/packages/i386/nightly
o_FLAG=n
DISPLAY=:0.0
XMICONBMSEARCHPATH=/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
PARENT_WS=
LC_TIME=C
G_BROKEN_FILENAMES=yes
dtstart_sessionlogfile=/dev/null
SPRO_VROOT=/opt/SUNWspro
COLORTERM=gnome-terminal
GZIPBIN=/usr/bin/gzip
_=/usr/bin/env
bash-3.00$
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-help mailing list
[email protected]

Reply via email to