RE: How to create Pegasus repository if corss compiler is used?

"Sampige, Sahana Prabhakar \(STSD\)" <[email protected]>
Newsgroups gmane.network.open-pegasus.general
Message-ID <3051CFF4B0ABBF418CBA816A2BF3F20334B2D3FF2C@GVW1105EXC.americas.hpqcorp.net>
Hi Veeresh,
Copy cimmof1 to your ppc machine and run every command listed under make repository in Makefile manually on your ppc machine. Alternatively you could move all commands to a script and run it. But you will have to copy all the mof files as well to the target machine.

Rgds,
Sahana 

-----Original Message-----
From: Yaligar, Veeresh S (STSD) 
Sent: Monday, March 01, 2010 7:39 PM
To: [email protected]
Subject: How to create Pegasus repository if corss compiler is used?

Hi
 I am building Pegasus for PowerPC Linux. I use RH Linux server to build Pegasus with ppc cross compiler. I am able to build the binaries for ppc. My make repository command fails with following error. Obviously binary file cimmofl for PowerPC does not run on this build machine (RHLinux) as both are different platforms. How do get repository directory generated in this case?

make repository
make[1]: Entering directory `/export/svn_workarea/op-cimom/pegasus-2.9.0/Schemas/Pegasus'
make --directory=Internal repository
make[2]: Entering directory `/export/svn_workarea/op-cimom/pegasus-2.9.0/Schemas/Pegasus/Internal'
+++++ Loading Core_Qualifiers.mof into root/PG_Internal namespace ...
/bin/sh: line 1: cimmofl: command not found
make[2]: *** [repository] Error 127
make[2]: Leaving directory `/export/svn_workarea/op-cimom/pegasus-2.9.0/Schemas/Pegasus/Internal'
make[1]: *** [repository] Error 2
make[1]: Leaving directory `/export/svn_workarea/op-cimom/pegasus-2.9.0/Schemas/Pegasus'
make: *** [repository] Error 2
[root@smistest3 pegasus-2.9.0]# cd pegasus_home/

Thanks
Veeresh
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.