[CentOS] which gcc package?

Michael Klinosky mpk2 at enter.net
Sun May 9 15:48:53 UTC 2010


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.




More information about the CentOS mailing list