On Wed, 2002-03-20 at 06: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
> make[4]: *** [gunzip.o] Error 1
> make[4]: Leaving directory `/home/matt/xc/lib/font/fontfile'
> make[3]: *** [fontfile] Error 2
> make[3]: Leaving directory `/home/matt/xc/lib/font'
> make[2]: *** [install] Error 2
> make[2]: Leaving directory `/home/matt/xc/lib'
> make[1]: *** [install] Error 2
> make[1]: Leaving directory `/home/matt/xc'
> make: *** [install] Error 2
> "
> 
> How can I fix this error, or is it an error I can fix?
> Does anyone know what this means?

Install the zlib dev package.

apt-get install zlib1g-dev

All those different dev packages contain the header files (.h) for
developing software (or compiling) for the various libraries.

Kind Regards

Crispin Wellington

Reply via email to