RE: OpenPegasus On Free-BSD platform

<[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <[email protected]>
Hi,

We have installed the gmake in FreeBSD platform. Now previous errors (like not understanding ifdef, else, endif in makefiles) are solved. But we are facing lots of other kind of error. Below, I am going to explain the issue faced and solution added for that still now.

Issue 1:
In Platform_FreeBSD_i386.h data type PEGASUS_UINT64 and PEGASUS_SINT64 was undeclared.
So, declared this with the same value, as it was declared in other Platform files.

Issue 2:
For cout, endl, ifstream and templates etc,  it was saying as undeclared.
So we defined PEGASUS_HAVE_NAMESPACES, PEGASUS_HAVE_FOR_SCOPE, PEGASUS_HAVE_TEMPLATE_SPECIALIZATION in Platform_FreeBSD_i386.h, these are defined in other platforms (like Linux, VMS) already.

Issue 3:
In slp folder, it was coming as unsupported platform, so added FreeBSD support in it.

Issue 4:
From  ReadWriteSem.h
# error "Unsupported platform: ReadWriteSem.h implementation type missing" was coming.
So, added PEGASUS_USE_POSIX_RWLOCK in Platform_FreeBSD_i386.h, as we have seen in all other platform already these are defined.

Issue 5:
From Network.h error was : errno not declared, as there was no support added for PEGASUS_OS_FREEBSD
So, added support for FREEBSD Platform and related header files also.

Issue 6:
From HostAdrress.h error was AF_INET and AF_INET6 was undeclared, as header files for this FreeBSD platform was not present.
So, added particular header file for FreeBSD Platform in it.

Issue 7:
From below files---- (1)AnonymousPipe.cpp (2) PAMAuth.cpp  (3)CIMDtaeTime.cpp  (4)Socket.h (5)Dir.cpp
also same kind of error was there:  unsupported Platform or some particular system struct is undeclared (like sockaddr)
So, added support for PEGASUS_OS_FREEBSD  in these files.

As of now we can see more support needs to be added in codes. So, we are continuing with the compilation procedure, but we think, it will take more time to complete. We will update you on this further. Please feel free to give any suggestion.

Regards,
Biswapratap.

"A sense of curiosity is nature's original school of education.
Encourage education, Live curious !!"

From: Karl Schopmeyer [mailto:[email protected]]
Sent: Wednesday, May 23, 2012 7:51 PM
To: Biswapratap Chatterjee (WT01 - Manufacturing & Hi Tech)
Subject: RE: OpenPegasus On Free-BSD platform

The PEP might help with the whole process and help document things for the future (and help you document what you have to do to get this running) but let me ask at telecon tomorrow morning if we really want it for this or can just go with bug and other documentation.

Karl
Thanks for your message at 09:15 PM 5/22/2012, [email protected]. Your message was:


Hi all,



Thanks a lot for your wonderful suggestions.



It looks like installing gmake in our freeBSD system should solve the build related problems.



Karl,



I will open up the PEP doc as suggested by you.



Regards,

Biswapratap.


________________________________
From: Karl Schopmeyer [[email protected]]
Sent: Tuesday, May 22, 2012 9:29 PM
To: Devchandra L Meetei; Deshpande, Rohini (STSD)
Cc: Biswapratap Chatterjee (WT01 - Manufacturing & Hi Tech); [email protected]; [email protected]; Pialy Ghosh (WT01 - Manufacturing & Hi Tech); Manish Kumar (WT01 - Manufacturing & Hi Tech)
Subject: Re: OpenPegasus On Free-BSD platform

We have already forced gmake on other platforms (ex. windows) and messing with the make system is one of the things that could really make a mess.

Therefore, unless there were totally compelling reasons we will always make gmake our standard for build.

Thus, for example we have not provided a clean way to integrate this with visual studio for windows (despite a lot of requests).  While we may consider alternatives in some cases in the future if there is sufficient request, the core capability is just to get OpenPegasus built so gmake is our standard.

Karl
Thanks for your message at 10:06 AM 5/22/2012. Your message was:

A quick glance at the patch of 8882 suggests that the changes are meant for gnumake.
It will be good idea to contribute back the code changes(as a patch) you have done so that others can save time on building it next time.

--Regards
--Dev


On Tue, May 22, 2012 at 7:51 PM, Deshpande, Rohini (STSD) <[email protected]<mailto:[email protected]> > wrote:
I think you should try with gmake. On HP-UX too we use the GNU make rather than the HP-UX make.


Regards,
Rohini


From: [email protected]<mailto:[email protected]> [ mailto:[email protected]]
Sent: Tuesday, May 22, 2012 6:26 PM
To: [email protected]<mailto:[email protected]>
Cc: [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>; [email protected]<mailto:[email protected]>
Subject: RE: OpenPegasus On Free-BSD platform


Hi,


As per the suggestion, we took the patches mentioned in below mail.
We have in cooperated all the changes in OpenPegasus2.11.1 and trying to compile in FreeBSD (8.2 Release i386) Platform.


Initially we got lots of  error  in config.mak, one of the error was "Need an operator". And error was coming because it was not able to understand ifdef, else, endif etc. Then, we found out for FreeBSD Platform, these needs to be changed like .ifdef, .else, .endif


After making these changes also we are getting error, as we can see it's not able to understand "include" also.
After changing it to ".include" also it's not working. In some places it suggested to use gmake instead of make.


Should we download gmake for FreeBSD and use it or is there any other approach we can take?
So, please can you suggest us how to proceed further?


Regards,
Biswapratap.


"A sense of curiosity is nature's original school of education.
Encourage education, Live curious !!"


From: Ajay N Rao [ mailto:[email protected]]
Sent: Thursday, May 10, 2012 4:43 PM
To: Biswapratap Chatterjee (WT01 - Manufacturing & Hi Tech)
Cc: [email protected]<mailto:[email protected]>
Subject: Re: OpenPegasus On Free-BSD platform


Hi ,
There is a Enhancement Bug 8882 which is under review. It suggests PEGASUS_PLATFORM value FreeBSD_i386 if im not wrong. Consider the fact that this patch is not approved and still
under discussion. You can test the patch and let us know your findings.
http://bugzilla.openpegasus.org/show_bug.cgi?id=8882
Currently there is no support to Free_BSD in open pegasus.
Regards,
Ajay

From:        < [email protected]<mailto:[email protected]>>
To:        <[email protected]<mailto:[email protected]> >,
Date:        05/10/2012 03:48 PM
Subject:        OpenPegasus On Free-BSD platform

Hi,
We have a requirement to build open-pegasus (cimserver) on "free-bsd" platform. Since we were unable to find any suitable PEGASUS_PLATFORM variable that supports free-bsd platform, we used LINUX_IX86_GNU for the same purpose. But, unfortunately the build failed with various issues.
Therefore, my query is - Whether it is possible at all to build open-pegasus on "FREE-BSD" platform? And if not, then is there any CIMOM that can be built and run on FREE-BSD platforms?
Thanks in advance.
Regards,
Biswapratap.
"A sense of curiosity is nature's original school of education.
Encourage education, Live curious !!"
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com<http://www.wipro.com>
Please do not print this email unless it is absolutely necessary.
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.
WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
www.wipro.com<http://www.wipro.com>
Karl Schopmeyer                   Inova Development Inc.
305 Spring Creek Village, Suite 475 -  Dallas TX, 75248 USA
EMAIL: [email protected]       FAX: 1-972-239-0326
Phone 1-972-814-5581
Skype: kschopmeyer         Skype Phone: (214) 556-5971


Please do not print this email unless it is absolutely necessary.

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.

www.wipro.com<http://www.wipro.com/>

Karl Schopmeyer                   Inova Development Inc.
305 Spring Creek Village, Suite 475 -  Dallas TX, 75248 USA
EMAIL: [email protected]       FAX: 1-972-239-0326
Phone 1-972-814-5581
Skype: kschopmeyer         Skype Phone: (214) 556-5971


Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.