Re: Building Open Pegasus 2.12 with OpenSLP v2

Devchandra L Meetei <[email protected]> Wed, 16 Apr 2014 22:10:30 +0530
Newsgroups gmane.network.open-pegasus.general
Message-ID <CAKmFMKfvRQE2kY0qxqPRng-kKc6tZcXJ2p6qLmkebpQngu3dZw@mail.gmail.com>
--001a11391b161a868504f72b9305
Content-Type: text/plain; charset=ISO-8859-1

Ok, I have gone through the tog-pegasus spec from RedHat, Assuming Centos
is based on RHEL, I am hoping they will follow the same spec.

pegasus build using the spec requires openslp, openslp-devel. which means a
straight forward solution that if you want the your pegasus to use updated
openslp v 2,
You need to remove old one and install the new one and build.

Let us know if you are still facing issue


On Wed, Apr 16, 2014 at 1:49 AM, Khushboo Sancheti <
[email protected]> wrote:

>  We tried exporting the SLP HOME related vairables in the spec file
> before the make is invoked but that did not help.
>
>
>
> Thanks,
>
> Khushboo
>
>
>
> *From:* Devchandra L Meetei [mailto:[email protected]]
> *Sent:* Tuesday, April 15, 2014 1:17 PM
>
> *To:* Khushboo Sancheti
> *Cc:* [email protected]; Karl Schopmeyer
> *Subject:* Re: Building Open Pegasus 2.12 with OpenSLP v2
>
>
>
> Forgot to mention in the last mail, In that case we need to check How the
> RedHat(Centos) guys does their packaging.
>
> The last mail for the rpm that we, pegasus community, make.
>
> As you are using the spec file from CentOS, Just check out where they set
> env, Not sure if they use the same.
>
>
>
> On Wed, Apr 16, 2014 at 1:43 AM, Devchandra L Meetei <[email protected]>
> wrote:
>
> Aah, Got it.
>
> In that case tweak this env file, which will be available in the
> PEGASUS_ROOT
>
> http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegasus/env_var_Linux.status?rev=HEAD&content-type=text/plain
>
> to include the new values of the PEGASUS_OPENSLP_HOME
>
>
>
> On Wed, Apr 16, 2014 at 1:37 AM, Khushboo Sancheti <
> [email protected]> wrote:
>
> We use the tog-pegasus.spec with the Centos Pegasus RPMs which use
> Makefile.Release.
>
>
>
> *From:* Devchandra L Meetei [mailto:[email protected]]
> *Sent:* Tuesday, April 15, 2014 1:05 PM
>
>
> *To:* Khushboo Sancheti
> *Cc:* [email protected]; Karl Schopmeyer
> *Subject:* Re: Building Open Pegasus 2.12 with OpenSLP v2
>
>
>
> Are you building pegasus using rpm build?
>
>
>
>
>
> On Wed, Apr 16, 2014 at 1:32 AM, Khushboo Sancheti <
> [email protected]> wrote:
>
> Thanks Devchandra!
>
>
>
> I think we tried with these options but did not get the desired outcome -
> let me try once more.
>
>
>
> Cheers!
>
> Khushboo
>
>
>
>
>
> *From:* Devchandra L Meetei [mailto:[email protected]]
> *Sent:* Tuesday, April 15, 2014 1:00 PM
> *To:* Khushboo Sancheti
> *Cc:* [email protected]; Karl Schopmeyer
> *Subject:* Re: Building Open Pegasus 2.12 with OpenSLP v2
>
>
>  To inform the pegasus build system to handpick a particular openslp, You
> can set the PEGASUS_OPENSLP_HOME.
>
> Setting this will also require setting two more env
> PEGASUS_ENABLE_SLP PEGASUS_USE_OPENSLP
>
> More details at
>
>
> http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegasus/doc/BuildAndReleaseOptions.html?rev=HEAD&content-type=text/html
>
>
>
> On Wed, Apr 16, 2014 at 12:17 AM, Khushboo Sancheti <
> [email protected]> wrote:
>
> Hi,
>
>
>
> Are there any build time options - specifically where the appropriate
> CFLAGS and LDFLAGs can be put - to ensure that Open Pegasus picks up the
> open slp v2 stuff from a particular location rather than grabiing the
> defaults on the build machine? The build machine current has open slp v1.
>
>
>
> We are using OP 2.12.
>
>
>
> Thanks,
>
> Khushboo
>
>
>
>
> --
>
> Warm Regards
> --Dev
> OpenPegasus Developer
>
> "I'm one of those people that think Thomas Edison and the light bulb
> changed the world more than Karl Marx ever did," Steve Jobs
>
>
>
>
> --
>
> Warm Regards
> --Dev
> OpenPegasus Developer
>
> "I'm one of those people that think Thomas Edison and the light bulb
> changed the world more than Karl Marx ever did," Steve Jobs
>
>
>
>
> --
>
> Warm Regards
> --Dev
> OpenPegasus Developer
>
> "I'm one of those people that think Thomas Edison and the light bulb
> changed the world more than Karl Marx ever did," Steve Jobs
>
>
>
>
> --
>
> Warm Regards
> --Dev
> OpenPegasus Developer
>
> "I'm one of those people that think Thomas Edison and the light bulb
> changed the world more than Karl Marx ever did," Steve Jobs
>



-- 
Warm Regards
--Dev
OpenPegasus Developer

"I'm one of those people that think Thomas Edison and the light bulb
changed the world more than Karl Marx ever did," Steve Jobs

--001a11391b161a868504f72b9305
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div><div><div>Ok, I have gone through the tog-pegasus spe=
c from RedHat, Assuming Centos is based on RHEL, I am hoping they will foll=
ow the same spec.<br><br></div>pegasus build using the spec requires opensl=
p, openslp-devel. which means a straight forward solution that if you want =
the your pegasus to use updated openslp v 2, <br>
</div>You need to remove old one and install the new one and build.<br><br>=
</div>Let us know if you are still facing issue<br></div><div class=3D"gmai=
l_extra"><br><br><div class=3D"gmail_quote">On Wed, Apr 16, 2014 at 1:49 AM=
, Khushboo Sancheti <span dir=3D"ltr">&lt;<a href=3D"mailto:khushboo@nimble=
storage.com" target=3D"_blank">[email protected]</a>&gt;</span> wr=
ote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #ccc solid;padding-left:1ex">





<div link=3D"blue" vlink=3D"purple" lang=3D"EN-US">
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">We tried exporting the SL=
P HOME related vairables in the spec file before the make is invoked but th=
at did not help.<u></u><u></u></span></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks,<u></u><u></u></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Khushboo<u></u><u></u></s=
pan></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u>&nbsp;<u></u></spa=
n></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchand=
ra L Meetei [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>]
<br>
<b>Sent:</b> Tuesday, April 15, 2014 1:17 PM</span></p><div><div class=3D"h=
5"><br>
<b>To:</b> Khushboo Sancheti<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">p=
[email protected]</a>; Karl Schopmeyer<br>
<b>Subject:</b> Re: Building Open Pegasus 2.12 with OpenSLP v2<u></u><u></u=
></div></div><p></p><div><div class=3D"h5">
<p class=3D"MsoNormal"><u></u>&nbsp;<u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Forgot to mention in =
the last mail, In that case we need to check How the RedHat(Centos) guys do=
es their packaging.<u></u><u></u></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">The last mail for the=
 rpm that we, pegasus community, make.
<u></u><u></u></p>
</div>
<p class=3D"MsoNormal">As you are using the spec file from CentOS, Just che=
ck out where they set env, Not sure if they use the same.<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>&nbsp;<u></u><=
/p>
<div>
<p class=3D"MsoNormal">On Wed, Apr 16, 2014 at 1:43 AM, Devchandra L Meetei=
 &lt;<a href=3D"mailto:[email protected]" target=3D"_blank">dlmeetei@gmail=
.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<div>
<p class=3D"MsoNormal">Aah, Got it. <u></u><u></u></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">In that case tweak th=
is env file, which will be available in the PEGASUS_ROOT<br>
<a href=3D"http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegasus/=
env_var_Linux.status?rev=3DHEAD&amp;content-type=3Dtext/plain" target=3D"_b=
lank">http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegasus/env_v=
ar_Linux.status?rev=3DHEAD&amp;content-type=3Dtext/plain</a><u></u><u></u><=
/p>

