[Pkg-corba-devel] OpenCASCADE and Salomé

Adam C Powell IV hazelsct at debian.org
Fri Feb 29 16:04:33 UTC 2008

Hello Thomas,

On Fri, 2008-02-29 at 09:23 +0100, Thomas Girard wrote:
> 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()}.

Okay, did that, and it gets past the last error.  Great!

Now there's a new one, six "no match for 'operator>>='" errors, each
followed by over 300 CORBA-related candidates...  I don't quite see how
to do this; is it apparent to an omniORB expert?

I've posted the new -5 .diff.gz (with patch at the top) and .dsc, the
(truncated) log (search for "error:"), and the preprocessor output
NOTIFICATION_Consumer.E at http://lyre.mit.edu/~powell/salome/

> 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?

Wow, thanks for putting in the hard work to help with this!!

Actually, if you look at your log, it failed well before getting to that
point, so it didn't build the SMESH library.  I need to get the build to
actually stop when it fails during the "for ... $(MAKE) ... done" loop
in rules...

Thank you again,
GPG fingerprint: D54D 1AEE B11C CE9B A02B  C5DD 526F 01E8 564E E4B6

Engineering consulting with open source tools

More information about the Pkg-corba-devel mailing list