Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!think.com!mintaka!bloom-beacon!eru!hagbard!sunic!mcsun!unido!laura!tommy!klute From: klute@tommy.informatik.uni-dortmund.de (Rainer Klute) Newsgroups: comp.windows.x Subject: Re: Missing X11 header files! Message-ID: <2972@laura.UUCP> Date: 25 Jan 91 09:57:41 GMT References: <184.279db895@vax1.cc.lehigh.edu> Sender: news@laura.UUCP Reply-To: klute@tommy.informatik.uni-dortmund.de (Rainer Klute) Organization: University of Dortmund, Germany Lines: 30 In article <184.279db895@vax1.cc.lehigh.edu>, lubkt@vax1.cc.lehigh.edu writes: |> Lately, I have realized that building some (at least, five or six) of |> the clients distributed on tape-2 of X11R4 fails because of some |> missing header files. The following error message is generated by |> xfig. Seems to me that these header files should be installed in |> /usr/include/X11, but they are not. Why am I missing these files? |> |> cc -O -I../../../mit -I/usr/new/include -DX11 -target sun4 -c |> addpt.c |> /fig.h: 51: Can't find include file X11/Command.h |> /fig.h: 52: Can't find include file X11/Label.h |> /fig.h: 53: Can't find include file X11/Dialog.h |> /fig.h: 54: Can't find include file X11/Box.h |> /fig.h: 55: Can't find include file X11/Form.h |> *** Error code 2 |> make: Fatal error: Command failed for target `addpt.o' You try to compile an application written for X11R3 under X11R4. The general strategy to solve the problem is: 1. Try to get a newer version of the software. 2. If 1. failes replace e. g. "#include " by "#include " This worked for me. -- Dipl.-Inform. Rainer Klute klute@irb.informatik.uni-dortmund.de Univ. Dortmund, IRB klute@unido.uucp, klute@unido.bitnet Postfach 500500 |)|/ Tel.: +49 231 755-4663 D-4600 Dortmund 50 |\|\ Fax : +49 231 755-2386