[ome-users] Building openmicroscopy from source
John Webber (NBI)
John.Webber at nbi.ac.uk
Wed Apr 9 09:43:01 BST 2014
Hi Josh,
Thanks for your quick response (as always!).
I was indeed using different shells for these two parts - one a git bash shell and one a visual studios command prompt.
As per your advice below, I have found the path for the git executable and added this to my PATH environment variable. I now get a different, but very similar error:
::::::::::::::::::::::::::::::::::::::::::::::
:: UNRESOLVED DEPENDENCIES ::
::::::::::::::::::::::::::::::::::::::::::::::
:: ome#bio-formats;5.0.1-DEV-ice34: not found
::::::::::::::::::::::::::::::::::::::::::::::
One interesting thing about this issue is that I am expecting to use ice 3.5.1, whereas the error above is for ice34. Do you have any pointers as to how I can correct this issue now?
Thanks
John
-----Original Message-----
From: Josh Moore [mailto:josh at glencoesoftware.com]
Sent: 08 April 2014 20:10
To: John Webber (NBI)
Cc: ome-users at lists.openmicroscopy.org.uk
Subject: Re: [ome-users] Building openmicroscopy from source
On Apr 8, 2014, at 6:24 PM, John Webber (NBI) wrote:
> Hi,
Hi John,
> I'm seeing a strange error when trying to build openmicroscopy from source on Windows:
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> :: UNRESOLVED DEPENDENCIES ::
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> :: ome#bio-formats;UNKNOWN: not found
>
> ::::::::::::::::::::::::::::::::::::::::::::::
>
>
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
> BUILD FAILED
> D:\GitHub\openmicroscopy_v5.0\build.xml:265: The following error
> occurred while executing this line:
> D:\GitHub\openmicroscopy_v5.0\components\antlib\resources\global.xml:4
> 34: The fo llowing error occurred while executing this line:
> D:\GitHub\openmicroscopy_v5.0\components\antlib\resources\lifecycle.xm
> l:62: impo ssible to resolve dependencies:
> resolve failed - see output for details
>
> Total time: 52 seconds
>
> D:\GitHub\openmicroscopy_v5.0>
>
> I have "git cloned" this version of openmicroscopy from as follows:
>
> git clone -branch dev_5_0
> https://github.com/openmicroscopy/openmicroscopy.git openmicroscopy
>
> Following the above, I have also run the following commands:
>
> git submodule init
> git submodule update
Are the two sets of commands (build ... && git ...) run in different shells?
> I then run the following in the following to build openmicroscopy:
>
> set JAVA_HOME=C:\Program Files\Java\jdk1.7.0_51 Set
> ICE_HOME=C:\Program Files (x86)\ZeroC\Ice-3.5.1 Set
> OMERO_HOME=D:\GitHub\openmicroscopy_v5.0
> set PATH=C:\Program Files
> (x86)\ZeroC\Ice-3.5.1\bin\vc100\x64;C:\Program
> Files\Java\jdk1.7.0_51\bin;C:\Python27;%PATH%
Could you also try adding the `git` exe to your %PATH% at this stage and re-launch?
> set ARCH=x64
> set RELEASE=Os
> python build.py clean
> python build.py
> python build.py build-cpp
>
> It is the python build.py which is resulting in the "ome#bio-formats;UNKNOWN: not found" error.
>
> Please can someone point me in the direction of where I am going wrong?
>
> Thanks
> John
Cheers,
~Josh.
More information about the ome-users
mailing list