[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Help with compiling X 4.2.0



On Tue, 2002-03-19 at 17:20, Matt Jones wrote:
> I am trying to compile X so that I can use my Geforce2 video card.
> I am running debian 2.2r2 and did a clean install yesterday.
> I put the source code on the drive and began compiling. The make World 
> worked fine, but when I did make Install I recieved the following errors...
> 
> "...
> rm -f gunzip.o
> gcc -c -O2 -fno-strength-reduce  -ansi -pedantic -Wall -Wpointer-arith  
> -I../../../include/fonts -I../include -I../../../programs/Xserver/include 	  
>      -I../../../include  -I../../.. -I../../../exports/include   -Dlinux 
> -D__i386__ -D_POSIX_C_SOURCE=199309L -D_POSIX_SOURCE -D_XOPEN_SOURCE 
> -D_BSD_SOURCE -D_SVID_SOURCE  -D_GNU_SOURCE   -DFUNCPROTO=15 -DNARROWPROTO   
> -DFONTDIRATTRIB 	      -DBUILD_SPEEDO -DBUILD_TYPE1 -DBUILD_CID 	      
> -DBUILD_FREETYPE  
> -DFONT_ENCODINGS_DIRECTORY=\"/usr/X11R6/lib/X11/fonts/encodings/encodings.dir\" 
>                -DX_GZIP_FONT_COMPRESSION   gunzip.c
> gunzip.c:9: zlib.h: No such file or directory
> 
> How can I fix this error, or is it an error I can fix?
> Does anyone know what this means?

The zlib.h file is missing.
[btt]$ dpkg -S zlib.h
xlibs-dev: /usr/X11R6/include/X11/extensions/lbxzlib.h
zlib1g-dev: /usr/include/zlib.h
libbz2-dev: /usr/include/bzlib.h

Try installing the zlib1g-dev package (on Woody it is zlib1g-dev).

Good luck...
Bill




Reply to: