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!
On Wed, Mar 17, 2010 at 05:29:46PM -0500, brick wrote:
When I install NCL on my system. There are many error about X11 appeared.
yum whatprovides '*Xlib.h'
On my C5 system it includes:
libX11-devel-1.0.3-11.el5.i386 : X.Org X11 libX11 development package Repo : c5-local Matched from: Filename : /usr/include/X11/Xlib.h
Similarly: libXt-devel-1.0.2-3.1.fc6.i386 : X.Org X11 libXt development package Repo : c5-local Matched from: Filename : /usr/include/X11/Intrinsic.h
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?
Install libX11-devel and libXt-devel