Reply to Re: how to compile PHP with GD support?

Your name:

Reply:


Posted by ljb on 06/02/05 04:17

encapsulin@gmail.com wrote:
> Well, i have read
> http://www.onlamp.com/pub/a/php/2003/03/27/php_gd.html
>
> And now i have GD (png,gif) with my php engine, but jpeg still not
> supported:
>
> 1)compiling jpeg lib:
> # cd /usr/local/src/jpeg-6b
> # ./configure --prefix=/usr && make && make install
>
> 2) compiling php:
> # cd /usr/local/src/php-4.3.9
> # ./configure --with-gd --with-zlib-dir=/usr/include
> --with-apxs=/usr/local/apache/bin/apxs --with-
> mysql --with-jpeg-dir=../jpeg-6b
> # make clean && make && make install
>
> /usr/local/src/php-4.3.9/ext/gd/libgd/gd_jpeg.c:42:21: jpeglib.h: No
> such file or directory

You have to point your PHP configure to where the jpeg library got
installed, not where it was built (so it can find headers and such).
Try: --with-jpeg-dir=/usr

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация