[CentOS] which gcc package?

Sun May 9 19:09:29 UTC 2010
Robert Heller <heller at deepsoft.com>

At Sun, 09 May 2010 11:48:53 -0400 CentOS mailing list <centos at centos.org> wrote:

> 
> Hakan Koseoglu wrote:
> > Depending on the requirements of the source code you are trying to
> > compile you might have to fetch some development packages for various
> > libraries, for example if it uses ncurses, you will want ncurses-devel
> > package.
> 
> This problem seems (to my semi-newby brain) to be related to X --
> 
> [root at sr1220 plugger-5.1.3]# make
> gcc -c -O2 -Ipluginsdk/include -INONE -DXP_UNIX  -DVERSION=\"5.1.3\"
> -fPIC  -o plugger.o plugger.c
> In file included from plugger.c:43:
> pluginsdk/include/npapi.h:129:22: error: X11/Xlib.h: No such file or
> directory
> In file included from plugger.c:43:
> pluginsdk/include/npapi.h:148: error: expected specifier-qualifier-list
> before Â`Display´
> plugger.c:48:19: error: X11/X.h: No such file or directory
> plugger.c:49:21: error: X11/Xos.h: No such file or directory
> plugger.c:50:27: error: X11/Intrinsic.h: No such file or directory
> plugger.c:51:23: error: X11/Xatom.h: No such file or directory
> plugger.c:76: error: expected specifier-qualifier-list before Â`Display´
> plugger.c: In function Â`my_fork´:
> plugger.c:231: error: Â`struct data´ has no member named Â`flags´
> plugger.c:232: error: Â`struct data´ has no member named Â`display´
> ... and a bunch more errors (which are probably due to these).
> 
> I emailed the coder yesterday - still waiting for a reply.

This should get you all of the X11 header files and link libraries
(probably more than you need):

yum install libX11-devel xorg-x11-proto-devel libXau-devel libXdmcp-devel


> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 
>  
> 

-- 
Robert Heller             -- Get the Deepwoods Software FireFox Toolbar!
Deepwoods Software        -- Linux Installation and Administration
http://www.deepsoft.com/  -- Web Hosting, with CGI and Database
heller at deepsoft.com       -- Contract Programming: C/C++, Tcl/Tk