</div>
<p class=3D"MsoNormal">to include the new values of the PEGASUS_OPENSLP_HOM=
E<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><u></u>&nbsp;<u></u><=
/p>
<div>
<p class=3D"MsoNormal">On Wed, Apr 16, 2014 at 1:37 AM, Khushboo Sancheti &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">khushboo=
@nimblestorage.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">We use the tog-pegasus.sp=
ec with the Centos Pegasus RPMs which use Makefile.Release.</span><u></u><u=
></u></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><u></u><u></=
u></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchand=
ra L Meetei [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>]
<br>
<b>Sent:</b> Tuesday, April 15, 2014 1:05 PM</span><u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><br>
<b>To:</b> Khushboo Sancheti<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">p=
[email protected]</a>; Karl Schopmeyer<br>
<b>Subject:</b> Re: Building Open Pegasus 2.12 with OpenSLP v2<u></u><u></u=
></p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Are you building pega=
sus using rpm build?<u></u><u></u></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&nbsp;<u></u><u></u><=
/p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&nbsp;<u></u><u></u><=
/p>
<div>
<p class=3D"MsoNormal">On Wed, Apr 16, 2014 at 1:32 AM, Khushboo Sancheti &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">khushboo=
@nimblestorage.com</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks Devchandra!</span>=
<u></u><u></u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><u></u><u></=
u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">I think we tried with the=
se options but did not get the desired outcome &ndash; let me try once more=
.</span><u></u><u></u></p>

<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><u></u><u></=
u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Cheers!</span><u></u><u><=
/u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">Khushboo</span><u></u><u>=
</u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><u></u><u></=
u></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1f497d">&nbsp;</span><u></u><u></=
u></p>
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchand=
ra L Meetei [mailto:<a href=3D"mailto:[email protected]" target=3D"_blank"=
>[email protected]</a>]
<br>
<b>Sent:</b> Tuesday, April 15, 2014 1:00 PM<br>
<b>To:</b> Khushboo Sancheti<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]" target=3D"_blank">p=
[email protected]</a>; Karl Schopmeyer<br>
<b>Subject:</b> Re: Building Open Pegasus 2.12 with OpenSLP v2</span><u></u=
><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<div>
<h5>To inform the pegasus build system to handpick a particular openslp, Yo=
u can set the PEGASUS_OPENSLP_HOME.
<u></u><u></u></h5>
<p>Setting this will also require setting two more env<u></u><u></u></p>
<h5>PEGASUS_ENABLE_SLP<u></u><u></u></h5>
<h5>PEGASUS_USE_OPENSLP<u></u><u></u></h5>
<p>More details at <u></u><u></u></p>
<p><a href=3D"http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegas=
us/doc/BuildAndReleaseOptions.html?rev=3DHEAD&amp;content-type=3Dtext/html"=
 target=3D"_blank">http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/=
pegasus/doc/BuildAndReleaseOptions.html?rev=3DHEAD&amp;content-type=3Dtext/=
html</a><u></u><u></u></p>

</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">&nbsp;<u></u><u></u><=
/p>
<div>
<p class=3D"MsoNormal">On Wed, Apr 16, 2014 at 12:17 AM, Khushboo Sancheti =
&lt;<a href=3D"mailto:[email protected]" target=3D"_blank">khushbo=
[email protected]</a>&gt; wrote:<u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Hi,<u></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p class=3D"MsoNormal">Are there any build time options &ndash; specificall=
y where the appropriate CFLAGS and LDFLAGs can be put &ndash; to ensure tha=
t Open Pegasus picks up the open slp v2 stuff from a particular
 location rather than grabiing the defaults on the build machine? The build=
 machine current has open slp v1.<u></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p class=3D"MsoNormal">We are using OP 2.12.<u></u><u></u></p>
<p class=3D"MsoNormal">&nbsp;<u></u><u></u></p>
<p class=3D"MsoNormal">Thanks,<u></u><u></u></p>
<p class=3D"MsoNormal">Khushboo<u></u><u></u></p>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<br clear=3D"all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I&#39;m one of those people that think Thomas Edison and the light bu=
lb changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<u></u>=
<u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<br clear=3D"all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I&#39;m one of those people that think Thomas Edison and the light bu=
lb changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<u></u>=
<u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<br clear=3D"all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I&#39;m one of those people that think Thomas Edison and the light bu=
lb changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<u></u>=
<u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<br clear=3D"all">
<br>
-- <u></u><u></u></p>
<div>
<div>
<p class=3D"MsoNormal">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I&#39;m one of those people that think Thomas Edison and the light bu=
lb changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<u></u>=
<u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>

</blockquote></div><br><br clear=3D"all"><br>-- <br><div dir=3D"ltr"><div>W=
arm Regards<br>--Dev<br>OpenPegasus Developer<br><br>&quot;I&#39;m one of t=
hose people that think Thomas Edison and the light bulb=20
changed the world more than Karl Marx ever did,&rdquo; Steve Jobs<br></div>=
</div>
</div>

--001a11391b161a868504f72b9305--