On Monday 29 April 2002 20:02, Peter Revill wrote:

> hi, im having a few problems installing GD, ill start from the top:
> I need Jpeg support in my PHP installation, and unfortunatly, GD (the
> verison i have) does not support them, so i figure, ill install it,
> installing the libary jpeg-6b works easily
> however, i attempt to compile from there GD, but the following error is
> produced:

It's usually a good idea to state what kind of setup you have (OS, version 

> [root gd-1.8.4]# make
> gcc -I. -I/usr/include/freetype2 -I/usr/include/X11
> -I/usr/X11R6/include/X11 -I/usr/local/include     -c -o gd_gd2.o gd_gd2.c
> In file included from /usr/include/errno.h:36,
>                from gd_gd2.c:14:
> /usr/include/bits/errno.h:25: linux/errno.h: No such file or directory
> make: *** [gd_gd2.o] Error 1

Have you checked that you have the file "linux/errno.h" anywhere in your 

On my RH7.1 system, 


is provided by kernel-headers, so if don't have it and you're using RH, 
install kernel-headers. If you're using something else check with your distro 

Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

        "That unit is a woman."
        "A mass of conflicting impulses."
                -- Spock and Nomad, "The Changeling", stardate 3541.9

PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to