RE: Building Open Pegasus 2.12 with OpenSLP v2

Khushboo Sancheti <[email protected]> Wed, 16 Apr 2014 23:17:55 +0000
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
--_000_E5664159A651084F927DFB1C8E61CE59AE0B6142MBX01nimblestor_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Is there a way to specify CFLAGS for the Open Pegasus build? Such that the =
SLP binaries and libraries and includes can be picked up from a particular =
location?

I tried doing greps and found some CFLAGS in a bunch of .mk files.

Thanks,
Khushboo

From: Khushboo Sancheti
Sent: Wednesday, April 16, 2014 3:41 PM
To: 'Devchandra L Meetei'
Cc: [email protected]; Karl Schopmeyer
Subject: RE: Building Open Pegasus 2.12 with OpenSLP v2

Unfortunately, we cannot remove the OpenSLP v1 from the build machine. We h=
ave built open slp v2 at a particular location and would like the Open Pega=
sus build to pick it up from there.

We have tried setting the relevant Open SLP environment variables in env_va=
r_Linux.status file and we are debugging the following error:


<dir>/pegasus/build/obj/Server/cimserver.o

-lpegservice -lpegclient -lpegserver -lpeguser -lpegprm -lNamespaceProvider

-lpegindicationservice -lpeghandlerservice -lConfigSettingProvider

-lDefaultProviderManager -lProviderRegistrationProvider -lpegauthentication

-lUserAuthProvider -lpegqueryexpression -lpegcql -lpegwql -lpegquerycommon

-lCIMQueryCapabilitiesProvider -lDefaultProviderManager -lpegprovidermanage=
r

-lInteropProvider -lCertificateProvider -lpegslp -lpegwsmserver

-lpegprovidermanager -lpegpmservice -lpegpmrouter -lpegprovider

-lpegexportserver -lpegrepository -lpegconfig -lpeggeneral -lpegcommon -ldl

-lpthread -lcrypt

/usr/bin/ld: warning: libslp.so.1, needed by

<dir>/build/lib/libpegslp.so,

not found (try using -rpath or -rpath-link)

<dir>/pegasus/build/lib/libpegslp.so:

undefined reference to `SLPDereg'

<dir>/pegasus/build/lib/libpegslp.so:

undefined reference to `SLPOpen'

<dir>/pegasus/build/lib/libpegslp.so:

undefined reference to `SLPReg'

<dir>/pegasus/build/lib/libpegslp.so:

undefined reference to `SLPClose'

collect2: ld returned 1 exit status

make[3]: ***

<dir>/pegasus/build/bin/cimserver]

Error 1

make[3]: Leaving directory

`<dir>/pegasus/src/Server'

Thanks,
Khushboo

From: Devchandra L Meetei [mailto:[email protected]]
Sent: Wednesday, April 16, 2014 9:41 AM
To: Khushboo Sancheti
Cc: [email protected]<mailto:[email protected]>; Karl Schop=
meyer
Subject: Re: Building Open Pegasus 2.12 with OpenSLP v2

Ok, I have gone through the tog-pegasus spec from RedHat, Assuming Centos i=
s 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 <khushboo@nimblestorage.=
com<mailto:[email protected]>> wrote:
We tried exporting the SLP HOME related vairables in the spec file before t=
he make is invoked but that did not help.

Thanks,
Khushboo

From: Devchandra L Meetei [mailto:[email protected]<mailto:dlmeetei@gmail.=
com>]
Sent: Tuesday, April 15, 2014 1:17 PM

To: Khushboo Sancheti
Cc: [email protected]<mailto:[email protected]>; Karl Schop=
meyer
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 R=
edHat(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 e=
nv, Not sure if they use the same.

On Wed, Apr 16, 2014 at 1:43 AM, Devchandra L Meetei <[email protected]<ma=
ilto:[email protected]>> wrote:
Aah, Got it.
In that case tweak this env file, which will be available in the PEGASUS_RO=
OT
http://cvs.opengroup.org/cgi-bin/viewcvs.cgi/*checkout*/pegasus/env_var_Lin=
ux.status?rev=3DHEAD&content-type=3Dtext/plain
to include the new values of the PEGASUS_OPENSLP_HOME

On Wed, Apr 16, 2014 at 1:37 AM, Khushboo Sancheti <khushboo@nimblestorage.=
com<mailto:[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]<mailto:dlmeetei@gmail.=
com>]
Sent: Tuesday, April 15, 2014 1:05 PM

To: Khushboo Sancheti
Cc: [email protected]<mailto:[email protected]>; Karl Schop=
meyer
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 <khushboo@nimblestorage.=
com<mailto:[email protected]>> wrote:
Thanks Devchandra!

I think we tried with these options but did not get the desired outcome - l=
et me try once more.

Cheers!
Khushboo


From: Devchandra L Meetei [mailto:[email protected]<mailto:dlmeetei@gmail.=
com>]
Sent: Tuesday, April 15, 2014 1:00 PM
To: Khushboo Sancheti
Cc: [email protected]<mailto:[email protected]>; Karl Schop=
meyer
Subject: Re: Building Open Pegasus 2.12 with OpenSLP v2

To inform the pegasus build system to handpick a particular openslp, You ca=
n 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/BuildAn=
dReleaseOptions.html?rev=3DHEAD&content-type=3Dtext/html

On Wed, Apr 16, 2014 at 12:17 AM, Khushboo Sancheti <khushboo@nimblestorage=
.com<mailto:[email protected]>> wrote:
Hi,

Are there any build time options - specifically where the appropriate CFLAG=
S and LDFLAGs can be put - to ensure that Open Pegasus picks up the open sl=
p 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 change=
d 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 change=
d 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 change=
d 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 change=
d 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 change=
d the world more than Karl Marx ever did," Steve Jobs

--_000_E5664159A651084F927DFB1C8E61CE59AE0B6142MBX01nimblestor_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Cambria;
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	margin-bottom:.0001pt;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
h5
	{mso-style-priority:9;
	mso-style-link:"Heading 5 Char";
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:10.0pt;
	font-family:"Times New Roman","serif";
	font-weight:bold;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p
	{mso-style-priority:99;
	mso-margin-top-alt:auto;
	margin-right:0in;
	mso-margin-bottom-alt:auto;
	margin-left:0in;
	font-size:12.0pt;
	font-family:"Times New Roman","serif";}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:10.0pt;
	font-family:"Courier New";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
	{mso-style-priority:99;
	mso-style-link:"Balloon Text Char";
	margin:0in;
	margin-bottom:.0001pt;
	font-size:8.0pt;
	font-family:"Tahoma","sans-serif";}
span.Heading5Char
	{mso-style-name:"Heading 5 Char";
	mso-style-priority:9;
	mso-style-link:"Heading 5";
	font-family:"Cambria","serif";
	color:#243F60;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:"Courier New";}
span.BalloonTextChar
	{mso-style-name:"Balloon Text Char";
	mso-style-priority:99;
	mso-style-link:"Balloon Text";
	font-family:"Tahoma","sans-serif";}
span.EmailStyle23
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
span.EmailStyle24
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Is there a way to specify=
 CFLAGS for the Open Pegasus build? Such that the SLP binaries and librarie=
s and includes can be picked up from a particular location?<o:p></o:p></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"><o:p>&nbsp;</o:p></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">I tried doing greps and f=
ound some CFLAGS in a bunch of .mk files.<o:p></o:p></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"><o:p>&nbsp;</o:p></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">Thanks,<o:p></o:p></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">Khushboo<o:p></o:p></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"><o:p>&nbsp;</o:p></span><=
/p>
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in =
0in 0in">
<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;"> Khushboo=
 Sancheti
<br>
<b>Sent:</b> Wednesday, April 16, 2014 3:41 PM<br>
<b>To:</b> 'Devchandra L Meetei'<br>
<b>Cc:</b> [email protected]; Karl Schopmeyer<br>
<b>Subject:</b> RE: Building Open Pegasus 2.12 with OpenSLP v2<o:p></o:p></=
span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D">Unfortunately, we cannot =
remove the OpenSLP v1 from the build machine. We have built open slp v2 at =
a particular location and would like the Open Pegasus build
 to pick it up from there.<o:p></o:p></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"><o:p>&nbsp;</o:p></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">We have tried setting the=
 relevant Open SLP environment variables in env_var_Linux.status file and w=
e are debugging the following error:<o:p></o:p></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"><o:p>&nbsp;</o:p></span><=
/p>
<pre>&lt;dir&gt;/pegasus/build/obj/Server/cimserver.o<o:p></o:p></pre>
<pre>-lpegservice -lpegclient -lpegserver -lpeguser -lpegprm -lNamespacePro=
vider<o:p></o:p></pre>
<pre>-lpegindicationservice -lpeghandlerservice -lConfigSettingProvider<o:p=
></o:p></pre>
<pre>-lDefaultProviderManager -lProviderRegistrationProvider -lpegauthentic=
ation<o:p></o:p></pre>
<pre>-lUserAuthProvider -lpegqueryexpression -lpegcql -lpegwql -lpegqueryco=
mmon<o:p></o:p></pre>
<pre>-lCIMQueryCapabilitiesProvider -lDefaultProviderManager -lpegproviderm=
anager<o:p></o:p></pre>
<pre>-lInteropProvider -lCertificateProvider -lpegslp -lpegwsmserver<o:p></=
o:p></pre>
<pre>-lpegprovidermanager -lpegpmservice -lpegpmrouter -lpegprovider<o:p></=
o:p></pre>
<pre>-lpegexportserver -lpegrepository -lpegconfig -lpeggeneral -lpegcommon=
 -ldl<o:p></o:p></pre>
<pre>-lpthread -lcrypt<o:p></o:p></pre>
<pre>/usr/bin/ld: warning: libslp.so.1, needed by<o:p></o:p></pre>
<pre>&lt;dir&gt;/build/lib/libpegslp.so,<o:p></o:p></pre>
<pre>not found (try using -rpath or -rpath-link)<o:p></o:p></pre>
<pre>&lt;dir&gt;/pegasus/build/lib/libpegslp.so:<o:p></o:p></pre>
<pre>undefined reference to `SLPDereg'<o:p></o:p></pre>
<pre>&lt;dir&gt;/pegasus/build/lib/libpegslp.so:<o:p></o:p></pre>
<pre>undefined reference to `SLPOpen'<o:p></o:p></pre>
<pre>&lt;dir&gt;/pegasus/build/lib/libpegslp.so:<o:p></o:p></pre>
<pre>undefined reference to `SLPReg'<o:p></o:p></pre>
<pre>&lt;dir&gt;/pegasus/build/lib/libpegslp.so:<o:p></o:p></pre>
<pre>undefined reference to `SLPClose'<o:p></o:p></pre>
<pre>collect2: ld returned 1 exit status<o:p></o:p></pre>
<pre>make[3]: ***<o:p></o:p></pre>
<pre>&lt;dir&gt;/pegasus/build/bin/cimserver]<o:p></o:p></pre>
<pre>Error 1<o:p></o:p></pre>
<pre>make[3]: Leaving directory<o:p></o:p></pre>
<pre>`&lt;dir&gt;/pegasus/src/Server'<o:p></o:p></pre>
<p class=3D"MsoNormal"><span style=3D"font-size:11.0pt;font-family:&quot;Ca=
libri&quot;,&quot;sans-serif&quot;;color:#1F497D"><o:p>&nbsp;</o:p></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">Thanks,<o:p></o:p></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">Khushboo<o:p></o:p></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"><o:p>&nbsp;</o:p></span><=
/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 [<a href=3D"mailto:[email protected]">mailto:[email protected]=
m</a>]
<br>
<b>Sent:</b> Wednesday, April 16, 2014 9:41 AM<br>
<b>To:</b> Khushboo Sancheti<br>
<b>Cc:</b> <a href=3D"mailto:[email protected]">pegasus-l@openpegas=
us.org</a>; Karl Schopmeyer<br>
<b>Subject:</b> Re: Building Open Pegasus 2.12 with OpenSLP v2<o:p></o:p></=
span></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">Ok, I have gone throu=
gh the tog-pegasus spec from RedHat, Assuming Centos is based on RHEL, I am=
 hoping they will follow the same spec.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal">pegasus build using the spec requires openslp, opens=
