I'm trying to run up ModelSim (a commercial simulator for hardware description languages), which is licensed on FlexLM, using the hard disk number. This program isn't listed in the apps database. I have a valid license, and the Flex tools are correctly identifying, under Wine, that there's a licence and that it's valid. They find the appropriate env variable, identify the license, and then confirm that the license is good. ModelSim has its own license diagnostic utility, and this also manages to find the license, and confirm that it's valid. However, when I run up ModelSim itself, it complains about an invalid license environment. I've got no idea what's going on here; presumably ModelSim is using a different mechanism to communicate with Flex when it runs its license diagnostic, and when it runs the app for real. I've tried running it under strace, but I haven't managed to get any clues on how it communicates with Flex. Any ideas? Are there any known problems with running flex-licensed apps? Thanks.
On Friday September 28 2007 13:42, Paul Jackson wrote:> I'm trying to run up ModelSim (a commercial simulator for hardware > description languages), which is licensed on FlexLM, using the hard disk > number. This program isn't listed in the apps database. > > I have a valid license, and the Flex tools are correctly identifying, > under Wine, that there's a licence and that it's valid. They find the > appropriate env variable, identify the license, and then confirm that > the license is good. ModelSim has its own license diagnostic utility, > and this also manages to find the license, and confirm that it's valid. > > However, when I run up ModelSim itself, it complains about an invalid > license environment. > > I've got no idea what's going on here; presumably ModelSim is using a > different mechanism to communicate with Flex when it runs its license > diagnostic, and when it runs the app for real. I've tried running it > under strace, but I haven't managed to get any clues on how it > communicates with Flex. > > Any ideas? Are there any known problems with running flex-licensed apps?I'm not sure about your app but Maya (with FlexLM) license works fine with WINE. Please note that I didn't test it for a while so I'm not sure about compatibility with current WINE but not so long ago it worked perfectly. So it is possible that this problem is specific for your app. Your really should file a bug report here: http://bugs.winehq.org . By doing so you will help WINE developers fix your bug. Thanks.
What I've found out so far: - modelsim uses vlm.exe for licensing; it doesn't appear to run up lmgrd (confirmed on Windows task manager) - vlm.exe is not used by the license diagnostics tools (Modelsim's 'diagnose' or the lmutil tools) - you can't use a Linux license. The MXE license is special in some way; it only has a single feature line. When lmgrd checks a license on Linux it expects SERVER and DAEMON lines as well - there's a new licensing wizard in the 6.2i download (wizard.exe). This isn't the program that's run on Windows when you do a "Start -> ModelSim -> Licensing Wizard"; that actually runs diagnose.exe. wizard.exe is described as beta, and does nothing on Windows (apart from seeming to leave a zombie hanging around). wizard.exe doesn't like the license file; it appears to be expecting a normal paid-for license. diagnose.exe does like the license file, but that doesn't help. - vlm doesn't give any useful information about why it's quitting, and strace doesn't help. A window does appear to pop up briefly, but there doesn't seem to be a log anywhere. The output message is "Fatal: Invalid license environment. Application closing." 'strings' confirms that this message is in vlm. This message also disappears if vlm is deleted. - vlm.exe can't be run stand-alone; it complains that it has to be started from the sim kernel. - My guess (from 'strings') is that vlm was written by Certicom (www.certicom.com), who do security software. That's it. I'm getting nowhere fast, so I'll give up unless anyone has any bright ideas. It looks like Wine can't run vlm.exe. PJ
The key to getting MXE III's starter version working is to use native msvcrt. (Our fread has a bug in it when reading binary files as ascii, it seems. I'll file a bug soon.) So try wget http://kegel.com/wine/winetricks sh winetricks vcrun6 and then set msvcrt to native in winecfg. Let me know whether that lets you get MXE III's starter edition going. - Dan -- Wine for Windows ISVs: http://kegel.com/wine/isv
On 03/10/2007, Paul Jackson <sa212+wine at cyconix.com> wrote:> Dan Kegel wrote:> > The key to getting MXE III's starter version > > working is to use native msvcrt. (Our fread > > has a bug in it when reading binary files > > as ascii, it seems. I'll file a bug soon.) So try > > wget http://kegel.com/wine/winetricks > > sh winetricks vcrun6 > > and then set msvcrt to native in winecfg. > > Let me know whether that lets you get MXE III's > > starter edition going.> You're a star, Dan; it works. > I should write up some details on getting it running, but I've got some > concerns on legality. I guess the only dubious step is that I supplied a > drive ID when requesting a license, and set my Wine drive ID to that > number. I guess that someone could complain that this is against the > spirit (or the letter?) of the license agreement. On the other hand, if > I'd set Wine's ID first, and then requested a license for that ID, that > seems perfectly kosher to me. > Any thoughts, anyone?If really in doubt, ask the company "Do you want me to trial your lovely software, or not?" - d.
Hi, I have just managed to get Modelsim XE III 6.0a (starter) to work under wine on Ubuntu 7.10. After talking to the very helpful support engineer at Modelsim the problem seemed to be linked to a bug in my version of wine's implementation of wtsapi.dll. I upgraded wine on my system to the latest version and it works fine now. Chris