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

Home » Public Forums » archive » Re: LINUX IDL Install Help
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: LINUX IDL Install Help [message #49409 is a reply to message #49399] Sun, 23 July 2006 16:11 Go to previous messageGo to previous message
swingnut is currently offline  swingnut
Messages: 30
Registered: September 2005
Member
I looked into this a back when I first installed Ubuntu; sounds like
it's trying to do a Red Hat install, whereas you want a Debian (enough
locations are different that like can be a pain). From
http://astro.berkeley.edu/~robishaw/comp/idl.html, here is a list of
things to change:


Installing IDL on my Debian laptop was a pain because the IDL install
software assumes Redhat Linux. Lame. So here's what needed changing.

First, change the lmgrd_install script in your /usr/local/rsi/idl/bin
directory (or wherever the hell you've put it... this is the default
location). Go down to the "Linux") option in the case statement and
comment out the junk they've put there and stick the stuff below in...


# THIS ASSUMES WE'RE USING RED HAT...
# RED HAT RUN LEVELS ARE STORED IN /etc/rc.d/rc[0-6].d/
# DEBIAN RUN LEVELS ARE STORED IN /etc/rc[0-6].d/
#cp sys5_idl_lmgrd /etc/rc.d/init.d
cp sys5_idl_lmgrd /etc/init.d
# if [ -f /etc/rc3.d/S99sys5_idl_lmgrd ]; then
# rm -f /etc/rc3.d/S99sys5_idl_lmgrd
# fi
# if [ -f /etc/rc4.d/S99sys5_idl_lmgrd ]; then
# rm -f /etc/rc4.d/S99sys5_idl_lmgrd
# fi
# if [ -f /etc/rc5.d/S99sys5_idl_lmgrd ]; then
# rm -f /etc/rc5.d/S99sys5_idl_lmgrd
# fi
# if [ -f /etc/rc0.d/K01sys5_idl_lmgrd ]; then
# rm -f /etc/rc0.d/K01sys5_idl_lmgrd
# fi
# ln -s /etc/rc.d/init.d/sys5_idl_lmgrd /etc/rc3.d/S99sys5_idl_lmgrd
# ln -s /etc/rc.d/init.d/sys5_idl_lmgrd /etc/rc4.d/S99sys5_idl_lmgrd
# ln -s /etc/rc.d/init.d/sys5_idl_lmgrd /etc/rc5.d/S99sys5_idl_lmgrd
# ln -s /etc/rc.d/init.d/sys5_idl_lmgrd /etc/rc0.d/K01sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/rc3.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/rc4.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/rc5.d/S99sys5_idl_lmgrd
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/rc0.d/K01sys5_idl_lmgrd
# I'M GOING TO ADD ONE TO RUN LEVEL 2 TO SEE WHAT HAPPENS...
# AND THIS IS WHAT IT NEEDED... HOURS WASTED...
ln -sf /etc/init.d/sys5_idl_lmgrd /etc/rc2.d/S99sys5_idl_lmgrd


OK, next you need to alter the sys5_idl_lmgrd script in the same
directory. Go
down to the "start") option of the case statement and, as above,
comment out and
add the stuff as below:

# WE DON'T WANT TO RUN THIS AS ROOT... IT'S DANGEROUS...
# "start") $IDL_DIR/bin/lmgrd >> $LOG_FILE_NAME &
"start") su -c "umask 022;$IDL_DIR/bin/lmgrd &"
sleep 5 ;;

Now we can test this by running:

> sudo sys5_idl_lmgrd start

and now try running IDL and see if the license is recognized.


I had to (as root) create a subdirectory /usr/tmp which I just linked
to
/var/tmp...

> sudo ln -s /var/tmp /usr/tmp

Now, it's good to go.

June 2006: One more hitch I discovered... to get the IDL assistant to
work
correctly, I needed to give the user ownership of the directories
~/.assistant and ~/.qt (and the contents of these directories as well).
This fixed my problems.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: plot dirac delta function?
Next Topic: color mis-match between screen and ps (mac os x, tiger 10.4.7)

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

Current Time: Fri Oct 10 20:03:05 PDT 2025

Total time taken to generate the page: 0.56267 seconds