lp-devel. which means a straight forward solution that if you want the your=
 pegasus to use updated openslp v 2,
<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt">You need to remove ol=
d one and install the new one and build.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal">Let us know if you are still facing issue<o:p></o:p>=
</p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"margin-bottom:12.0pt"><o:p>&nbsp;</o:p></p>
<div>
<p class=3D"MsoNormal">On Wed, Apr 16, 2014 at 1:49 AM, Khushboo Sancheti &=
lt;<a href=3D"mailto:[email protected]" target=3D"_blank">khushboo=
@nimblestorage.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">We tried exporting the SLP HOME related=
 vairables in the spec file before the make is invoked but
 that did not help.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thanks,</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Khushboo</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchandra L Meetei [m=
ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">dlmeetei@gmai=
l.com</a>]
<br>
<b>Sent:</b> Tuesday, April 15, 2014 1:17 PM</span><o:p></o:p></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<o:p></o:p></=
p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">Forgot to mention in the last mail, In that case we need to check How th=
e RedHat(Centos) guys does their packaging.<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">The last mail for the rpm that we, pegasus community, make.
<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">As you are using the spec file from CentOS, Just check out where t=
hey set env, Not sure if they use the same.<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Wed, Apr 16, 2014 at 1:43 AM, Devchandra L Meetei &lt;<a href=
=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;=
 wrote:<o:p></o:p></p>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Aah, Got it.
