[ome-devel] OMERO build on Ubuntu 9.04

Woodbridge, Mark R m.woodbridge at imperial.ac.uk
Mon May 4 16:41:22 BST 2009


Thanks Josh. I wasn't intending to use Python 2.6, but my Ubuntu upgrade installed it and made it the default. Fedora 11 will also ship with Python 2.6, but it seems to build OMERO without any problems, even without your patch.

We'll be using Python 2.5 on our production servers for the foreseeable future.

Mark.



> -----Original Message-----
> From: ome-devel-bounces at lists.openmicroscopy.org.uk [mailto:ome-devel-
> bounces at lists.openmicroscopy.org.uk] On Behalf Of josh.moore at gmx.de
> Sent: 04 May 2009 10:52
> To: Mario Valle
> Cc: ome-devel at lists.openmicroscopy.org.uk
> Subject: Re: [ome-devel] OMERO build on Ubuntu 9.04
> 
> 
> 
> 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.
> _______________________________________________
> ome-devel mailing list
> ome-devel at lists.openmicroscopy.org.uk
> http://lists.openmicroscopy.org.uk/mailman/listinfo/ome-devel


More information about the ome-devel mailing list