The forum

Errors during Installation of StarUML

newbie alert

Author Replies
bouken Saturday 25 August 2012 at 17:41
boukenAnonymous

Hi

I use archlinux (a newbie to that as well) with the KDE desktop

$uname -a
Linux thinkPhD .4.9-1-ARCH #1 SMP PREEMPT Wed Aug 15 18:59:31 CEST 2012 x86_64 GNU/Linux

$wine --version
wine-1.5.11

$playonlinux --version
PlayOnLinux 4.1.7

Let me start from the beginning.

1. Installed playonlinux through pacman.
2. Started it as a non root user.
3. Began installation of StarUML
4. Below are the errors that I copied from the terminal


---------------------------Terminal-Output--------------------------------------
POL_Wine] Message: Wine return: 0
[POL_Call] Message: ----- Ending function POL_Install_LunaTheme -----
[POL_Download] Message: Downloading http://files.playonlinux.com/staruml-5.0-with-cm.exe
nc: invalid option -- 'q'
Try `nc --help' for more information.

[POL_Download] Message: Download MD5 matches[POL_System_CheckFS] Message: Checking filesystem for staruml-5.0-with-cm.exe
[POL_Wine] Message: Running wine-1.2.3 staruml-5.0-with-cm.exe (Working directory : /home/meenakshi/.PlayOnLinux/wineprefix/StarUml50)
fixme:win:DisableProcessWindowsGhosting : stub
fixme:sfc:SfcIsFileProtected ((nil), L"C:\\\\Program Files\\\\StarUML\\\\unins000.exe") stub
err:module:import_dll Library MFC42.DLL (which is needed by L"C:\\\\Program Files\\\\StarUML\\\\Pgmr101.ocx") not found
---------------------------------------------------------------------------------

The program throws the following error
Unable to register the DLL/OCX: LoadLibrary failed; code 126
Module not found.

---------------------------------------------------------------------------------
5. I tried searching through the installed directory for "nc -q" (the first error) and I ended up with this


$grep "nc -q" * -r
lib/setupwindow.lib:            nc -q -1 "$@" || nc "$@"    

6. I further looked at the help page for netcat and -q is a valid option. This is where I gave up and I decided its time for the experts to step in.


So can anyone please help me out with this.

Regards
Bouken


Quentin PÂRIS Saturday 25 August 2012 at 20:10
Quentin PÂRISAnonymous

nc -q -1 "$@" || nc "$@" is : "Try nc -q, and it doesn't work, just use 'nc'". So, there is no problem with that :)

Does StartUML run or not?
bouken Saturday 25 August 2012 at 20:19
boukenAnonymous

Hi,

thanks that help me get it installed. Now when I run it I get the following on the terminal

----------------------------A Portion of the errors-------------------------
err:ole:create_server class {88d969c0-f192-11d4-a65f-0040963251e5} not registered
err:ole:CoGetClassObject no class object {88d969c0-f192-11d4-a65f-0040963251e5} could be created for context 0x5
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
err:ole:create_server class {88d969c0-f192-11d4-a65f-0040963251e5} not registered
err:ole:CoGetClassObject no class object {88d969c0-f192-11d4-a65f-0040963251e5} could be created for context 0x5
err:ole:apartment_getclassobject DllGetClassObject returned error 0x80040111
err:ole:create_server class {88d969c0-f192-11d4-a65f-0040963251e5} not registered
err:ole:CoGetClassObject no class object {88d969c0-f192-11d4-a65f-0040963251e5} could be created for context 0x5

----------------------------Many other similar errors--------------------------------

But the software does start up. I don't know whether it will have any impact on the operation of the software. I don't have test cases. Can I safely ignore these errors?

regards
Bouken
Quentin PÂRIS Saturday 25 August 2012 at 20:23
Quentin PÂRISAnonymous

Click on Configure -> StartUML -> package -> mfc42
bouken Saturday 25 August 2012 at 20:32
boukenAnonymous

You guys are fabulous. Thanks for guiding me through.

Just to summarize for future reference for others

1. I had to comment the line in lib/setupwindow.lib
nc -q -1 "$@" || nc "$@"    
and had to replace it with
nc "$@"


2. After installation I had to do the following
Configure -> StartUML -> package -> mfc42

Thanks again.

Bouken
Quentin PÂRIS Sunday 26 August 2012 at 0:00
Quentin PÂRISAnonymous

1. I had to comment the line in lib/setupwindow.lib
nc -q -1 "$@" || nc "$@"    
and had to replace it with
nc "$@"

Quote from bouken


Really, that is useless

This site allows content generated by members, and we promptly remove any content that infringes copyright according to our Terms of Service. To report copyright infringement, please send a notice to dmca-notice@playonlinux.com