comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: HASP/ flexLM licensing conflict
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: HASP/ flexLM licensing conflict [message #27875] Sun, 11 November 2001 23:57 Go to next message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
Rick Towler wrote:
>
> Platform: Windows 2000
> IDL Ver: 5.4 soon to be 5.5
>
> We license IDL by setting the LM_LICENSE_FILE environment variable to the
> port@machine.name where we have our IDL license server (running the FlexLM
> daemon). This is a quick and easy and allows me to only manage license
> files on one machine.
>
> We just purchased a software product that is licensed via HASP + dongle
> (just like IDL has been up to 5.5). Upon installing the HASP driver, IDL
> refuses to connect to the network license manager and only looks for a local
> license file. I ran into this issue before when this same machine was
> upgraded to 5.4 and simultaneously switched from HASP licensing to use a
> network license. The solution (after lots of head scratching) was to remove
> the HASP driver.
>
> Does anybody know of a way to get the HASP driver + IDL + network license to
> coexist in harmony?


Did you set correctly the LM_LICENSE_FILE environment variable.
It must be something like
export LM_LICENSE_FILE=1700@YOURMACHINE

Reimar

>
> I am assuming that the last resort would be to copy the network license file
> to the local machine and configure IDL to use a network license in the pre
> 5.4 manner but that introduces the headache of having to manage license
> files on every machine that has this new software package installed.
> Bugger.
>
> Thanks for any sage advice.
>
> -Rick

--
Reimar Bauer

Institut fuer Stratosphaerische Chemie (ICG-1)
Forschungszentrum Juelich
email: R.Bauer@fz-juelich.de
http://www.fz-juelich.de/icg/icg1/
============================================================ ======
a IDL library at ForschungsZentrum Juelich
http://www.fz-juelich.de/icg/icg1/idl_icglib/idl_lib_intro.h tml

http://www.fz-juelich.de/zb/text/publikation/juel3786.html
============================================================ ======

read something about linux / windows
http://www.suse.de/de/news/hotnews/MS.html
Re: HASP/ flexLM licensing conflict [message #27962 is a reply to message #27875] Mon, 12 November 2001 11:58 Go to previous message
Rick Towler is currently offline  Rick Towler
Messages: 821
Registered: August 1998
Senior Member
> Did you set correctly the LM_LICENSE_FILE environment variable.
> It must be something like
> export LM_LICENSE_FILE=1700@YOURMACHINE


Yes. Everything works fine until you install the HASP driver. Then IDL
ignores the environment variable alltogether and only looks locally for a
license file. If I unistall the HASP driver then IDL works as expected
(finding the license file at port@host).

Although my knowledge of this is quite limited, I suspect that this problem
is a limitation in IDL. With older versions of IDL I seem to remember that
you couldn't just set the LM_LICENSE_FILE variable to port@host to access
the license file from the licensing server and instead you had to install a
copy of your license file on every client. It seems that when started, IDL
looks for the HASP driver and if it is found, it behaves like the older
versions of IDL. At least that is the working theory.

I guess I just have to put up with it until 5.6 when, at least according to
rumor, HASP licensing will be dropped altogether.

-Rick
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: problem with "xloadct"
Next Topic: Divide By Zero error

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 19:36:28 PDT 2025

Total time taken to generate the page: 0.00535 seconds