Re[2]: [PHP] Error GD

2002-12-06 Thread Tom Rogers
Hi,

Saturday, December 7, 2002, 2:31:09 AM, you wrote:
TR Hi,

TR Saturday, December 7, 2002, 1:41:22 AM, you wrote:
ithc Hi Paul,

ithc compiled PHP like that
ithc ./configure --with-config-file-path=/etc --enable-force-cgi-redirect 
--with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion

ithc Error Message:
ithc In file included from gd.c:83:
ithc gd_ctx.c: In function `_php_image_output_ctx':
ithc gd_ctx.c:70: structure has no member named `free'
ithc gd_ctx.c:98: structure has no member named `free'
ithc gd.c: In function `_php_image_create_from':
ithc gd.c:1176: structure has no member named `free'
ithc make[3]: *** [gd.lo] Fehler 1

TR I think the function name got changed to gdFree(), I'll try to find more info if
TR I can

TR -- 
TR regards,
TR Tom


I was close :) change the lines in the offending files to this:

ctx-gd_free(ctx);

That should fix it

-- 
regards,
Tom


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




Re: Re[2]: [PHP] Error GD

2002-12-06 Thread info
Thank u Tom

Oliver
  - Original Message - 
  From: Tom Rogers 
  To: Tom Rogers 
  Cc: [EMAIL PROTECTED] ; [EMAIL PROTECTED] 
  Sent: Friday, December 06, 2002 5:35 PM
  Subject: Re[2]: [PHP] Error GD


  Hi,

  Saturday, December 7, 2002, 2:31:09 AM, you wrote:
  TR Hi,

  TR Saturday, December 7, 2002, 1:41:22 AM, you wrote:
  ithc Hi Paul,

  ithc compiled PHP like that
  ithc ./configure --with-config-file-path=/etc --enable-force-cgi-redirect 
--with-mysql -with-gd=/usr/local/gd2 --no-create --no-recursion

  ithc Error Message:
  ithc In file included from gd.c:83:
  ithc gd_ctx.c: In function `_php_image_output_ctx':
  ithc gd_ctx.c:70: structure has no member named `free'
  ithc gd_ctx.c:98: structure has no member named `free'
  ithc gd.c: In function `_php_image_create_from':
  ithc gd.c:1176: structure has no member named `free'
  ithc make[3]: *** [gd.lo] Fehler 1

  TR I think the function name got changed to gdFree(), I'll try to find more info if
  TR I can

  TR -- 
  TR regards,
  TR Tom


  I was close :) change the lines in the offending files to this:

  ctx-gd_free(ctx);

  That should fix it

  -- 
  regards,
  Tom


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