IDLDE on RHEL6

From Kyle's Wiki
Jump to: navigation, search

IDLDE (IDL Development Editor) allows IDL users to have an IDE to develop their IDL applications. But it is compiled against RHEL4 libraries and doesn't quite work on RHEL6 without some effort.

Contents

RHEL6 Install Instructions

Get the needed packages from yum:

#For a 64 bit environment, grab both 32 bit libraries too
yum install libcanberra-gtk2 libcanberra-gtk2.i686 gtk2-engines.i686 gtk2-engines

Now you need to follow the instructions for dropping in the RHEL4 Libstdc++ libraries in the IDL binary directories documented here: http://www.ittvis.com/services/techtip.asp?ttid=4576

#Find these RPMS on pbone if you don't try my mirrors:
# http://rpm.pbone.net/index.php3/stat/4/idpl/13949411/dir/redhat_el_4/com/libstdc++-3.4.6-3.1.x86_64.rpm.html
cd /tmp
wget http://download.xkyle.com/rpm/libstdc++-3.4.6-3.1.i386.rpm
rpm2cpio libstdc++-3.4.6-3.1.i386.rpm | cpio -idv
cp /tmp/usr/lib/ YOURPATH/idl80/bin/bin.linux.x86/

#now for 64 bit libs
wget http://download.xkyle.com/rpm/libstdc++-3.4.6-3.1.x86_64.rpm
rpm2cpio libstdc++-3.4.6-3.1.x86_64.rpm | cpio -idv
cp /tmp/usr/lib64/ YOURPATH/idl80/bin/bin.linux.x86_64/

#cleanup, carefully
rm -rf /tmp/usr/

Error Messages For Search Engines

Too new libstdc++

# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0xa8815b48, pid=12181, tid=4137798512
#
# JRE version: 6.0_17-b04
# Java VM: Java HotSpot(TM) Server VM (14.3-b01 mixed mode linux-x86 )
# Problematic frame:
# C  [libidl.so.8.0+0x540b48]  inflate_fast+0xa0
#

This means that you didn't get the RHEL4 libstdc++ libs as documented above.

Strange "clearlooks" errors

Gtk-WARNING **: Unable to locate theme engine in module_path: "clearlooks"

This means that you did not install the gtk2-engines.i686 and gtk2-engines packages. They contain the clearlooks theme engines (especially for the 32bit version of IDL)

Missing libcanberra

libcanberra-gtk-module.so: cannot open shared object file: No such file or directory

This means you didn't install the libcanberra-gtk2 and libcanberra-gtk2.i686. (Also you could type in "yum install libcanberra-gtk-module.so" to be fancy)

Personal tools
Namespaces

Variants
Actions
Efforts
Toolbox
Meta