You are here: libjpeg problem (gd - php) « PHP Programming Language « IT news, forums, messages
libjpeg problem (gd - php)

Posted by beantant on 05/16/06 12:46

hi,

i have been trying to get libjpeg working with gd & php on centos. php
is compiled from source (with gd option) and when i try compiling
libjpeg this happens:

[root@moo jpeg-6b]# ./configure --prefix=/usr --enable-shared
.....
.....
-no errors

[root@moo jpeg-6b]# make
.....
-no errors

[root@moo jpeg-6b]# make install
/usr/bin/install -c -m 644 ./cjpeg.1 /usr/man/man1/cjpeg.1
/usr/bin/install: cannot create regular file `/usr/man/man1/cjpeg.1':
No such file or directory
make: *** [install] Error 1




as i can not finish installing libjpeg, i can not specify the
--with-jpeg-dir parameter when i configure php, so i cannot use gd's
jpeg functions.


gdinfo() returns:
============
[GD Version] => bundled (2.0.28 compatible)
[FreeType Support] =>
[T1Lib Support] =>
[GIF Read Support] => 1
[GIF Create Support] => 1
[JPG Support] =>
[PNG Support] => 1
[WBMP Support] => 1
[XPM Support] =>
[XBM Support] => 1
[JIS-mapped Japanese Font Support] =>
============

so i cannot use imagecreatefromjpeg()


i also tried doing yum install libjpeg-devel, didn't help


i would appreciate if someone can give some pointers as i am totally
lost.

thanks.

 

Navigation:

[Reply to this 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

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