Hello Phillip, hello Sean,

thank you very much, for answering the question of --with-gd  -  compiling.

I am not using 4.3 . I did it with php-4.2.3

Did I got it right - to use the bundled-gd I have to use the
compiling-flag:
--enable-gd
??????????

But when I run ./configure --help there isnīt shown any flag --enable-gd
just --enable-gd-native-ttf to use GD: Enable TrueType string function.

Any hints???

Oliver Etzel




To use the bundled gd just do: --enable-gd

Note that 4.3.0 is the first distro that includes a
bundled GD.  Also note that as of 4.3.0 just doing
--with-gd will also use the bundled GD.  Before this,
--with-gd (no directory specified) would look for a
local copy.  That seems odd yes but theory is it
means more people will use the preferred bundled GD
now. To use a non-bundled, you must specify the path
so: --with-gd=/path/to/gd/dir

Note: It's strongly recommended to use the bundled GD.

Regards,
Philip

p.s. 4.3.0-RC3 came out today! :)


On Wed, 11 Dec 2002, Sean Burlington wrote:

> [EMAIL PROTECTED] wrote:
> > Hello list,
> >
> > simple question:
> >
> > Iīve heard that it is possible to compile php with dg-support on two
ways
> > 1) first way: Distribution dependant with the gd-files and libraries,
eg. gd.c, gd.lo, gd.o
> > coming with the distribution of the compiled php-4.x-tarball
> > compiled the follwing way:
> >
> > ./configure ...... --with-gd ....
> >
> >
> > 2) second way: You can compile the newest Distribution from GD, eg.
gd-2.0.8
> >
> > compiling gd-2.0.8 this way
> > ./configure --prefix=/usr/local/gd ...
> > eg. under  /usr/local/gd
> >
> > and the compile php-4.x this way
> > ./configure .... --with-gd=/usr/local ....
> >
> >
>  > Did I got that right ?
>
> almost
>
> I think that the value you use for 'prefix=' on gd should be the same as
> the value for 'with-gd='
>
> and its probably best to install gd in /usr/local so that the libraries
> are in an already known location.
>
> like this
>
> ./configure --prefix=/usr/local
>   eg. under  /usr/local
>
> and the compile php-4.x this way
> ./configure .... --with-gd=/usr/local
>
> if you do this - be aware that you will have two versions of gd
> installed - this shouldn't cause any problems but don't forget you have
> two versions - and if you install more software make sure it finds the
> right version.
>
> - you can always remove the ditro version - but eg rpm may complain
> about dependency problems as it won't know about your /usr/local version.
>
> --
>
> Sean
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>


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


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

Reply via email to