Hello all,
ok, here is the solution that worked, for my case.
Thank you to everybody that brought a piece to this solution! It is
indeed much appreciated! (Brandon, Fernando, JMB, Giorgio, Nigel, Foldy
and a few unnamed Linux posters)
So, the problem was that IDL 7.0.8 + ENVI 4.6.1 would not work on a
Linux box, with a 64 bits processor, running a fresh install of Ubuntu
8.10. The installation seems to be good, but if I type "IDL" in the
terminal, I get a nice error message:
exec: 617: /usr/local/itt/idl708/bin/bin.linux.x86/idl: not found
while the file do exist.
When looking for help online, you will find some comments about
XULRunner. Do not worry, this problem has been fixed in this version.
The first problem is that the IDL run-time script relies on a function
that has been removed from Linux several years ago.
To fix it: create a file on your desktop, name it "arch" (without the
quotation marks.. this is valid for all quotations until the end of this
post). Edit it and write "uname -m" in it. Open a terminal, you should
be on your desktop by default. type "chmod 755 arch". Then, type "sudo
cp arch /bin/", which will copy this file to /bin/arch . Exit.
Type IDL and it should work!
Ok, now, let's try to load the graphical interface (the whole idea of
the Workbench was to have a nice GUI under linux... so let's use it!)
Open the terminal, type "IDLDE"... ahhhh, same error message!!!
Do you have Java? The workbench, that runs Eclipse, is Java based... it
might help to have it installed! Open the Synaptic Package Manager. Type
"java". Be sure to have sun-java6-bin (java5 should also work... I
have both), AND also ia32-sun-java6-bin, AND sun-java6-jre (I would not
put my hand in the fire that the 3 are required, but it works with
them!). Why bothering with the 32 bit version? well, IDL is 64 bits
compatible, but Eclipse is 32 bits... and we need to launch Eclipse first!
Ok, reboot your computer.
Open the terminal, type "IDLDE"... aaahhh, it doesn't tells me that IDL
doesn't exist, great, but it still doesn't work! It tells me, on the
terminal, that the /gio/ library has a problem, and I get a pop-up
windows with lots of other error and messages that a Martian would
understand better.
Ok, the first problem is an easy one... rename /usr/lib/gio/ to anything
else, like /usr/lib/gio_backup/ (you must be sudo to do it)
From an ITTVIS Engineer, it appears that this library is not used, but
no ones understand why it is being called... I hope no other software
uses it! Otherwise, just leave it with its original name and discard the
error message that will appear each time your start IDLDE!
Now, the second problem is a tad more complex. To solve it, I had to
un-install several java related packages. Again, I can be sure that all
the following packages need to be removed, but it worked in my case.
So, open the Synaptic Package Manager and remove
-default-jre
-open-jdk
-cacao
-icedtea
Of course, remove the similar entries, like default-jre and
default-jre-headless.
Type in "IDLDE" in the terminal and... hourra, it is working!!!!
Good luck for your installation!
Jean
Jean H. wrote:
> Hi,
>
> ok, I now have a fresh install of Ubuntu 8.10 (yes, I had a wonderful
> week-end full of recovery disks and tech support phone calls.. arg!)
>
> I downloaded the latest Envi+IDL (4.6 - 7.0.8) and installed it. I got
> no error message, just good messages. Surprisingly, the Installation
> guide talks about selecting a directory, choosing to install the license
> etc, but I had basically no choice (accept or quit). Anyways, I can see
> that all files have been copied, the links have been created. I have
> added the proper line to my .bashrc file...
>
> now, at the command line, whatever I type (idl, idlde, envi,
> ittlicense), I always get the same error:
>
> jean@ubuntu:~$ idl
> exec: 617: /usr/local/itt/idl708/bin/bin.linux.x86/idl: not found
>
> jean@ubuntu:~$ find /usr/local/itt/idl708/bin/bin.linux.x86/idl
> /usr/local/itt/idl708/bin/bin.linux.x86/idl
>
> funny he!
> Does anybody have any idea of what I (or ITT...) could have done wrong?
> If it helps, I am on a 64bits machine..
>
> I came across this link
> https://lists.ubuntu.com/archives/ubuntu-users/2008-October/ 162350.html
> which talk about a(nother) assumption from ITTVIS... though I can figure
> which script should be updated!
>
> Ah, and another thing... though I am not sure if it is abnormal or not
> at this stage: echo $IDL_PATH returns a blank line...
> though echo $IDL_DIR returns the proper path ( /usr/local/itt/idl708 ),
> which shows that the .bashrc configuration went well
>
> Thanks a lot,
> Jean
|