Thanks a lot ! 
with your help the problem is solved !

but now it gives a different error message...

================================================================
      Here's the part of the output with the error message
================================================================

Processing files: opensaf-debuginfo-4.5.M0-1.el6.i686
Checking for unpackaged file(s): /usr/lib/rpm/check-files 
/root/opensaf-staging/rpms/BUILDROOT/opensaf-4.5.M0-1.el6.i386
error: Installed (but unpackaged) file(s) found:
   /usr/include/saAis_B_5_14.h


RPM build errors:
    Installed (but unpackaged) file(s) found:
   /usr/include/saAis_B_5_14.h
make: *** [rpm] Error 1

==========================================================================================

Hopefully i'm close to figuring out how to install openSAF ! 
Thanks in advance for the support.
 


________________________________
 From: Hans Nordebäck <hans.nordeb...@ericsson.com>
To: Mhmoud Salama <mahmoud_salama8...@yahoo.com> 
Cc: Zoran Milinkovic <zoran.milinko...@ericsson.com>; 
"opensaf-devel@lists.sourceforge.net" <opensaf-devel@lists.sourceforge.net> 
Sent: Friday, 4 April 2014, 8:35:49
Subject: Re: [devel] Regarding openSAF 4.4.0 building on CentOS 6.4
 


HI, you mentioned below that you have done hg clone of opensaf-staging, the 
file should be found at 
../opensaf-staging/osaf/tools/safimm/immcfg/imm_import.cc. Bring this file
into your editor and change the two lines as suggested below. Then
      run make again.
/BR HansN
On 04/04/14 17:31, Mhmoud Salama wrote:

Thanks for the rapid reply, really appreciate that..
but what is the imm_import file and where could it be ?
i'm very new to this and openSAF is very important to me as i need it to 
develop an HA telecom application, please bear with me and thanks again.

________________________________
 From: Hans Nordebäck <hans.nordeb...@ericsson.com>
To: Mhmoud Salama <mahmoud_salama8...@yahoo.com>; Zoran Milinkovic 
<zoran.milinko...@ericsson.com> 
Cc: "opensaf-devel@lists.sourceforge.net" <opensaf-devel@lists.sourceforge.net> 
Sent: Friday, 4 April 2014, 8:26:22
Subject: Re: [devel] Regarding openSAF 4.4.0 building on CentOS 6.4
 
required

Hi, it seems that the constant in:
imm_import line 1933 and 2006 should be
                0xffffffffffffffffULL.  I think 
a ticket should be created for this, bu in the meantime
                it should work 
if you change it.

/BR HansN


On 04/04/14 16:58, Mhmoud Salama wrote:
>
________________________________________________________________________________________________
>
> I'm trying to install OpenSAF version 4.4.0 as a
                  controller on a 32-bit CentOS 6.4 OS,
> i have all the required packages and have
                  installed ,configured and started OpenHPI service.
>
> I follow the instructions in the README file and
                  have run the following scripts..
>
________________________________________________________________________________________________
>
> ===================
>    Using mercurial
> ===================
>
> % hg clone http://hg.code.sf.net/p/opensaf/staging opensaf-staging
> % cd opensaf-staging
> % ./bootstrap.sh
> % ./configure --enable-java --enable-ntf-imcn
                  && make rpm
>
>
                  =======================================================
>  And here is the part of output with an error
                  message
>
                  =======================================================
>
> make[6]: Entering directory
`/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm/immcfg'
>    CC    immcfg-immutil.o
>    CXX    immcfg-imm_import.o
> cc1plus: warnings being treated as errors
> imm_import.cc:1933: error: integer constant is
                  too large for 'long' type
> imm_import.cc:2006: error: integer constant is
                  too large for 'long' type
> make[6]: *** [immcfg-imm_import.o] Error 1
> make[6]: Leaving directory
`/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm/immcfg'
> make[5]: *** [all-recursive] Error 1
> make[5]: Leaving directory
                  
`/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools/safimm'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
                  `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf/tools'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
                  `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0/osaf'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
                  `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
                  `/root/opensaf-staging/rpms/BUILD/opensaf-4.5.M0'
> error: Bad exit status from
                  /root/opensaf-staging/rpms/tmp/rpm-tmp.I2oDaQ (%build)
>
>
> RPM build errors:
>      Bad exit status from
                  /root/opensaf-staging/rpms/tmp/rpm-tmp.I2oDaQ (%build)
> make: *** [rpm] Error 1
>
>
================================================================================================
>  
> What am i doing wrong ? Please help !
> Thanks in advance.
>
------------------------------------------------------------------------------
> _______________________________________________
> Opensaf-devel mailing list
> Opensaf-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensaf-devel 
------------------------------------------------------------------------------
_______________________________________________
Opensaf-devel mailing list
Opensaf-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensaf-devel

Reply via email to