X-MimeOLE: Produced By Microsoft Exchange V6.5
Received: by onstor-exch02.onstor.net 
	id <01C7A8AB.B307C247@onstor-exch02.onstor.net>; Wed, 6 Jun 2007 19:29:39 -0700
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C7A8AB.B307C247"
References: <BB375AF679D4A34E9CA8DFA650E2B04E040F04DF@onstor-exch02.onstor.net> <20070606192604.60be6c8e@ripper.onstor.net>
Content-class: urn:content-classes:message
Subject: RE: cw_install makefile problem
Date: Wed, 6 Jun 2007 19:28:36 -0700
Message-ID: <BB375AF679D4A34E9CA8DFA650E2B04E02F3D204@onstor-exch02.onstor.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: cw_install makefile problem
Thread-Index: Aceoqzka6732SnSNTIyigvlfG38daAAAFPc5
From: "Ken Renshaw" <ken.renshaw@onstor.com>
To: "Andy Sharp" <andy.sharp@onstor.com>,
	"Larry Scheer" <larry.scheer@onstor.com>

This is a multi-part message in MIME format.

------_=_NextPart_001_01C7A8AB.B307C247
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Here's what I came up with, everything builds and the sed string =
insertions look okay.

Snippet of make release output run as non-superuser:
----------------------------------------------------

cd ./Build/ch/opt/Release && \
/usr/bin/sudo tar --numeric-owner --create =
--file=3D../EverON-3.0.0.0.tar.gz --preserve-permissions --gzip .
# PATH_TO_RELEASE is evidently only defined as relative to =
cwd=3Dnfx-tree
cd ../../../..
/usr/bin/sudo sed '/^DISTR_S=3D/cDISTR_S=3D'`ls -ls =
./Build/ch/opt/Release/../EverON-3.0.0.0.tar.gz |\
        awk '{print $1}'` ./Tools/cw_install.in > \
        /tmp/cw_install.sh && \
/usr/bin/sudo sed -i '/^DISTR_N=3D/cDISTR_N=3D'EverON-3.0.0.0.tar.gz \
        /tmp/cw_install.sh && \
/usr/bin/sudo sed -i '/^N_VERS=3D/cN_VERS=3D'3.0.0.0 \
        /tmp/cw_install.sh && \
/usr/bin/sudo sed -i '/^BUILD_TYPE=3D/cBUILD_TYPE=3D'opt \
        /tmp/cw_install.sh && \
/usr/bin/sudo cp -f /tmp/cw_install.sh =
./Build/ch/opt/Release/cw_install.sh && \
/usr/bin/sudo chmod 744 ./Build/ch/opt/Release/cw_install.sh && \
/usr/bin/sudo chown root:root ./Build/ch/opt/Release/cw_install.sh && \
cd ./Build/ch/opt/Release && \
/usr/bin/sudo gunzip ../EverON-3.0.0.0.tar.gz && \
/usr/bin/sudo tar -rf ../EverON-3.0.0.0.tar cw_install.sh && \
/usr/bin/sudo gzip ../EverON-3.0.0.0.tar
[build@k2 nfx-tree]$





-----Original Message-----
From: Andy Sharp
Sent: Wed 6/6/2007 7:26 PM
To: Ken Renshaw; Larry Scheer
Subject: Re: cw_install makefile problem
=20
Let me know if I need to check in this change like yesterday.  I can
run back from dinner and check it in.

650-906-9448


On Wed, 6 Jun 2007 15:38:07 -0700 "Ken Renshaw"
<ken.renshaw@onstor.com> wrote:

> Hey Andy, hope you're enjoying time off.=20
>=20
> I'm building DeLorean sub22 with the cw_install stuff, and make
> release fails to run the steps....looks like the sed commands need to
> be prefaced with /usr/bin/sudo. Were you perchance running make
> release as root, and that's maybe why this didn't show up?=20
>=20
> I'm going to go ahead and try sudo make release and see if it builds
> the cw_install.sh file correctly. Just FYI.
>=20
> Thanks, and have a good one.
>=20
> -Ken
>=20
> -----Original Message-----
> From: Build Admin [mailto:build@localhost.localdomain]=20
> Sent: Wednesday, June 06, 2007 3:30 PM
> To: Ken Renshaw
> Subject: cw_install makefile problem
>=20
> /usr/bin/sudo chown 0:0
> ./Build/ch/opt/Release/usr/local/agile/conf/EverON-3.0.0.0.bom
> cd ./Build/ch/opt/Release && \
> /usr/bin/sudo chown 0:0 usr/local/agile/lib/*
> cd ./Build/ch/opt/Release && \
> /usr/bin/sudo tar --numeric-owner --create
> --file=3D../EverON-3.0.0.0.tar.gz --preserve-permissions --gzip .
> sed '/^DISTR_S=3D/cDISTR_S=3D'`ls -ls
> ./Build/ch/opt/Release/../EverON-3.0.0.0.tar.gz |\
> 	awk '{print $1}'` ./Tools/cw_install.in > \
> 	./Build/ch/opt/Release/cw_install.sh
> /bin/sh: line 1: ./Build/ch/opt/Release/cw_install.sh: Permission
> denied make: *** [release] Error 1


------_=_NextPart_001_01C7A8AB.B307C247
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.5.7652.24">
<TITLE>RE: cw_install makefile problem</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>Here's what I came up with, everything builds and the =
sed string insertions look okay.<BR>
<BR>
Snippet of make release output run as non-superuser:<BR>
----------------------------------------------------<BR>
<BR>
cd ./Build/ch/opt/Release &amp;&amp; \<BR>
/usr/bin/sudo tar --numeric-owner --create =
--file=3D../EverON-3.0.0.0.tar.gz --preserve-permissions --gzip .<BR>
# PATH_TO_RELEASE is evidently only defined as relative to =
cwd=3Dnfx-tree<BR>
cd ../../../..<BR>
/usr/bin/sudo sed '/^DISTR_S=3D/cDISTR_S=3D'`ls -ls =
./Build/ch/opt/Release/../EverON-3.0.0.0.tar.gz |\<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; awk '{print $1}'` =
./Tools/cw_install.in &gt; \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /tmp/cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo sed -i '/^DISTR_N=3D/cDISTR_N=3D'EverON-3.0.0.0.tar.gz =
\<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /tmp/cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo sed -i '/^N_VERS=3D/cN_VERS=3D'3.0.0.0 \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /tmp/cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo sed -i '/^BUILD_TYPE=3D/cBUILD_TYPE=3D'opt \<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; /tmp/cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo cp -f /tmp/cw_install.sh =
./Build/ch/opt/Release/cw_install.sh &amp;&amp; \<BR>
/usr/bin/sudo chmod 744 ./Build/ch/opt/Release/cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo chown root:root ./Build/ch/opt/Release/cw_install.sh =
&amp;&amp; \<BR>
cd ./Build/ch/opt/Release &amp;&amp; \<BR>
/usr/bin/sudo gunzip ../EverON-3.0.0.0.tar.gz &amp;&amp; \<BR>
/usr/bin/sudo tar -rf ../EverON-3.0.0.0.tar cw_install.sh &amp;&amp; =
\<BR>
/usr/bin/sudo gzip ../EverON-3.0.0.0.tar<BR>
[build@k2 nfx-tree]$<BR>
<BR>
<BR>
<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: Andy Sharp<BR>
Sent: Wed 6/6/2007 7:26 PM<BR>
To: Ken Renshaw; Larry Scheer<BR>
Subject: Re: cw_install makefile problem<BR>
<BR>
Let me know if I need to check in this change like yesterday.&nbsp; I =
can<BR>
run back from dinner and check it in.<BR>
<BR>
650-906-9448<BR>
<BR>
<BR>
On Wed, 6 Jun 2007 15:38:07 -0700 &quot;Ken Renshaw&quot;<BR>
&lt;ken.renshaw@onstor.com&gt; wrote:<BR>
<BR>
&gt; Hey Andy, hope you're enjoying time off.<BR>
&gt;<BR>
&gt; I'm building DeLorean sub22 with the cw_install stuff, and make<BR>
&gt; release fails to run the steps....looks like the sed commands need =
to<BR>
&gt; be prefaced with /usr/bin/sudo. Were you perchance running make<BR>
&gt; release as root, and that's maybe why this didn't show up?<BR>
&gt;<BR>
&gt; I'm going to go ahead and try sudo make release and see if it =
builds<BR>
&gt; the cw_install.sh file correctly. Just FYI.<BR>
&gt;<BR>
&gt; Thanks, and have a good one.<BR>
&gt;<BR>
&gt; -Ken<BR>
&gt;<BR>
&gt; -----Original Message-----<BR>
&gt; From: Build Admin [<A =
HREF=3D"mailto:build@localhost.localdomain">mailto:build@localhost.locald=
omain</A>]<BR>
&gt; Sent: Wednesday, June 06, 2007 3:30 PM<BR>
&gt; To: Ken Renshaw<BR>
&gt; Subject: cw_install makefile problem<BR>
&gt;<BR>
&gt; /usr/bin/sudo chown 0:0<BR>
&gt; ./Build/ch/opt/Release/usr/local/agile/conf/EverON-3.0.0.0.bom<BR>
&gt; cd ./Build/ch/opt/Release &amp;&amp; \<BR>
&gt; /usr/bin/sudo chown 0:0 usr/local/agile/lib/*<BR>
&gt; cd ./Build/ch/opt/Release &amp;&amp; \<BR>
&gt; /usr/bin/sudo tar --numeric-owner --create<BR>
&gt; --file=3D../EverON-3.0.0.0.tar.gz --preserve-permissions --gzip =
.<BR>
&gt; sed '/^DISTR_S=3D/cDISTR_S=3D'`ls -ls<BR>
&gt; ./Build/ch/opt/Release/../EverON-3.0.0.0.tar.gz |\<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; awk '{print $1}'` =
./Tools/cw_install.in &gt; \<BR>
&gt; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =
./Build/ch/opt/Release/cw_install.sh<BR>
&gt; /bin/sh: line 1: ./Build/ch/opt/Release/cw_install.sh: =
Permission<BR>
&gt; denied make: *** [release] Error 1<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C7A8AB.B307C247--
