[ome-users] omero installation error

Josh Moore josh at glencoesoftware.com
Fri Sep 21 15:25:05 BST 2012


On Sep 21, 2012, at 4:17 PM, Oscar wrote:

> I did the exact command `brew --prefix ice`/bin/slicejava --version, it
> said: -bash: /usr/local/Cellar/ice/3.4.2/bin/slicejava: No such file or
> directory
> 
> I do not understand why it points to Cellar while Ice is installed under
> /usr/share/Ice-3.4.1 by default.
> 
> Then I tried "/usr/share/Ice-3.4.1/bin/slice2java --version" still nothing,
> but gave me this error:
> 
> dyld: Library not loaded: /opt/Ice-3.4/lib/libSlice.34.dylib
>  Referenced from: /usr/share/Ice-3.4.1/bin/slice2java
>  Reason: image not found
> Trace/BPT trap: 5

Ah, ok. If you've installed Ice under /usr/share/Ice-3.4.1 (which doesn't belong to homebrew), then you'll need to set PATH and DYLD_LIBRARY_PATH to point at bin and lib, respectively, to get Ice running. This is what is described in the README under Ice-3.4.1.

Cheers,
~Josh.


> On Fri, Sep 21, 2012 at 9:11 AM, Josh Moore <josh at glencoesoftware.com>wrote:
> 
>> 
>> On Sep 21, 2012, at 4:08 PM, Oscar wrote:
>> 
>>> slice2java --version (-version, -v) or even man slice2java gave me
>> nothing,
>>> but it came with Ice-3.4 if that helps.
>> 
>> So until "slice2java --version" works properly the OMERO build can
>> definitely not complete. What's on your $PATH?  Does `brew --prefix
>> ice`/bin/slicejava --version  return anything?
>> 
>> Cheers,
>> ~Josh
>> 
>> 
>>> The link for the walk-thru is:
>>> 
>> http://www.openmicroscopy.org/site/support/omero4/server/install-walkthrough-on-10.7-using-homebrew
>>> 
>>> Thanks
>>> 
>>> On Fri, Sep 21, 2012 at 2:54 AM, Josh Moore <josh at glencoesoftware.com
>>> wrote:
>>> 
>>>> Hi Oscar,
>>>> 
>>>> On Sep 20, 2012, at 11:40 PM, Oscar wrote:
>>>> 
>>>>> I was following the walkthrough of installing Omero with Homebrew on
>> Mac
>>>>> Lion and got stuck at the "brew install omero" step. Got the following
>>>>> error:
>>>> 
>>>> Can you post the link to the walk-through you're using just to make sure
>>>> we're looking at the same version?
>>>> 
>>>>> ==> ./build.py -Dice.home=/usr/local build-default
>>>>> Error getting version for BUILD_NUMBER=
>>>>> Result: 133
>>>>> 
>>>>> BUILD FAILED
>>>>> /private/tmp/brew-omero-4.4.1-gxMx/build.xml:36: The following error
>>>>> occurred while executing this line:
>>>>> 
>>>> 
>> /private/tmp/brew-omero-4.4.1-gxMx/components/antlib/resources/global.xml:310:
>>>>> Cannot find slice2java!
>>>>> 
>>>>> 
>>>> *******************************************************
>>>>>                  Ice is not properly installed. Cannot find slice2java
>>>>> 
>>>> *******************************************************
>>>>> 
>>>>> I did a google search on this matter and found that similar question
>> has
>>>>> been asked in the past. It could be resolved by creating a softlink of
>>>>> slice2java from Ice3.4 directory to /usr/local/bin. Did that but still
>>>> got
>>>>> the same error. Any suggestions?
>>>> 
>>>> 
>>>> What do `slice2java --version` and `which slice2java` say?
>>>> 
>>>> Cheers,
>>>> ~Josh.
>>>> 
>>>> 
>> 
>> 




More information about the ome-users mailing list