[CentOS] Where to find Intrinsic.h and xlib.h

Wed Mar 17 22:29:46 UTC 2010
brick <brickflying at gmail.com>

Hi

When I install NCL on my system. There are many error about X11 appeared.
Such like:

xdevice.c(40): catastrophic error: could not open source file "X11/Xlib.h"
rasdraw.c(30): catastrophic error: could not open source file
"X11/Intrinsic.h"
w_idt.c(26): catastrophic error: could not open source file
"X11/Intrinsic.h"
X11_class0.c(39): catastrophic error: could not open source file
"X11/Xlib.h"
ld: cannot find -lXpm
.......

I search for these two file by 'locate'. Only find them:
/usr/include/xulrunner-sdk-1.9/system_wrappers/X11/Intrinsic.h
/usr/include/xulrunner-sdk-1.9/system_wrappers/X11/Xlib.h
And there are nothingin these two files. :
Xlib.h:
#pragma GCC system_header
#pragma GCC visibility push(default)
#include_next <X11/Xlib.h>
#pragma GCC visibility pop

Intrinsic.h
#pragma GCC system_header
#pragma GCC visibility push(default)
#include_next <X11/Intrinsic.h>
#pragma GCC visibility pop

Them I install libX11-devel and reinstall xorg-x11-proto-devel. But still
can't find Xlib.h and Intrinsic.h
Does anybody know the reason?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100317/0c7da161/attachment-0004.html>