NSF Unidata

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 2000128: Color tables in Motif 2.1 on SunOS5

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.



FYI, this problem was fixed on the Ultra 10 by the command m64config -depth
8. Thanx for the lead.

At 11:41 AM 1/28/00 -0700, you wrote:
>>From: Bob Lane <address@hidden>
>>Organization: .
>>Keywords: 200001281618.JAA09196
>
>>I have built GEMPAK on an Ultra 10 that is running Motif 2.1 I get the
>>following error message.
>>
>>GEMPLT -46 NCLRAL - Can not allocate read/write colors
>>
>>and have tried the normal method of reducing the allocation of color tables
>>to other applications. If I run any GEMPAK program on an AIX machine
>>running Motif 1.2 as a remote terminal things work fine. 
>>
>>In the course of building GEMPAK, I've had to fix several #if errors
>>related to XmVersion and XmRelease as the c compiler wanted the directives
>>in column 1. The routines I fixed were:
>>nxmColrp.c
>>nxmLabel.c
>>nxmBxmBtn.c
>>nmap_mbotw.c
>>nmap_mmenuw.c
>>
>
>
>Bob,
>
>You need to have the default depth of your X server set to 8 bits.
>Gemnpak is not capable of displaying to a truecolor visual.
>
>Check your output from "xdpyinfo" and look for
>the default visual ID. You will need to configure your X server to
>ensure that this is a pseudocolor 8 bit default visual.
>
>Steve Chiswell
>**************************************************************************** <
>Unidata User Support                                    UCAR Unidata Program <
>(303)497-8644                                                  P.O. Box 3000 <
>address@hidden                                   Boulder, CO 80307 <
>---------------------------------------------------------------------------- <
>Unidata WWW Service                        http://www.unidata.ucar.edu/      <
>**************************************************************************** <