Sponsored Content
Operating Systems Linux Red Hat I am getting below error while trying to install Oracle 12c release 2 on rhel 7 Post 302999696 by balasahu on Monday 26th of June 2017 12:22:19 PM
Old 06-26-2017
I am getting below error while trying to install Oracle 12c release 2 on rhel 7

Hi,

I am getting below error while trying to install oracle 12c release 2 on rhel 7.

Code:
[oracle@oracledb database]$ ./runInstaller 
Starting Oracle Universal Installer...

Checking Temp space: must be greater than 500 MB.   Actual 10828 MB    Passed
Checking swap space: must be greater than 150 MB.   Actual 2559 MB    Passed
Checking monitor: must be configured to display at least 256 colors
    >>> Could not execute auto check for display colors using command /usr/bin/xdpyinfo. Check if the DISPLAY variable is set.    Failed <<<<

Some requirement checks failed. You must fulfill these requirements before

continuing with the installation,

Continue? (y/n) [n] y


Last edited by Scrutinizer; 06-26-2017 at 01:30 PM.. Reason: ICODE -> CODE tags
 

4 More Discussions You Might Find Interesting

1. HP-UX

Oracle 9i install: Error in invoking target install of makefile

I receive an error while installing Oracle 9i: Error in invoking target install of makefile /opt/oracle/product/9.2.0/sqlplus/lib/ins_sqlplus.mk Furthermore: $ whoami oracle $ echo $ORACLE_HOME /opt/oracle/product/9.2.0 $ pwd /opt/oracle/product/9.2.0/sqlplus/lib $ ll total... (5 Replies)
Discussion started by: chris2005
5 Replies

2. Red Hat

Error throwing while installing vsftpd package in rhel 6. using rhel 6 dvd.

Hi all, Im studying rhcsa as of now, so yum installation and dependencies are messing me to not workit out. i have dual os, win 7 & rhel 6. i have tried this installation of vsftpd package with rhel 6 dvd in VM rhel 6 in win 7 as well as host rhel 6.still the same issue. below error... (6 Replies)
Discussion started by: redhatlbug
6 Replies

3. UNIX for Dummies Questions & Answers

Oracle 12c installer - error "DISPLAY not set"

Good evening to all! :-) Need some help from experinced Oracle users. I am trying to install Oracle 12c to Redhat. sudo -u oracle ./runInstaller But installer answered me: Could not execute auto check for display colors using command /usr/X11R6/bin/xdpyinfo. Check if the DISPLAY... (5 Replies)
Discussion started by: scj2012
5 Replies

4. Red Hat

Is it possible to install RHEL 7 on top of RHEL 6?

Hi We have RHEL 6.7 on an HP physical server and want to install RHEL 7 (not upgrade) on top of it by means of virtualization. Is it possible to install/configure RHEV/KVM virtualization on base RHEL 6.7 OS instance and then install RHEL 7 as a VM guest on it? If yes, could you please guide me... (1 Reply)
Discussion started by: magnus29
1 Replies
SDL_SetColors(3)						 SDL API Reference						  SDL_SetColors(3)

NAME
SDL_SetColors- Sets a portion of the colormap for the given 8-bit surface. SYNOPSIS
#include "SDL.h" int SDL_SetColors(SDL_Surface *surface, SDL_Color *colors, int firstcolor, int ncolors); DESCRIPTION
Sets a portion of the colormap for the given 8-bit surface. When surface is the surface associated with the current display, the display colormap will be updated with the requested colors. If SDL_HWPALETTE was set in SDL_SetVideoMode flags, SDL_SetColors will always return 1, and the palette is guaranteed to be set the way you desire, even if the window colormap has to be warped or run under emulation. The color components of a SDL_Color structure are 8-bits in size, giving you a total of 256^3 =16777216 colors. Palettized (8-bit) screen surfaces with the SDL_HWPALETTE flag have two palettes, a logical palette that is used for mapping blits to/from the surface and a physical palette (that determines how the hardware will map the colors to the display). SDL_SetColors modifies both pal- ettes (if present), and is equivalent to calling SDL_SetPalette with the flags set to (SDL_LOGPAL | SDL_PHYSPAL). RETURN VALUE
If surface is not a palettized surface, this function does nothing, returning 0. If all of the colors were set as passed to SDL_SetColors, it will return 1. If not all the color entries were set exactly as given, it will return 0, and you should look at the surface palette to determine the actual color palette. EXAMPLE
/* Create a display surface with a grayscale palette */ SDL_Surface *screen; SDL_Color colors[256]; int i; . . . /* Fill colors with color information */ for(i=0;i<256;i++){ colors[i].r=i; colors[i].g=i; colors[i].b=i; } /* Create display */ screen=SDL_SetVideoMode(640, 480, 8, SDL_HWPALETTE); if(!screen){ printf("Couldn't set video mode: %s ", SDL_GetError()); exit(-1); } /* Set palette */ SDL_SetColors(screen, colors, 0, 256); . . . . SEE ALSO
SDL_Color SDL_Surface, SDL_SetPalette, SDL_SetVideoMode SDL
Tue 11 Sep 2001, 23:01 SDL_SetColors(3)
All times are GMT -4. The time now is 08:52 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy