[ome-users] Building OmeroCpp
Mario Valle
mvalle at cscs.ch
Tue Mar 31 16:37:42 BST 2009
An update.
The problem seems to manifest in the file
components/antlib/resources/global.xml at line 63:
<condition property="ice.home" value="${env.ICE_HOME}">
<isset property="env.ICE_HOME"/>
</condition>
here the property "ice.home" has always the value: /usr/share/Ice
even if the ICE_HOME environment variable, and as a consequence the property env.ICE_HOME,
is set to: "/Users/mvalle/Ice-3.3.0/cpp".
To continue OmeroCpp build (not yet finished, but seems to work correctly)
I changed the line:
<env key="ICE_HOME" value="${ice.home}"/>
to:
<env key="ICE_HOME" value="/Users/mvalle/Ice-3.3.0/cpp"/>
in the "scons_py" macro.
Any idea?
mario
Mario Valle wrote:
> As usual :-) I'm trying to build OmeroCpp.
>
> I have done:
> cd omero-4.0; ./build.py build-cpp
>
> It works for a while, then stops with:
>
> tools-init:
> Copying 253 files to /omero-4.0/components/tools/OmeroCpp/target
>
> build:
> /omero-4.0/target/scons/scons-local-1.1.0/SCons/Platform/posix.py:38: DeprecationWarning:
> The popen2 module is deprecated. Use the subprocess module.
> import popen2
> /omero-4.0/target/scons/scons-local-1.1.0/SCons/Tool/msvs.py:37: DeprecationWarning: the
> md5 module is deprecated; use hashlib instead
> import md5
> Ice/Ice.h not found
>
> I tried to:
> 1) define ICE_HOME to {ice_top_dir}
> 2) define ICE_HOME to {ice_top_dir}/cpp
> 3) run bin/omero config set ice.home {ice_top_dir}/cpp
> 4) create dist/etc/local.properties with the single line
> ice.home={ice_top_dir}/cpp
>
> But the build process tries always to find Ice includes under /usr/share/Ice/include
>
> Any idea? Afterwards I can contribute with the OmeroCpp build instructions...
>
> Ciao!
> mario
>
--
Ing. Mario Valle
Data Analysis and Visualization Group | http://www.cscs.ch/~mvalle
Swiss National Supercomputing Centre (CSCS) | Tel: +41 (91) 610.82.60
v. Cantonale Galleria 2, 6928 Manno, Switzerland | Fax: +41 (91) 610.82.82
More information about the ome-users
mailing list