[Pkg-corba-devel] OpenCASCADE and Salomé

Thomas Girard thomas.g.girard at free.fr
Fri Feb 29 08:23:51 UTC 2008


Hello Adam,

On Wed, Feb 27, 2008 at 12:29:11PM -0500, Adam C Powell IV wrote:
> > So the following pipeline (modifying Salomé files, beware!), run from
> > Salomé toplevel directory, should work:
> >   find -type f -print0 | xargs -0 grep RefCountServantBase | cut -d: -f1 |
> >     sort | uniq | xargs sed -i -e 's/RefCountServantBase/ServantBase/g'
> > 
> > Could you please try to compile this modified Salomé with omniORB 4.1 from
> > unstable, and report if it succeeds?
> 
> Thanks for your help!  Unfortunately, it did not work. :-(

Okay, my mistake. In fact for inheritance there's no need to add
PortableServer::ServantBase, as it's already inherited from by the
POA_XXX generated skeleton.

So I think what needs to be done for porting Salomé to omniORB 4.1 is:
 * when a class declaration inherits from POA_XXX and
   RefCountServantBase, remove RefCountServantBase.
 * calls to RefCountServantBase::{_add_ref(),_remove_ref()} have to be
   replaced with ServantBase::{_add_ref(),_remove_ref()}.

I am willing to help you with this, and tried to compile Salomé on my
system but got blocked before the step you reached. When compiling
NETGENPlugin, I get:

  /usr/bin/ld: cannot find -lSMESHimpl

I have regenerated and installed OpenCASCADE 6.2.0-7 and recompiled
hdf5 1.6.5-5.2 with your patch for OpenMPI on top of it.

Do you know what's wrong in my local installation?

Thanks,
Regards,

Thomas



More information about the Pkg-corba-devel mailing list