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

Home » Public Forums » archive » Error: X does not support locale C.
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: Error: X does not support locale C. [message #54715 is a reply to message #54494] Tue, 10 July 2007 01:48 Go to previous message
Luis Hector Peraza is currently offline  Luis Hector Peraza
Messages: 1
Registered: July 2007
Junior Member
On Jun 19, 5:37 pm, cantr...@chara.gsu.edu wrote:
> I have a FC5 machine with IDL Version 5.5a. When I try and run the
> help, it does not work.
>
> IDL> ?
> IDL> Error: X does not support locale C.
>
> I have no idea what could be causing this. Any ideas?
>
> -Justin

Hello Justin,

I recently upgraded my Linux system and ended up with the same
problem.
The newer distribution came with Xorg instead of XFree86, which places
the configuration files into a different directory. The idlhelp
program
apparently searches for the locale.alias and locale.dir files only in
the /usr/X11R6/lib/X11/locale directory, which was missing in the new
distribution. The new location was /usr/share/X11/locale.

To solve the problem, I did the following:

cd /usr/X11R6/lib
ln -s /usr/share/X11 X11

The symbolic link allows idlhelp to find the necessary files. I
suspect
your case is similar, just look first for the X11 locale directory (it
may also be under /usr/share/X11, under /etc/X11, or somewhere else;
use
the find command if necessary), then create the X11 link so it points
to the whole X11 directory.

Additionally, I had to setup the LANG environment variable:

export LANG=en_US.ISO-8859-1

otherwise idlhelp would segfault.

Hope that helps.

Regards,
Hector.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Tab completion of variables and routines at the IDL command line
Next Topic: storing spectra into HDF

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

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

Total time taken to generate the page: 0.47888 seconds