<o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">In that case tweak this 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><o:p></o:p></p>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">to include the new values of the PEGASUS_OPENSLP_HOME<o:p></o:p></=
p>
</div>
<div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">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:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">We use the tog-pegasus.spec with the Ce=
ntos Pegasus RPMs which use Makefile.Release.</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchandra L Meetei [m=
ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">dlmeetei@gmai=
l.com</a>]
<br>
<b>Sent:</b> Tuesday, April 15, 2014 1:05 PM</span><o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><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<o:p></o:p></=
p>
</div>
</div>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">Are you building pegasus using rpm build?<o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
</div>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">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:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Thanks Devchandra!</span><o:p></o:p></p=
>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">I think we tried with these options but=
 did not get the desired outcome &#8211; let me try once more.</span><o:p><=
/o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Cheers!</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">Khushboo</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><span style=3D"font-size:11.0pt;font-family:&quot;Calibri&quot;,&q=
uot;sans-serif&quot;;color:#1F497D">&nbsp;</span><o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><b><span style=3D"font-size:10.0pt;font-family:&quot;Tahoma&quot;,=
&quot;sans-serif&quot;">From:</span></b><span style=3D"font-size:10.0pt;fon=
t-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Devchandra L Meetei [m=
ailto:<a href=3D"mailto:[email protected]" target=3D"_blank">dlmeetei@gmai=
l.com</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><o:p><=
/o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<div>
<h5>To inform the pegasus build system to handpick a particular openslp, Yo=
u can set the PEGASUS_OPENSLP_HOME.
<o:p></o:p></h5>
<p>Setting this will also require setting two more env<o:p></o:p></p>
<h5>PEGASUS_ENABLE_SLP<o:p></o:p></h5>
<h5>PEGASUS_USE_OPENSLP<o:p></o:p></h5>
<p>More details at <o:p></o:p></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><o:p></o:p></p>
</div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;margin-bottom:12.0p=
t">&nbsp;<o:p></o:p></p>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">On Wed, Apr 16, 2014 at 12:17 AM, Khushboo Sancheti &lt;<a href=3D=
"mailto:[email protected]" target=3D"_blank">khushboo@nimblestorag=
e.com</a>&gt; wrote:<o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Hi,<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Are there any build time options &#8211; specifically where the ap=
propriate CFLAGS and LDFLAGs can be put &#8211; 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.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">We are using OP 2.12.<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">&nbsp;<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Khushboo<o:p></o:p></p>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br>
<br clear=3D"all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I'm one of those people that think Thomas Edison and the light bulb c=
hanged the world more than Karl Marx ever did,&#8221; Steve Jobs<o:p></o:p>=
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br>
<br clear=3D"all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I'm one of those people that think Thomas Edison and the light bulb c=
hanged the world more than Karl Marx ever did,&#8221; Steve Jobs<o:p></o:p>=
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br>
<br clear=3D"all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I'm one of those people that think Thomas Edison and the light bulb c=
hanged the world more than Karl Marx ever did,&#8221; Steve Jobs<o:p></o:p>=
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto"><br>
<br clear=3D"all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal" style=3D"mso-margin-top-alt:auto;mso-margin-bottom-a=
lt:auto">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I'm one of those people that think Thomas Edison and the light bulb c=
hanged the world more than Karl Marx ever did,&#8221; Steve Jobs<o:p></o:p>=
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<p class=3D"MsoNormal"><br>
<br clear=3D"all">
<br>
-- <o:p></o:p></p>
<div>
<div>
<p class=3D"MsoNormal">Warm Regards<br>
--Dev<br>
OpenPegasus Developer<br>
<br>
&quot;I'm one of those people that think Thomas Edison and the light bulb c=
hanged the world more than Karl Marx ever did,&#8221; Steve Jobs<o:p></o:p>=
</p>
</div>
</div>
</div>
</div>
</body>
</html>

--_000_E5664159A651084F927DFB1C8E61CE59AE0B6142MBX01nimblestor_--