[PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth


I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
and with-freetype. I have installed both png and jpg from a tar file
but know mater what I do PHP configure stops with and error. here is
the error I keep getting.
checking for GD support... yes
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... yes
checking for FreeType 1.x support... yes
checking for FreeType 2... yes
checking for T1lib support... yes
checking whether to enable truetype string function in GD... yes
checking for fabsf... yes
checking for floorf... yes
configure: error: libjpeg.(a|so) not found.

Can somebody give me the step to get this to work below is my compleat
configuration.
./configure --prefix=/usr --with-apxs=/usr/sbin/apxs --with-gettext=/usr
--enable-safe-mode --with-config-file-path=/etc/httpd --with-exec-dir=/usr/bin
--with-zlib --enable-magic-quotes --with-regex=system --with-ttf --with-gdbm
--enable-mbstring --enable-mbstr-enc-trans --enable-track-vars --enable-wddx=shared
--enable-mm=shared --enable-xml --enable-ftp --disable-debug --with-libdir=/usr/lib
--with-dba --with-interbase=shared --with-ldap --with-pdflib=shared --with-xml
--with-readline --with-mysql=/usr/ --with-curl=/usr/bin/ --enable-sockets --enable-ftp
--with-gdbm --with-pgsql=/usr/ --with-mhash --with-zip=/usr/local/lib/ --with-gd
--with-freetype-dir=/usr --enable-gd-native-ttf --enable-gd-imgstrttf
--with-jpeg-dir=/usr/local/bin --with-png-dir=/usr/local/bin
  

-- 
Best regards,
 rdkurth  mailto:[EMAIL PROTECTED]


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




Re: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote:
 I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
 and with-freetype. I have installed both png and jpg from a tar file
 but know mater what I do PHP configure stops with and error. here is
 the error I keep getting.

 configure: error: libjpeg.(a|so) not found.

It's telling you that it cannot find libjpeg.a or libjpeg.so.

Use find / -name libjpeg.a and find / -name libjpeg.so to find out where 
they are hiding.

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
It may be that your whole purpose in life is simply to serve as a
warning to others.
*/


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




Re: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Kevin Waterson
This one time, at band camp,
[EMAIL PROTECTED] wrote:

 configure: error: libjpeg.(a|so) not found.

Install libjpeg

Kevin


-- 
 __  
(_ \ 
 _) )            
