Tiny Core Extensions > TCE Q&A Forum

how compile php with GD

(1/2) > >>

q7x:
hi
how we can comile php in tc with gd?
compile php with gd need : gd , libpng , libjpeg

Juanito:
I don't know what "gd" is, but you can get the headers and so on for jpeg, png and all the base libs by loading the base-devs extension

q7x:
GD is an open source code library for the dynamic creation of images by programmers
http://php.net/manual/en/image.installation.php
but not work on tc

althalus:

--- Quote from: q7x on November 13, 2009, 03:31:19 AM ---hi
how we can comile php in tc with gd?
compile php with gd need : gd , libpng , libjpeg

--- End quote ---
For libpng and libjpeg it looks like you'll need base-devs.tcz (As juanito already pointed out).

You'll also need libgd too. I've just created an extension for it, and am about to submit it.
Edit: Not submitting my gd.tcz. Not really able to test it and make sure it works properly atm.

robc:

--- Quote from: althalus on November 13, 2009, 12:05:12 PM ---
--- Quote from: q7x on November 13, 2009, 03:31:19 AM ---hi
how we can comile php in tc with gd?
compile php with gd need : gd , libpng , libjpeg

--- End quote ---
For libpng and libjpeg it looks like you'll need base-devs.tcz (As juanito already pointed out).

You'll also need libgd too. I've just created an extension for it, and am about to submit it.
Edit: Not submitting my gd.tcz. Not really able to test it and make sure it works properly atm.

--- End quote ---
There already is a libgd extension.

PHP took over the development of gd and it is packaged within the PHP source.
libpng and libjpeg are in the base and the base-devs was used to build PHP (since it would be required). So it should be working unless I missed a switch during configure.

There will be an update to the php extension as soon as v5.3.1 is released.

The build script can be found in the extension source repository.

Navigation

[0] Message Index

[#] Next page

Go to full version