[ome-users] [ome-devel] OMERO build on Ubuntu 9.04
Mario Valle
mvalle at cscs.ch
Mon May 4 10:43:04 BST 2009
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
>
--
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