[ome-users] Good news! OmeroCpp built (but...)

josh.moore at gmx.de josh.moore at gmx.de
Wed Dec 10 13:27:58 GMT 2008


Hey Mario!

Mario Valle writes:
 > At last good news: the compilation of OmeroCpp on Mac OSX succeeded!

Congratulations. You definitely get a prize.

 > (remember, the last roadblock is the missing '/' in the library search path)

Haven't been able to reproduce this. I'll definitely keep trying though.

 > Now I'm trying to run the small test client from: 
 > http://trac.openmicroscopy.org.uk/omero/wiki/OmeroCpp
 > 
 > Beside a Makefile error (OMERO_common library does not exist) it build without problems.

Right. That documentation is still for Beta3. We'll be transitioning
post ASCB in preparation for Beta4.

 > The problem is now with the run:
 > 
 > 1) Seems it is not able to read ../omero/etc/ice.config The error is:
 > error while parsing endpoint `tcp  -p 4063 -h <"omero.host" not set >'
 > but omero.host IS set inside ../omero/etc/ice.config
 > 
 > 2) So I run it as:
 > DYLD_LIBRARY_PATH="$(LIBPATH)" ./client --Ice.Config=../omero/etc/ice.config 
 > --omero.host=localhost --omero.user=yyyy --omero.pass=xxxx
 > 
 > Now the error is:
 > terminate called after throwing an instance of 'Ice::ConnectionRefusedException'
 >    what():  Network.cpp:1218: Ice::ConnectionRefusedException:
 > connection refused: Connection refused
 >
 > Is there any "SetVerbose" or magic env variable to diagnose this problem?
 > The omero server is up and running. Is there any other process necessary? I don't' know 
 > Ice at all, maybe something here is missing.


There are various tracing values that can be turned on for Ice, all of
which can set in your ice.config or on the command-line. For a
listing, see:

http://zeroc.com/doc/Ice-3.3.0/manual/PropRef.46.2.html

To see what properties your client has, you can use "omero.dump":

 DYLD_LIBRARY_PATH="$(LIBPATH)" ./client
 --Ice.Config=../omero/etc/ice.config --omero.dump=1

This may be a problem of relative paths and symlinks which might
_also_ be the problem with the library search path. Very interested to
find that out.

 
 > Thanks for the help!
 > 			mario

Gladly!
~Josh.



More information about the ome-users mailing list