Re: missing header files

Philippe Ribet <[email protected]> Tue, 19 Dec 2006 21:32:38 +0100
Newsgroups gmane.comp.lang.eiffel.smalleiffel
Message-ID <[email protected]>
Pierre-Nicolas Clauss wrote:

>Hello,
>
>Check that the packages "libx11-dev" and "x11proto-core-dev" are
>installed on your system. They contain your missing files and you'll
>need them to compile Vision programs.
>
>pini.
>
>On Tue 19/12/2006 19:13, [email protected] wrote :
>  
>
>>Hello,
>>when using lib/vision I get this error message from the compiler:
>>...
>>In file included from main4.c:17:
>>main.h:1345:24: error: X11/Xlib.h: Datei oder Verzeichnis nicht gefunden
>>main.h:1346:25: error: X11/Xutil.h: Datei oder Verzeichnis nicht gefunden
>>main.h:1347:25: error: X11/Xatom.h: Datei oder Verzeichnis nicht gefunden
>>...
>>I'm using SmartEiffel 2.3 beta#1 on an up-to-date Debian-machine.
>>Can somebody, please, give me a hint what debian-package is missing on my
>>box and where I might get it?
>>
>>Best regards, Herwig Meyer
>>    
>>
>
>  
>
The general answer is to use this tool:
http://www.debian.org/distrib/packages.en.html

Just give the file name in the last search area (go down to the end of 
the page) and you'll get packages providing the file.

Ex: 
http://packages.debian.org/cgi-bin/search_contents.pl?word=X11%2FXlib.h&searchmode=searchfiles&case=insensitive&version=stable&arch=i386

-- 
Philippe Ribet



                         The README file said
              "Requires Windows 95, NT 4.0, or better."
                    So... I installed it on Linux!