Bug #16937 Updated: PHP with GD 2.0.1 will not compile

2002-05-07 Thread mfurdyk

 ID:   16937
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: GD related
 Operating System: Linux 2.4.9
 PHP Version:  4.2.0
 New Comment:

I tried both. The source directory AFTER doing a make on libgd.a (as
shown http://www.php.net/~rasmus/gd.html) and also after doing a full
make.


Previous Comments:


[2002-05-01 11:12:17] [EMAIL PROTECTED]

NOT the source directory, the BASE install directory.

E.g. your source is in

  /home/foo/src/gd-2.0.1/

and you install it into

  /usr/local/frob

then your have to use

  ./configure --with-gd=/usr/local/frob





[2002-05-01 09:27:34] [EMAIL PROTECTED]

I'm pointing directly to the GD src directory, as mentioned here:

http://www.php.net/~rasmus/gd.html

gd.h is here:
/usr/local/src/gd-2.0.1/gd.h

And i'm pointing directly there (to gd-2.0.1 dir) when compiling.

Yes, it does have the line.



[2002-05-01 02:44:16] [EMAIL PROTECTED]

Where is your gd.h located? Does it containe the following line

#define gdPie   gdArc

?



[2002-05-01 01:30:09] [EMAIL PROTECTED]

PHP is what won't compile, not GD :)



[2002-05-01 01:27:39] [EMAIL PROTECTED]

Trying to compile GD 2.0.1 into PHP 4.2.0, 4.1.2, or 4.0.6 produces
this error:

4.2.0 ERROR:
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a
cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1

4.0.6 ERROR:
gd.c: In function `php_minit_gd':
gd.c:296: `gdPie' undeclared (first use in this function)
gd.c:296: (Each undeclared identifier is reported only once
gd.c:296: for each function it appears in.)
gd.c:297: `gdChord' undeclared (first use in this function)
gd.c:298: `gdNoFill' undeclared (first use in this function)
gd.c:299: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:577: warning: assignment makes pointer from integer without a
cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

I have completely wiped out the gd and php installs, and even went
through tons of steps with some folks from #php. Other reports of this
elsewhere on the web have gone unanswered.




-- 
Edit this bug report at http://bugs.php.net/?id=16937edit=1




Bug #16937 Updated: PHP with GD 2.0.1 will not compile

2002-05-07 Thread rasmus

 ID:   16937
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: GD related
 Operating System: Linux 2.4.9
 PHP Version:  4.2.0
 New Comment:

You have a GD1 gd.h somewhere on your include path which is getting
picked up.  Get rid of it and try a clean rebuild.


Previous Comments:


[2002-05-07 02:19:02] [EMAIL PROTECTED]

I tried both. The source directory AFTER doing a make on libgd.a (as
shown http://www.php.net/~rasmus/gd.html) and also after doing a full
make.



[2002-05-01 11:12:17] [EMAIL PROTECTED]

NOT the source directory, the BASE install directory.

E.g. your source is in

  /home/foo/src/gd-2.0.1/

and you install it into

  /usr/local/frob

then your have to use

  ./configure --with-gd=/usr/local/frob





[2002-05-01 09:27:34] [EMAIL PROTECTED]

I'm pointing directly to the GD src directory, as mentioned here:

http://www.php.net/~rasmus/gd.html

gd.h is here:
/usr/local/src/gd-2.0.1/gd.h

And i'm pointing directly there (to gd-2.0.1 dir) when compiling.

Yes, it does have the line.



[2002-05-01 02:44:16] [EMAIL PROTECTED]

Where is your gd.h located? Does it containe the following line

#define gdPie   gdArc

?



[2002-05-01 01:30:09] [EMAIL PROTECTED]

PHP is what won't compile, not GD :)



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/16937

-- 
Edit this bug report at http://bugs.php.net/?id=16937edit=1




Bug #16937 Updated: PHP with GD 2.0.1 will not compile

2002-05-01 Thread mfischer

 ID:   16937
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Feedback
 Bug Type: GD related
 Operating System: Linux 2.4.9
 PHP Version:  4.2.0
 New Comment:

Where is your gd.h located? Does it containe the following line

#define gdPie   gdArc

?


Previous Comments:


[2002-05-01 01:30:09] [EMAIL PROTECTED]

PHP is what won't compile, not GD :)



[2002-05-01 01:27:39] [EMAIL PROTECTED]

Trying to compile GD 2.0.1 into PHP 4.2.0, 4.1.2, or 4.0.6 produces
this error:

4.2.0 ERROR:
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a
cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1

4.0.6 ERROR:
gd.c: In function `php_minit_gd':
gd.c:296: `gdPie' undeclared (first use in this function)
gd.c:296: (Each undeclared identifier is reported only once
gd.c:296: for each function it appears in.)
gd.c:297: `gdChord' undeclared (first use in this function)
gd.c:298: `gdNoFill' undeclared (first use in this function)
gd.c:299: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:577: warning: assignment makes pointer from integer without a
cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

I have completely wiped out the gd and php installs, and even went
through tons of steps with some folks from #php. Other reports of this
elsewhere on the web have gone unanswered.




-- 
Edit this bug report at http://bugs.php.net/?id=16937edit=1




Bug #16937 Updated: PHP with GD 2.0.1 will not compile

2002-05-01 Thread mfurdyk

 ID:   16937
 Updated by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Feedback
 Bug Type: GD related
 Operating System: Linux 2.4.9
 PHP Version:  4.2.0
 New Comment:

I'm pointing directly to the GD src directory, as mentioned here:

http://www.php.net/~rasmus/gd.html

gd.h is here:
/usr/local/src/gd-2.0.1/gd.h

And i'm pointing directly there (to gd-2.0.1 dir) when compiling.

Yes, it does have the line.


Previous Comments:


[2002-05-01 02:44:16] [EMAIL PROTECTED]

Where is your gd.h located? Does it containe the following line

#define gdPie   gdArc

?



[2002-05-01 01:30:09] [EMAIL PROTECTED]

PHP is what won't compile, not GD :)



[2002-05-01 01:27:39] [EMAIL PROTECTED]

Trying to compile GD 2.0.1 into PHP 4.2.0, 4.1.2, or 4.0.6 produces
this error:

4.2.0 ERROR:
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a
cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1

4.0.6 ERROR:
gd.c: In function `php_minit_gd':
gd.c:296: `gdPie' undeclared (first use in this function)
gd.c:296: (Each undeclared identifier is reported only once
gd.c:296: for each function it appears in.)
gd.c:297: `gdChord' undeclared (first use in this function)
gd.c:298: `gdNoFill' undeclared (first use in this function)
gd.c:299: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:577: warning: assignment makes pointer from integer without a
cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

I have completely wiped out the gd and php installs, and even went
through tons of steps with some folks from #php. Other reports of this
elsewhere on the web have gone unanswered.




-- 
Edit this bug report at http://bugs.php.net/?id=16937edit=1




Bug #16937 Updated: PHP with GD 2.0.1 will not compile

2002-04-30 Thread mfurdyk

 ID:   16937
 Updated by:   [EMAIL PROTECTED]
-Summary:  GD 2.0.1 will not compile
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: GD related
 Operating System: Linux 2.4.9
 PHP Version:  4.2.0
 New Comment:

PHP is what won't compile, not GD :)


Previous Comments:


[2002-05-01 01:27:39] [EMAIL PROTECTED]

Trying to compile GD 2.0.1 into PHP 4.2.0, 4.1.2, or 4.0.6 produces
this error:

4.2.0 ERROR:
gd.c: In function `zm_startup_gd':
gd.c:303: `gdArc' undeclared (first use in this function)
gd.c:303: (Each undeclared identifier is reported only once
gd.c:303: for each function it appears in.)
gd.c:304: `gdPie' undeclared (first use in this function)
gd.c:305: `gdChord' undeclared (first use in this function)
gd.c:306: `gdNoFill' undeclared (first use in this function)
gd.c:307: `gdEdged' undeclared (first use in this function)
gd.c: In function `zif_imagecreatetruecolor':
gd.c:588: warning: assignment makes pointer from integer without a
cast
gd.c: In function `zif_imagecolorat':
gd.c:1626: structure has no member named `tpixels'
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.2.0/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.2.0/ext'
make: *** [all-recursive] Error 1

4.0.6 ERROR:
gd.c: In function `php_minit_gd':
gd.c:296: `gdPie' undeclared (first use in this function)
gd.c:296: (Each undeclared identifier is reported only once
gd.c:296: for each function it appears in.)
gd.c:297: `gdChord' undeclared (first use in this function)
gd.c:298: `gdNoFill' undeclared (first use in this function)
gd.c:299: `gdEdged' undeclared (first use in this function)
gd.c: In function `php_if_imagecreatetruecolor':
gd.c:577: warning: assignment makes pointer from integer without a
cast
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/local/src/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/local/src/php-4.0.6/ext'
make: *** [all-recursive] Error 1

I have completely wiped out the gd and php installs, and even went
through tons of steps with some folks from #php. Other reports of this
elsewhere on the web have gone unanswered.




-- 
Edit this bug report at http://bugs.php.net/?id=16937edit=1