|  /  / _  ) / _  | / ___) / _  )
| |  ( (/ / ( ( | |( (___ ( (/ / 
|_|   \) \_||_| \) \)
Kevin Waterson
Port Macquarie, Australia

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




Re[2]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
Hello Jason,
I know that is what it means and I do know where libjpeg.so and
libjpeg.a are on the server. I also have pointed the configuration to
where they are with this --with-jpeg-dir=/usr/local/bin
but no mater what I do it still can not find them.and keeps giving me
the error  configure: error: libjpeg.(a|so) not found


Thursday, February 6, 2003, 1:52:44 AM, you wrote:


JW On Thursday 06 February 2003 17:47, [EMAIL PROTECTED] wrote:
 I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
 and with-freetype. I have installed both png and jpg from a tar file
 but know mater what I do PHP configure stops with and error. here is
 the error I keep getting.

 configure: error: libjpeg.(a|so) not found.

JW It's telling you that it cannot find libjpeg.a or libjpeg.so.

JW Use find / -name libjpeg.a and find / -name libjpeg.so to find out where 
JW they are hiding.

JW -- 
Jason Wong - Gremlins Associates - www.gremlins.biz
JW Open Source Software Systems Integrators
JW * Web Design  Hosting * Internet  Intranet Applications Development *
JW --
JW Search the list archives before you post
JW http://marc.theaimsgroup.com/?l=php-general
JW --
JW /*
JW It may be that your whole purpose in life is simply to serve as a
JW warning to others.
JW */





-- 
Best regards,
 rdkurthmailto:[EMAIL PROTECTED]


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




Re[2]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
Hello Kevin,

It is installed from a tar file


Thursday, February 6, 2003, 2:12:15 AM, you wrote:


KW This one time, at band camp,
KW [EMAIL PROTECTED] wrote:

 configure: error: libjpeg.(a|so) not found.

KW Install libjpeg

KW Kevin


KW -- 
KW  __  
KW (_ \ 
KW  _) )            
KW |  /  / _  ) / _  | / ___) / _  )
KW | |  ( (/ / ( ( | |( (___ ( (/ / 
KW |_|   \) \_||_| \) \)
KW Kevin Waterson
KW Port Macquarie, Australia




-- 
Best regards,
 rdkurthmailto:[EMAIL PROTECTED]


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




Re[2]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Rasmus Lerdorf
 I know that is what it means and I do know where libjpeg.so and
 libjpeg.a are on the server. I also have pointed the configuration to
 where they are with this --with-jpeg-dir=/usr/local/bin
 but no mater what I do it still can not find them.and keeps giving me
 the error  configure: error: libjpeg.(a|so) not found

Somehow I doubt your jpeg library is somewhere under /usr/local/bin

-Rasmus

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




Re: Re[2]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote:

 I know that is what it means and I do know where libjpeg.so and
 libjpeg.a are on the server. I also have pointed the configuration to
 where they are with this --with-jpeg-dir=/usr/local/bin
 but no mater what I do it still can not find them.and keeps giving me
 the error  configure: error: libjpeg.(a|so) not found

OK, so what is the full path to your libjpeg.* ?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
How can you have any pudding if you don't eat your meat?
-- Pink Floyd
*/


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




Re[4]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
Hello Jason,

/usr/lib/libjpeg.so


Thursday, February 6, 2003, 2:19:36 AM, you wrote:


JW On Thursday 06 February 2003 18:15, [EMAIL PROTECTED] wrote:

 I know that is what it means and I do know where libjpeg.so and
 libjpeg.a are on the server. I also have pointed the configuration to
 where they are with this --with-jpeg-dir=/usr/local/bin
 but no mater what I do it still can not find them.and keeps giving me
 the error  configure: error: libjpeg.(a|so) not found

JW OK, so what is the full path to your libjpeg.* ?

JW -- 
Jason Wong - Gremlins Associates - www.gremlins.biz
JW Open Source Software Systems Integrators
JW * Web Design  Hosting * Internet  Intranet Applications Development *
JW --
JW Search the list archives before you post
JW http://marc.theaimsgroup.com/?l=php-general
JW --
JW /*
JW How can you have any pudding if you don't eat your meat?
JW -- Pink Floyd
JW */





-- 
Best regards,
 rdkurthmailto:[EMAIL PROTECTED]


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




Re: Re[4]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 18:37, [EMAIL PROTECTED] wrote:

 /usr/lib/libjpeg.so

Then use:

  --with-jpeg-dir=/usr

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
The chain which can be yanked is not the eternal chain.
-- G. Fitch
*/


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




Re[6]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
Hello Jason,
That worked an got me through the configuration but now after doing a
make I get this error. What do I do to fix this.

/gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo
/home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file or directory
/home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:35: jerror.h: No such file or directory
/home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:240: #error IJG JPEG library 
BITS_IN_JSAMPLE value must be 8 or 12
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1

Thursday, February 6, 2003, 2:35:11 AM, you wrote:


JW On Thursday 06 February 2003 18:37, [EMAIL PROTECTED] wrote:

 /usr/lib/libjpeg.so

JW Then use:

JW   --with-jpeg-dir=/usr

JW -- 
Jason Wong - Gremlins Associates - www.gremlins.biz
JW Open Source Software Systems Integrators
JW * Web Design  Hosting * Internet  Intranet Applications Development *
JW --
JW Search the list archives before you post
JW http://marc.theaimsgroup.com/?l=php-general
JW --
JW /*
JW The chain which can be yanked is not the eternal chain.
JW -- G. Fitch
JW */





-- 
Best regards,
 rdkurthmailto:[EMAIL PROTECTED]


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




Re: Re[6]: [PHP] compiling php 4.3.0 with gd

2003-02-06 Thread Jason Wong
On Thursday 06 February 2003 19:15, [EMAIL PROTECTED] wrote:

 That worked an got me through the configuration but now after doing a
 make I get this error. What do I do to fix this.

 /gd_jpeg.c -o ext/gd/libgd/gd_jpeg.lo
 /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:34: jpeglib.h: No such file or
 directory /home/tmp/php-4.3.0/ext/gd/libgd/gd_jpeg.c:35: jerror.h: No such
 file or directory

And where are those files hiding?

-- 
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software Systems Integrators
* Web Design  Hosting * Internet  Intranet Applications Development *
--
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
--
/*
Children are like cats, they can tell when you don't like them.  That's
when they come over and violate your body space.
*/


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




[PHP] compiling php 4.3.0 with gd

2003-02-06 Thread rdkurth
I am trying to compile PHP 4.3.0 with GD and also with-png,with-jpg
and with-freetype. I have installed both png,jpg and freetype2 from a
tar file.
I was finally able to get it through the configure stage with no
errors but now when I run make I am getting the following error.
I have know idea what to do now. It looks like there are a bunch of
parser errors in the freetype2 files I installed. Do I need to install
then a second time


In file included from /home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:50:
/usr/local/include/freetype2/freetype/ftglyph.h:104: parse error before `FT_Library'
/usr/local/include/freetype2/freetype/ftglyph.h:104: warning: no semicolon at end of 
struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:106: parse error before `format'
/usr/local/include/freetype2/freetype/ftglyph.h:106: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:107: parse error before `advance'
/usr/local/include/freetype2/freetype/ftglyph.h:107: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:109: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:156: parse error before `FT_GlyphRec'
/usr/local/include/freetype2/freetype/ftglyph.h:156: warning: no semicolon at end of 
struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:157: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:158: parse error before `top'
/usr/local/include/freetype2/freetype/ftglyph.h:158: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:159: parse error before `bitmap'
/usr/local/include/freetype2/freetype/ftglyph.h:159: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:161: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:204: parse error before `FT_GlyphRec'
/usr/local/include/freetype2/freetype/ftglyph.h:204: warning: no semicolon at end of 
struct or union
/usr/local/include/freetype2/freetype/ftglyph.h:205: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:207: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:228: parse error before `FT_Get_Glyph'
/usr/local/include/freetype2/freetype/ftglyph.h:228: parse error before `slot'
/usr/local/include/freetype2/freetype/ftglyph.h:229: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:251: parse error before `FT_Glyph_Copy'
/usr/local/include/freetype2/freetype/ftglyph.h:252: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:281: parse error before 
`FT_Glyph_Transform'
/usr/local/include/freetype2/freetype/ftglyph.h:282: parse error before `FT_Matrix'
/usr/local/include/freetype2/freetype/ftglyph.h:283: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:360: parse error before 
`FT_Glyph_Get_CBox'
/usr/local/include/freetype2/freetype/ftglyph.h:361: parse error before `FT_UInt'
/usr/local/include/freetype2/freetype/ftglyph.h:362: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:437: parse error before 
`FT_Glyph_To_Bitmap'
/usr/local/include/freetype2/freetype/ftglyph.h:438: parse error before 
`FT_Render_Mode'
/usr/local/include/freetype2/freetype/ftglyph.h:440: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:455: parse error before `FT_Done_Glyph'
/usr/local/include/freetype2/freetype/ftglyph.h:455: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:486: parse error before 
`FT_Matrix_Multiply'
/usr/local/include/freetype2/freetype/ftglyph.h:486: parse error before `*'
/usr/local/include/freetype2/freetype/ftglyph.h:487: warning: data definition has no 
type or storage class
/usr/local/include/freetype2/freetype/ftglyph.h:506: parse error before 
`FT_Matrix_Invert'
/usr/local/include/freetype2/freetype/ftglyph.h:506: parse error before `*'
/usr/local/include/freetype2/freetype/ftglyph.h:506: warning: data definition has no 
type or storage class
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:95: parse error before `FT_Library'
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:95: warning: no semicolon at end of struct or 
union
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:96: warning: data definition has no type or 
storage class
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:97: parse error before `have_char_map_unicode'
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:98: warning: data definition has no type or 
storage class
/home/tmp/php-4.3.0/ext/gd/libgd/gdft.c:100: parse error before `}'