[ome-devel] OMERO build on Ubuntu 9.04

josh.moore at gmx.de josh.moore at gmx.de
Mon May 4 10:52:27 BST 2009



Can't say I understand that, but thanks for the feedback, Mario!

~J.

Mario Valle writes:
 > I run python 2.6.1 on Mac 10.4 PPC without problems.
 > Ciao!
 > 	mario
 > 
 > josh.moore at gmx.de wrote:
 > > Hi again,
 > > 
 > > the problem stems from a change in python 2.6 in which now
 > > build/lib.<platform>-<arch>-<pyversion> is used rather than just
 > > build/lib.
 > > 
 > > I've created a ticket for this:
 > > 
 > >   https://trac.openmicroscopy.org.uk/omero/ticket/1344
 > > 
 > > and it should be fixed in trunk shortly. We'll need to test it there
 > > before backporting it.
 > > 
 > > The change if you want to apply it yourself, Mark, is:
 > > 
 > > diff --git a/components/tools/python.xml b/components/tools/python.xml
 > > index 26b5ed3..ee020f5 100644
 > > --- a/components/tools/python.xml
 > > +++ b/components/tools/python.xml
 > > @@ -27,9 +27,14 @@
 > >      </macrodef>
 > >  
 > >      <target name="python-build" unless="env.NOPYTHON">
 > > -        <mkdir dir="${basedir}/build/lib"/>
 > > +        <property name="py.target" value="${basedir}/build/lib"/>
 > > +        <mkdir dir="${py.target}"/>
 > >          <setup_py>
 > >              <arg value="build"/>
 > > +            <arg value="--build-platlib"/>
 > > +            <arg value="${py.target}"/>
 > > +            <arg value="--build-purelib"/>
 > > +            <arg value="${py.target}"/>
 > >          </setup_py>
 > >          <setup_py>
 > >              <arg value="bdist_egg"/>
 > > 
 > > 
 > > Cheers,
 > > ~Josh.
 > > 
 > > P.S. We haven't yet made a decision to actively support python 2.6. We're
 > > certainly interested in hearing any issues you have and how many 2.6
 > > users there are out there. But having everything in place will take
 > > some time.
 > > 
 > > josh.moore at gmx.de writes:
 > >  > Mark Woodbridge writes:
 > >  >  > Hi,
 > >  > 
 > >  > Hey Mark.
 > >  > 
 > >  >  > ./build.py doesn't seem to work correctly on Ubuntu 9.04 - it completes 
 > >  >  > successfully but doesn't put anything in dist/lib/python except django 
 > >  >  > and omeroweb.
 > >  >  > 
 > >  >  > Ubuntu 9.04 ships with Python 2.6, which may be the cause of the problem.
 > >  > 
 > >  > Thanks for the heads up. We'll be getting VM images for Ubuntu 9.04
 > >  > setup in the next few days and will try it out.
 > >  > 
 > >  >  > Mark.
 > >  > 
 > >  > ~Josh.


More information about the ome-devel mailing list