Installing IDL 6.1 on debian linux [message #44883] |
Mon, 25 July 2005 13:25  |
Mathieu Malaterre
Messages: 32 Registered: July 2005
|
Member |
|
|
Hello,
I am in the process of installing IDL on a debian/GNU Linux system. I
solved to problem reported here:
http://groups-beta.google.com/group/comp.lang.idl-pvwave/msg /f146fc9bb5645d04
By copying the entire cdrom into /tmp/ then executing xinstall.sh from
/tmp.
But now I cannot get the license to be read properly:
$ idl
IDL Version 6.1 (linux
x86 m32). (c) 2004, Research Systems, Inc.
% LICENSE MANAGER: Server node is down or not responding
See the system adminstrator about starting the server, or
make sure the you're referring to the right host (see LM_LICENSE_FILE)
Feature: idl
Hostname: UNUSED
License path: /opt/rsi/idl_6.1/../license/license.dat:/opt/rsi/license -
/*.lic
FLEXlm error: -96,7. System Error: 2 "No such file or directory"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com"..
License file:
/opt/rsi/idl_6.1/../license/license.dat:/opt/rsi/license/*.l ic
If I do a :
$ ls -al /opt/rsi/idl_6.1/../license/license.dat
-rw-r--r-- 1 mathieu
mathieu 738 2005-07-25 16:11 /opt/rsi/idl_6.1/../license/license.dat
so the file is there.
How does one start this 'LICENSE MANAGER' thing ?
Thanks,
Mathieu
Ps: the path where hardcoded to /usr/local so I manually changed them to
/opt/.
|
|
|
Re: Installing IDL 6.1 on debian linux [message #44967 is a reply to message #44883] |
Thu, 28 July 2005 08:54  |
Nigel Wade
Messages: 286 Registered: March 1998
|
Senior Member |
|
|
Mathieu Malaterre wrote:
> Nigel Wade wrote:
>> Mathieu Malaterre wrote:
>> ater.
>>
>>> Well I tried again multiple times cannot get passed this damned license
>>> thing. I switched to a win32 box and after a few tries I got it
working...
>>>
>>> Mathieu
>>
>>
>> Did you bother to read the "Installing and Licensing IDL" manual, which
>> tells you exactly how to do this?
>>
>
> I spent 2 days working on that. This is completely pure waste on time.
>
> 1. Even executing xinstall.sh does not work unless you copy the cdrom
> tree to another directory
Others have dealt with this.
>
> 2. Installation lets you install anywhere you want for idl, but the
> license has a hardcoded /usr/local (even if you can manually change this
> path, this does not look safe or intuitive)
Possibly covered in the section "Modifying the License File". What problem
did you encounter which this section didn't cover?
>
> 3. The license manager thing is installed in a redhat manner which is
> completely different from debian, and there is not a chance this will
> work out of the box, so *yes* I have to start lmgrd manually.
How about the section "Starting the License Manager" and the sub-section
"Linux" where it tells you how to start the license manager and how to
configure it to start at boot time? Did you try this, and in what way did
it fail?
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@ion.le.ac.uk
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
|
|
|
Re: Installing IDL 6.1 on debian linux [message #44969 is a reply to message #44883] |
Thu, 28 July 2005 08:00  |
Foldy Lajos
Messages: 268 Registered: October 2001
|
Senior Member |
|
|
Hi Mathieu,
On Thu, 28 Jul 2005, Mathieu Malaterre wrote:
> 1. Even executing xinstall.sh does not work unless you copy the cdrom
> tree to another directory
if you mount the cdrom through a desktop icon, the underlying mount
command usually has the noexec flag, so xinstall.sh will not run.
solution: (from SuSE experience, but may be relevant to Debian, too):
- use 'source xinstall.sh' (tcsh) or '. xinstall.sh' (bash)
this will not run xinstall.sh directly, but asks the shell to run it
or
- mount manually the CD (as root), eg. mount /dev/cdrom /mnt, then
/mnt/xinstall.sh should run
regards,
lajos
|
|
|
Re: Installing IDL 6.1 on debian linux [message #44970 is a reply to message #44883] |
Thu, 28 July 2005 07:56  |
Michael Wallace
Messages: 409 Registered: December 2003
|
Senior Member |
|
|
> I spent 2 days working on that. This is completely pure waste on time.
You are aware that Debian is NOT an officially supported platform?
Remember that when you try to branch out to something unsupported there
will be most likely be little gotchas and maybe big problems along the
way. And also remember that most of us use one of the supported
platforms, so the help we can give is limited.
> 1. Even executing xinstall.sh does not work unless you copy the cdrom
> tree to another directory
This is a Debian issue. I believe that you simply don't have the
correct permissions on the directory where the CD is mounted.
> 2. Installation lets you install anywhere you want for idl, but the
> license has a hardcoded /usr/local (even if you can manually change this
> path, this does not look safe or intuitive)
What specifically are you referring to? The DAEMON line of the license
file? If so, the path on that line is simply the full path to the IDL
binary directory. You can freely change that path to wherever that
directory is.
> 3. The license manager thing is installed in a redhat manner which is
> completely different from debian, and there is not a chance this will
> work out of the box, so *yes* I have to start lmgrd manually.
There is a script that comes with IDL that will start up the license
manager. You will need to manually add the script to your boot up
programs (the Debian equivalent of Redhat's init.d directories).
Finally, you will need to edit the script if IDL is not installed under
/usr/local as you seem to imply.
-Mike
|
|
|
Re: Installing IDL 6.1 on debian linux [message #44971 is a reply to message #44883] |
Thu, 28 July 2005 07:16  |
Mathieu Malaterre
Messages: 32 Registered: July 2005
|
Member |
|
|
Nigel Wade wrote:
> Mathieu Malaterre wrote:
> ater.
>
>> Well I tried again multiple times cannot get passed this damned license
>> thing. I switched to a win32 box and after a few tries I got it working...
>>
>> Mathieu
>
>
> Did you bother to read the "Installing and Licensing IDL" manual, which
> tells you exactly how to do this?
>
I spent 2 days working on that. This is completely pure waste on time.
1. Even executing xinstall.sh does not work unless you copy the cdrom
tree to another directory
2. Installation lets you install anywhere you want for idl, but the
license has a hardcoded /usr/local (even if you can manually change this
path, this does not look safe or intuitive)
3. The license manager thing is installed in a redhat manner which is
completely different from debian, and there is not a chance this will
work out of the box, so *yes* I have to start lmgrd manually.
I always send the log output of my problems, and no I am not making up
anything just to complain.
Mathieu
|
|
|