现在的位置: 首页 > 综合 > 正文

MAC下安装WINE

2013年10月17日 ⁄ 综合 ⁄ 共 2498字 ⁄ 字号 评论关闭

原文地址:http://blog.alvonsi.us/2009/05/13/staruml-on-ubuntu-810/

 

These days I’ve been busy with SRS (Software Requirements
Specfications) of one of application developed at my office. And what’s
keeps bugging me is that I need to put some UML diagrams on that
documents. Yes, I’ve been using Ubuntu for 5 years now, and all that
times I never found one good UML Creator application which is stable
enough and ‘beautiful’ enough (in term of user interface and the
diagram created). I’ve tried to use:

  1. UML plugins on Netbeans, which is not good enough when creating
    partition on Activity Diagram, and YES! It’s so damn heavy, altough Aya
    (my notebooks name) is running on 1.8GHz Proc and 2GB of RAM.
  2. ArgoUML
    .
    This one have a promising future and yes for some people it is more
    than enough. For me actually too IF AND ONLY IF they fix it’s GUI and
    diagram look-and-feel, and fix the export to PNG modules. And yes, it’s
    heavy.
  3. Visual Paradigm CE
    .
    Guys, you have made a good tool, but the size of it … argh! But I’ll
    give a shot one day. Few times ago I already download the Community
    Edition of yours, but it seems the amount of diagrams is limited to
    ONE. Dunno ’bout it now.
  4. BoUML. Just a plain comment, it sucks on it’s GUI.
  5. Umbrello. The same as #4
  6. StarUML
    . Good one and also licenced as Free Software, the bad side is it run only on M$.

Okay, so I decided to run StarUML on top of CrossOver (which is I
get for free sometimes ago, when peoples at CodeWeaver set one day for
a free downloads for all *yay, thanks guys!*). First steps of
instalation process is running well until a warning is showed up

C:/Program Files/StarUML/Pgmr101.ocx
Unable to register the DLL/OCX: LoadLibrary failed; code 126.
Module not found.

There’s an option to Ignore it, and I did. But another problem
arises when I tried to change some component’s name, i.e : Actor’s
name, Class’ name, etc. A pop up always showed and the application is
freezed, which I should reset all the bottles on CXOffice. The pop up
is displaying:

OLE error 80040154

I’ve googlin all over the net and found some solution suggested, one
of it is to install MSXML3/4 and VCRUN6. My first attempt is to find
the DLL on the net and copy them to CXOffice’s System32 directory. I’ve
override the library path from CXOffice to native, and still the bug
arises.

So next attempt is try to use Wine. On this link
I found out about Winetricks
,
small application which could be used to download some library
dependencies on Wine. So, I first removed the StarUML from CXOffice
(which is actually not needed at all, just to freeing-up my space),
download winetricks, and install MSXML4 and CVRUN6 using Winetricks
(remember, install these first before the starUML).

winetricks -v vcrun6

winetricks -v msxml4

And then I installed StarUML. No warning messages arise, and when I
tried to change component’s name, no pop up and freeze arises too. Yay!
Finally …

Hope anyone is helped by this posting. Oh yea, I’m using Ubuntu 8.10, and Wine 1.0.1 (stable release from ubuntu repository).

抱歉!评论已关闭.