Missing header files
Carsten Aulbert
carsten at welcomes-you.com
Thu Apr 12 08:54:54 UTC 2007
Alain Muls wrote:
> Hi,
> I try to compile a program, but the compiler says that header files are
> missing, such as
> X11/Xlib.h
> How can I find out which package to install, so how can I find out to which
> package a certain file belongs.
Install the package apt-file and run "sudo apt-file update" before using
it the first tie (and afterwards from time to time).
The result:
$ apt-file search X11/Xlib.h
ghc6: usr/lib/ghc-6.4.2/imports/Graphics/X11/Xlib.hi
ghc6-libsrc: usr/share/doc/ghc6-libsrc/X11/Graphics/X11/Xlib.hs
hugs: usr/lib/hugs/packages/X11/Graphics/X11/Xlib.hs
ivtools-dev: usr/include/IV-X11/Xlib.h
libx11-dev: usr/include/X11/Xlib.h
tendra: usr/lib/TenDRA/lib/include/x5/lib.api/X11/Xlib.h
i.e. you should install libx11-dev :)
HTH
Carsten
More information about the ubuntu-users
mailing list