On 07/13/10 05:40, Surya Prakki wrote:
On 07/13/10 10:02, Jose wrote:
On 07/12/10 09:19 PM, Surya Prakki wrote:
On 07/13/10 01:26, Jose wrote:
On 07/12/10 12:54 PM, John Martin wrote:
On 07/12/10 01:31 PM, Jose wrote:

/export/tools/onnv-tools/onbld/bin/nightly: line 2400: dmake: not
found

I found it strange since my environment file has the following
variables
set:

BUILD_TOOLS=/export/tools/onnv-tools; export BUILD_TOOLS
ONBLD_TOOLS=/export/tools/onnv-tools/onbld; export ONBLD_TOOLS
SPRO_ROOT=/export/tools/onnv-tools/SUNWspro; export SPRO_ROOT

Do you have the the compiler image directly under
/export/tools/onnv-tools/SUNWspro or in the SS12
and sunstudio12.1 directories? For example, my
build environment:

SPRO_ROOT=/export/src/onnv-tools/SUNWspro; export SPRO_ROOT

and the directory structure:

$ ls /export/src/onnv-tools/SUNWspro
opt SOS10-EA SS11 sunstudio12.1
SOS10 SOS8 SS12
$


It's not directly under /export/tools/onnv-tools/SUNWspro. It's under
SS12.

You should find dmake as SS12/bin/dmake under the above directory.
Please make a soft link to the above dmake from /usr/bin/ and you should
be set.

Thanks for the suggestion but, is this something new that is now
required or a workaround? Why does the same command work when I run it
manually?

I don't think anything changed as such in this space.
It all comes down to having the right directories in your PATH.
Some access it as /opt/teamware/bin/dmake. And I access it via
a symlink :-) Upto the admin of the build m/c.
-surya


I suspect that this could be due to nightly still knowing about
"teamware"  - note prior to called dmake the PATH, in nightly,
is set up:

PATH="$OPTHOME/onbld/bin:$OPTHOME/onbld/bin/${MACH}:/usr/ccs/bin"
PATH="$PATH:$OPTHOME/SUNWspro/bin:$TEAMWARE/bin:/usr/bin:/usr/sbin:/usr/ucb"
PATH="$PATH:/usr/openwin/bin:/usr/sfw/bin:/opt/sfw/bin:."

and TEAMWARE is set to /opt/teamware by default.

So you could create a link /opt/teamware /export/ tools/onnv-tools/SUNWspro or set the TEAMWARE environment variable or
set OPTHOME appropriately.

However I suspect that a bug should be logged so that nightly
has a better path in it - maybe reflecting the path to the
compiler.

pete

- Jose


_______________________________________________
on-discuss mailing list
on-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss
_______________________________________________
on-discuss mailing list
on-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/on-discuss

Reply via email to