|
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]
|