Re: [PHP] Making gd Extensions

2001-09-06 Thread Dan Mahoney, System Admin

On Thu, 6 Sep 2001, Dennis Moore wrote:

I wrestled with this for about an hour before I looked at WHY the heck the
configure script thinks it knows more than I do.  Apparently if it can
DECOMPRESS a GIF (i.e., Make a PNG *from* a gif, which the FreeBSD
installer and some packages like rpms are known to do, I noticed this
because the makefile was having a hell of a time downloading a wierd file
called gd_gif_in.c.bz2), then the stupid configure script says "Hey, you
must have full gif support".

The solution?  I tried even pointing the thing at the gd BUILD directory
in my ports tree, same problem.  Here's the secret solution.

Edit the configure script, search for the line:

#define HAVE_GD_GIF 1

change it to 

#undef HAVE_GD_GF

Do the same with HAVE_GD_GIF_CTX

Essentially you're crippling the already crippled gif support, which MIGHT
make it useless for thumbnailing gifs and displaying png thumbnails, which
is a quite valid use (ImageMagick!), but apparently
php/gd either fully supports an image type (or dies trying) or doesn't at
all.

Configure as usual.  Worked for me.

NOW...Someone wanna write the configure script better so this isn't such
a problem?  Hint:the FreeBSD ports tree should not choke just because a
user checks the box that says "gd".

-Dan Mahoney
Please reply directly, I get way too much listmail.

> GD is was much too painful to install.  It complains about everything.
> However, I did finally got it working thanks to your tip Rasmus. Thanks. I
> did have an older version of gd lying around on the box.
> 
> I manually removed all gd libs and headers from the server.  I recompiled GD
> 1.8.4 (I got tired of 2.0.1.  It kept complaing about truecolor) .  I then
> copied my php configure script and then blew away the entire PHP source. I
> found this was necessary.  There is probably another way around this.  But I
> needed to be sure that some old stuff wasn't laying around.  I unpacked the
> PHP tarball again. Ran configure script.  It worked...
> 
> I can really empathize with Chris.   I find coding PHP much easier than
> Perl.  However< I am not willing to switch.
> 
> 
> - Original Message -
> From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
> To: "Chris Mulcahy" <[EMAIL PROTECTED]>
> Cc: <[EMAIL PROTECTED]>
> Sent: Tuesday, September 04, 2001 5:06 PM
> Subject: RE: [PHP] Making gd Extensions
> 
> 
> > That's quite a rational response...
> >
> > The most common problem people have when building GD support is that they
> > download their own version of GD, but leave the system version of GD and
> > PHP picks up the system header files instead of the desired ones and
> > things get confused.
> >
> > Building PHP with GD on RH-6.2 should be quite trivial once you sit down
> > and have a look at the error messages and the config.log file and work out
> > why you are getting the clashes.
> >
> > -Rasmus
> >
> >
> > On Tue, 4 Sep 2001, Chris Mulcahy wrote:
> >
> > > Dennis:
> > >
> > > Unfortunately, no, I have not had any luck or even any responses to my
> > > email.
> > >
> > > I have officially given up on PHP and have banned it from any system I
> > > administer due to problems such as this.  Once you get past the mod_perl
> > > compiling with Apache, all is well with Perl and extending it is easier.
> > >
> > > Too bad, really, because PHP is an elegant language that is easy to
> > > develop in.  Compiling extensions, however, is an entirely different
> > > matter.
> > >
> > > I wish you luck, if/when you resolve the problem, please be sure to post
> > > the solution, there are still several unanswered requests for assistance
> > > in the Google/Dejanews archives for this exact problem.
> > >
> > > Good luck and happy programming!
> > > Chris Mulcahy
> > >
> > > > -Original Message-
> > > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > > Sent: Tuesday, September 04, 2001 2:00 PM
> > > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > > Subject: Re: [PHP] Making gd Extensions
> > > >
> > > >
> > > > The problem I had was with the compilation of the gd program.
> > > >  I installed
> > > > an RPM version of gd from Redhat and recompiled.  It worked
> > > > like a charm on
> > > > RedHat v7.0.
> > > >
> > > > I am still working on the tarball version of gd.  The
> > > > documentation says to
> > > > play around the order of some of the setting

Re: [PHP] Making gd Extensions

2001-09-06 Thread Dennis Moore

GD is was much too painful to install.  It complains about everything.
However, I did finally got it working thanks to your tip Rasmus. Thanks. I
did have an older version of gd lying around on the box.

I manually removed all gd libs and headers from the server.  I recompiled GD
1.8.4 (I got tired of 2.0.1.  It kept complaing about truecolor) .  I then
copied my php configure script and then blew away the entire PHP source. I
found this was necessary.  There is probably another way around this.  But I
needed to be sure that some old stuff wasn't laying around.  I unpacked the
PHP tarball again. Ran configure script.  It worked...

I can really empathize with Chris.   I find coding PHP much easier than
Perl.  However< I am not willing to switch.


- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: "Chris Mulcahy" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, September 04, 2001 5:06 PM
Subject: RE: [PHP] Making gd Extensions


> That's quite a rational response...
>
> The most common problem people have when building GD support is that they
> download their own version of GD, but leave the system version of GD and
> PHP picks up the system header files instead of the desired ones and
> things get confused.
>
> Building PHP with GD on RH-6.2 should be quite trivial once you sit down
> and have a look at the error messages and the config.log file and work out
> why you are getting the clashes.
>
> -Rasmus
>
>
> On Tue, 4 Sep 2001, Chris Mulcahy wrote:
>
> > Dennis:
> >
> > Unfortunately, no, I have not had any luck or even any responses to my
> > email.
> >
> > I have officially given up on PHP and have banned it from any system I
> > administer due to problems such as this.  Once you get past the mod_perl
> > compiling with Apache, all is well with Perl and extending it is easier.
> >
> > Too bad, really, because PHP is an elegant language that is easy to
> > develop in.  Compiling extensions, however, is an entirely different
> > matter.
> >
> > I wish you luck, if/when you resolve the problem, please be sure to post
> > the solution, there are still several unanswered requests for assistance
> > in the Google/Dejanews archives for this exact problem.
> >
> > Good luck and happy programming!
> > Chris Mulcahy
> >
> > > -Original Message-
> > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > Sent: Tuesday, September 04, 2001 2:00 PM
> > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Making gd Extensions
> > >
> > >
> > > The problem I had was with the compilation of the gd program.
> > >  I installed
> > > an RPM version of gd from Redhat and recompiled.  It worked
> > > like a charm on
> > > RedHat v7.0.
> > >
> > > I am still working on the tarball version of gd.  The
> > > documentation says to
> > > play around the order of some of the settings in the makefile.
> > > Unfortunately, I have to work with a older version of RedHat on this
> > > machine. RedHat v6.2.
> > >
> > > Have you had any luck yet?
> > >
> > > /dkm
> > > - Original Message -
> > > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Thursday, August 30, 2001 11:10 AM
> > > Subject: RE: [PHP] Making gd Extensions
> > >
> > >
> > > > So far, there have been no answers, so I'm guessing that
> > > either we're
> > > > the only two receiving this or everyone who has received it has been
> > > > unable to resolve the problem.
> > > >
> > > > My searches on Google have been unsuccessful so far.  There
> > > are quite a
> > > > few reports of the problem, but no responses.
> > > >
> > > > If I learn anything, I'll be sure to let you know.
> > > >
> > > > Thanks
> > > > Chris
> > > >
> > > > > -Original Message-
> > > > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > > > Sent: Wednesday, August 29, 2001 8:59 PM
> > > > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > > > Subject: Re: [PHP] Making gd Extensions
> > > > >
> > > > >
> > > > > I am having a similar problem using gd-2.0.1 where the
> > > > > compilation complains
> > > > > about "conflicting type gdIOCtx".  I am getting

RE: [PHP] Making gd Extensions

2001-09-04 Thread Chris Mulcahy

I'm sorry, I didn't intend to sound like I was slamming PHP.  I'm just
unable to use it in good conscience on the systems I'm administering due
to the issues such as getting the graphics library (gd) and other
libraries to work with it.

I know that the PHP developers have no control over this, Zeev and
Rasmus are doing an EXCELLENT job and I absolutely love the language.
It's quick and easy to get a stable application up and running.  It's
easy to maintain applications because the language is easy to follow and
fairly self-documenting.

Having to spend approximately 25 hours compiling/testing/recompiling to
get the gd or other libraries to function is not an option.  It
completely negates the time savings in development.  Multiply this my
the number of servers involved and you sink quickly.

Perl as a language has it's devoted followers.  I'm not one of them.
Developing in Perl is nowhere as elegant as developing in PHP and
maintaining Perl code later is nowhere the dream that PHP code is.

I have used PHP since the early releases of 3.x (I wish I could have
seen it progress from the PHP/FI incarnations) and have several projects
out that use PHP.  They are just less intensive applications that did
not (yet) require some advanced features such as graphs, pdf output or
similar features.  I will continue to maintain and enjoy those
applications, but I have to concentrate my efforts towards one tool as a
primary tool to maintain efficiency.

I am not dumping PHP entirely, I am still going to remain on the PHP
lists and will enjoy watching the discussions about PHP and watching the
progression of PHP towards what I believe will be an extremely large
market penetration.

Chris Mulcahy

> -Original Message-
> From: Matthew Loff [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 04, 2001 3:44 PM
> To: 'Chris Mulcahy'; [EMAIL PROTECTED]
> Subject: RE: [PHP] Making gd Extensions
>
>
>
> Banning PHP from your system just because GD won't compile
> with it seems
> a bit drastic...
>
> You have to realize that the PHP developers don't really have anything
> to do with GD, pdflib, etc... they have added support for
> them into the
> PHP language, but an issue with one of these external libraries isn't
> the fault of the PHP group.
>
> I have encountered LOTS of problems getting GD to compile
> into PHP, and
> every single time, it turned out to be a problem with how GD was
> installed.
>
> If you find Perl more useful, then more power to you, each
> language has
> its strong points and issues... But your slandering of PHP is really
> unnecessary.
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Making gd Extensions

2001-09-04 Thread Rasmus Lerdorf

That's quite a rational response...

The most common problem people have when building GD support is that they
download their own version of GD, but leave the system version of GD and
PHP picks up the system header files instead of the desired ones and
things get confused.

Building PHP with GD on RH-6.2 should be quite trivial once you sit down
and have a look at the error messages and the config.log file and work out
why you are getting the clashes.

-Rasmus


On Tue, 4 Sep 2001, Chris Mulcahy wrote:

> Dennis:
>
> Unfortunately, no, I have not had any luck or even any responses to my
> email.
>
> I have officially given up on PHP and have banned it from any system I
> administer due to problems such as this.  Once you get past the mod_perl
> compiling with Apache, all is well with Perl and extending it is easier.
>
> Too bad, really, because PHP is an elegant language that is easy to
> develop in.  Compiling extensions, however, is an entirely different
> matter.
>
> I wish you luck, if/when you resolve the problem, please be sure to post
> the solution, there are still several unanswered requests for assistance
> in the Google/Dejanews archives for this exact problem.
>
> Good luck and happy programming!
> Chris Mulcahy
>
> > -Original Message-
> > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > Sent: Tuesday, September 04, 2001 2:00 PM
> > To: Chris Mulcahy; [EMAIL PROTECTED]
> > Subject: Re: [PHP] Making gd Extensions
> >
> >
> > The problem I had was with the compilation of the gd program.
> >  I installed
> > an RPM version of gd from Redhat and recompiled.  It worked
> > like a charm on
> > RedHat v7.0.
> >
> > I am still working on the tarball version of gd.  The
> > documentation says to
> > play around the order of some of the settings in the makefile.
> > Unfortunately, I have to work with a older version of RedHat on this
> > machine. RedHat v6.2.
> >
> > Have you had any luck yet?
> >
> > /dkm
> > - Original Message -
> > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Thursday, August 30, 2001 11:10 AM
> > Subject: RE: [PHP] Making gd Extensions
> >
> >
> > > So far, there have been no answers, so I'm guessing that
> > either we're
> > > the only two receiving this or everyone who has received it has been
> > > unable to resolve the problem.
> > >
> > > My searches on Google have been unsuccessful so far.  There
> > are quite a
> > > few reports of the problem, but no responses.
> > >
> > > If I learn anything, I'll be sure to let you know.
> > >
> > > Thanks
> > > Chris
> > >
> > > > -Original Message-
> > > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > > Sent: Wednesday, August 29, 2001 8:59 PM
> > > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > > Subject: Re: [PHP] Making gd Extensions
> > > >
> > > >
> > > > I am having a similar problem using gd-2.0.1 where the
> > > > compilation complains
> > > > about "conflicting type gdIOCtx".  I am getting a knot on my
> > > > forehead from
> > > > the wall in front of me.  Any ideas?
> > > >
> > > > /dkm
> > > >
> > > >
> > > >
> > > > - Original Message -
> > > > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > > > To: <[EMAIL PROTECTED]>
> > > > Sent: Wednesday, August 29, 2001 9:31 AM
> > > > Subject: [PHP] Making gd Extensions
> > > >
> > > > >
> > > > > The current item I'm wrestling with is the gd extensions.
> > > > I've rebuilt
> > > > > PHP and Apache so many times to enable one feature only to
> > > > learn that I
> > > > > forgot to recompile one that I'd relied on previously.
> > It's a never
> > > > > ending battle to get all of the features required.
> > > > >
> > > > > The .so extensions option is a great feature that I'd like
> > > > to make use
> > > > > of.
> > > > >
> > > > > In trying to compile the gd .so extension (gd-1.8.4), I'm
> > > > receiving the
> > > > > following errors.  Any ideas?
> > > > >
> > > > > Thanks
> > > > > Chris Mulcahy
> > > > > ---
>

RE: [PHP] Making gd Extensions

2001-09-04 Thread Matthew Loff


Banning PHP from your system just because GD won't compile with it seems
a bit drastic...

You have to realize that the PHP developers don't really have anything
to do with GD, pdflib, etc... they have added support for them into the
PHP language, but an issue with one of these external libraries isn't
the fault of the PHP group.

I have encountered LOTS of problems getting GD to compile into PHP, and
every single time, it turned out to be a problem with how GD was
installed.

If you find Perl more useful, then more power to you, each language has
its strong points and issues... But your slandering of PHP is really
unnecessary.


-Original Message-
From: Chris Mulcahy [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, September 04, 2001 4:34 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Making gd Extensions


Dennis:

Unfortunately, no, I have not had any luck or even any responses to my
email.

I have officially given up on PHP and have banned it from any system I
administer due to problems such as this.  Once you get past the mod_perl
compiling with Apache, all is well with Perl and extending it is easier.

Too bad, really, because PHP is an elegant language that is easy to
develop in.  Compiling extensions, however, is an entirely different
matter.

I wish you luck, if/when you resolve the problem, please be sure to post
the solution, there are still several unanswered requests for assistance
in the Google/Dejanews archives for this exact problem.

Good luck and happy programming!
Chris Mulcahy

> -Original Message-
> From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 04, 2001 2:00 PM
> To: Chris Mulcahy; [EMAIL PROTECTED]
> Subject: Re: [PHP] Making gd Extensions
>
>
> The problem I had was with the compilation of the gd program.
>  I installed
> an RPM version of gd from Redhat and recompiled.  It worked
> like a charm on
> RedHat v7.0.
>
> I am still working on the tarball version of gd.  The
> documentation says to
> play around the order of some of the settings in the makefile.
> Unfortunately, I have to work with a older version of RedHat on this
> machine. RedHat v6.2.
>
> Have you had any luck yet?
>
> /dkm
> - Original Message -
> From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 11:10 AM
> Subject: RE: [PHP] Making gd Extensions
>
>
> > So far, there have been no answers, so I'm guessing that
> either we're
> > the only two receiving this or everyone who has received it has been
> > unable to resolve the problem.
> >
> > My searches on Google have been unsuccessful so far.  There
> are quite a
> > few reports of the problem, but no responses.
> >
> > If I learn anything, I'll be sure to let you know.
> >
> > Thanks
> > Chris
> >
> > > -Original Message-
> > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 29, 2001 8:59 PM
> > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Making gd Extensions
> > >
> > >
> > > I am having a similar problem using gd-2.0.1 where the
> > > compilation complains
> > > about "conflicting type gdIOCtx".  I am getting a knot on my
> > > forehead from
> > > the wall in front of me.  Any ideas?
> > >
> > > /dkm
> > >
> > >
> > >
> > > - Original Message -
> > > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 29, 2001 9:31 AM
> > > Subject: [PHP] Making gd Extensions
> > >
> > > >
> > > > The current item I'm wrestling with is the gd extensions.
> > > I've rebuilt
> > > > PHP and Apache so many times to enable one feature only to
> > > learn that I
> > > > forgot to recompile one that I'd relied on previously.
> It's a never
> > > > ending battle to get all of the features required.
> > > >
> > > > The .so extensions option is a great feature that I'd like
> > > to make use
> > > > of.
> > > >
> > > > In trying to compile the gd .so extension (gd-1.8.4), I'm
> > > receiving the
> > > > following errors.  Any ideas?
> > > >
> > > > Thanks
> > > > Chris Mulcahy
> > > > ---
> > > >
> > > > Making all in ext
> > > > make[1]: Entering directory
> > > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > > 

RE: [PHP] Making gd Extensions

2001-09-04 Thread Chris Mulcahy

Dennis:

Unfortunately, no, I have not had any luck or even any responses to my
email.

I have officially given up on PHP and have banned it from any system I
administer due to problems such as this.  Once you get past the mod_perl
compiling with Apache, all is well with Perl and extending it is easier.

Too bad, really, because PHP is an elegant language that is easy to
develop in.  Compiling extensions, however, is an entirely different
matter.

I wish you luck, if/when you resolve the problem, please be sure to post
the solution, there are still several unanswered requests for assistance
in the Google/Dejanews archives for this exact problem.

Good luck and happy programming!
Chris Mulcahy

> -Original Message-
> From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 04, 2001 2:00 PM
> To: Chris Mulcahy; [EMAIL PROTECTED]
> Subject: Re: [PHP] Making gd Extensions
>
>
> The problem I had was with the compilation of the gd program.
>  I installed
> an RPM version of gd from Redhat and recompiled.  It worked
> like a charm on
> RedHat v7.0.
>
> I am still working on the tarball version of gd.  The
> documentation says to
> play around the order of some of the settings in the makefile.
> Unfortunately, I have to work with a older version of RedHat on this
> machine. RedHat v6.2.
>
> Have you had any luck yet?
>
> /dkm
> - Original Message -
> From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, August 30, 2001 11:10 AM
> Subject: RE: [PHP] Making gd Extensions
>
>
> > So far, there have been no answers, so I'm guessing that
> either we're
> > the only two receiving this or everyone who has received it has been
> > unable to resolve the problem.
> >
> > My searches on Google have been unsuccessful so far.  There
> are quite a
> > few reports of the problem, but no responses.
> >
> > If I learn anything, I'll be sure to let you know.
> >
> > Thanks
> > Chris
> >
> > > -----Original Message-
> > > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > > Sent: Wednesday, August 29, 2001 8:59 PM
> > > To: Chris Mulcahy; [EMAIL PROTECTED]
> > > Subject: Re: [PHP] Making gd Extensions
> > >
> > >
> > > I am having a similar problem using gd-2.0.1 where the
> > > compilation complains
> > > about "conflicting type gdIOCtx".  I am getting a knot on my
> > > forehead from
> > > the wall in front of me.  Any ideas?
> > >
> > > /dkm
> > >
> > >
> > >
> > > - Original Message -
> > > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > > To: <[EMAIL PROTECTED]>
> > > Sent: Wednesday, August 29, 2001 9:31 AM
> > > Subject: [PHP] Making gd Extensions
> > >
> > > >
> > > > The current item I'm wrestling with is the gd extensions.
> > > I've rebuilt
> > > > PHP and Apache so many times to enable one feature only to
> > > learn that I
> > > > forgot to recompile one that I'd relied on previously.
> It's a never
> > > > ending battle to get all of the features required.
> > > >
> > > > The .so extensions option is a great feature that I'd like
> > > to make use
> > > > of.
> > > >
> > > > In trying to compile the gd .so extension (gd-1.8.4), I'm
> > > receiving the
> > > > following errors.  Any ideas?
> > > >
> > > > Thanks
> > > > Chris Mulcahy
> > > > ---
> > > >
> > > > Making all in ext
> > > > make[1]: Entering directory
> > > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > > Making all in gd
> > > > make[2]: Entering directory
> > > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > > make[3]: Entering directory
> > > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > > gcc  -I.
> > > -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
> > > > ulcahy/transfer/webserver/php-4.0.6/main
> > > -I/home/cmulcahy/transfer/webse
> > > > rver/php-4.0.6
> > > -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
> > > > e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql
> > > -I/home/cmulc
> > > > ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok
> > > -I/home/cmulcahy/t
> > > > ransfer/web

Re: [PHP] Making gd Extensions

2001-09-04 Thread Dennis Moore

The problem I had was with the compilation of the gd program.  I installed
an RPM version of gd from Redhat and recompiled.  It worked like a charm on
RedHat v7.0.

I am still working on the tarball version of gd.  The documentation says to
play around the order of some of the settings in the makefile.
Unfortunately, I have to work with a older version of RedHat on this
machine. RedHat v6.2.

Have you had any luck yet?

/dkm
- Original Message -
From: "Chris Mulcahy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, August 30, 2001 11:10 AM
Subject: RE: [PHP] Making gd Extensions


> So far, there have been no answers, so I'm guessing that either we're
> the only two receiving this or everyone who has received it has been
> unable to resolve the problem.
>
> My searches on Google have been unsuccessful so far.  There are quite a
> few reports of the problem, but no responses.
>
> If I learn anything, I'll be sure to let you know.
>
> Thanks
> Chris
>
> > -Original Message-
> > From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 29, 2001 8:59 PM
> > To: Chris Mulcahy; [EMAIL PROTECTED]
> > Subject: Re: [PHP] Making gd Extensions
> >
> >
> > I am having a similar problem using gd-2.0.1 where the
> > compilation complains
> > about "conflicting type gdIOCtx".  I am getting a knot on my
> > forehead from
> > the wall in front of me.  Any ideas?
> >
> > /dkm
> >
> >
> >
> > - Original Message -
> > From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> > To: <[EMAIL PROTECTED]>
> > Sent: Wednesday, August 29, 2001 9:31 AM
> > Subject: [PHP] Making gd Extensions
> >
> > >
> > > The current item I'm wrestling with is the gd extensions.
> > I've rebuilt
> > > PHP and Apache so many times to enable one feature only to
> > learn that I
> > > forgot to recompile one that I'd relied on previously.  It's a never
> > > ending battle to get all of the features required.
> > >
> > > The .so extensions option is a great feature that I'd like
> > to make use
> > > of.
> > >
> > > In trying to compile the gd .so extension (gd-1.8.4), I'm
> > receiving the
> > > following errors.  Any ideas?
> > >
> > > Thanks
> > > Chris Mulcahy
> > > ---
> > >
> > > Making all in ext
> > > make[1]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > Making all in gd
> > > make[2]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[3]: Entering directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > gcc  -I.
> > -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
> > > ulcahy/transfer/webserver/php-4.0.6/main
> > -I/home/cmulcahy/transfer/webse
> > > rver/php-4.0.6
> > -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
> > > e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql
> > -I/home/cmulc
> > > ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok
> > -I/home/cmulcahy/t
> > > ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse
> > -I/home/cmulcahy/tran
> > > sfer/webserver/php-4.0.6/TSRM  -DSUPPORT_UTF8
> > -DXML_BYTE_ORDER=12 -g -O2
> > >   -c gd.c && touch gd.lo
> > > gd.c:95: conflicting types for `gdIOCtx'
> > > /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> > > gd.c: In function `php_if_imagecreatefromgif':
> > > gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this
> > > function)
> > > gd.c:1209: (Each undeclared identifier is reported only once
> > > gd.c:1209: for each function it appears in.)
> > > gd.c: In function `php_if_imagegif':
> > > gd.c:1404: `gdImageGif' undeclared (first use in this function)
> > > make[3]: *** [gd.lo] Error 1
> > > make[3]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[2]: *** [all-recursive] Error 1
> > > make[2]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > > make[1]: *** [all-recursive] Error 1
> > > make[1]: Leaving directory
> > > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > > make: *** [all-recursive] Error 1
> > >
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] Making gd Extensions

2001-08-30 Thread Chris Mulcahy

So far, there have been no answers, so I'm guessing that either we're
the only two receiving this or everyone who has received it has been
unable to resolve the problem.

My searches on Google have been unsuccessful so far.  There are quite a
few reports of the problem, but no responses.

If I learn anything, I'll be sure to let you know.

Thanks
Chris

> -Original Message-
> From: Dennis Moore [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 8:59 PM
> To: Chris Mulcahy; [EMAIL PROTECTED]
> Subject: Re: [PHP] Making gd Extensions
>
>
> I am having a similar problem using gd-2.0.1 where the
> compilation complains
> about "conflicting type gdIOCtx".  I am getting a knot on my
> forehead from
> the wall in front of me.  Any ideas?
>
> /dkm
>
>
>
> - Original Message -
> From: "Chris Mulcahy" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, August 29, 2001 9:31 AM
> Subject: [PHP] Making gd Extensions
>
> >
> > The current item I'm wrestling with is the gd extensions.
> I've rebuilt
> > PHP and Apache so many times to enable one feature only to
> learn that I
> > forgot to recompile one that I'd relied on previously.  It's a never
> > ending battle to get all of the features required.
> >
> > The .so extensions option is a great feature that I'd like
> to make use
> > of.
> >
> > In trying to compile the gd .so extension (gd-1.8.4), I'm
> receiving the
> > following errors.  Any ideas?
> >
> > Thanks
> > Chris Mulcahy
> > ---
> >
> > Making all in ext
> > make[1]: Entering directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > Making all in gd
> > make[2]: Entering directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > make[3]: Entering directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > gcc  -I.
> -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
> > ulcahy/transfer/webserver/php-4.0.6/main
> -I/home/cmulcahy/transfer/webse
> > rver/php-4.0.6
> -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
> > e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql
> -I/home/cmulc
> > ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok
> -I/home/cmulcahy/t
> > ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse
> -I/home/cmulcahy/tran
> > sfer/webserver/php-4.0.6/TSRM  -DSUPPORT_UTF8
> -DXML_BYTE_ORDER=12 -g -O2
> >   -c gd.c && touch gd.lo
> > gd.c:95: conflicting types for `gdIOCtx'
> > /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> > gd.c: In function `php_if_imagecreatefromgif':
> > gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this
> > function)
> > gd.c:1209: (Each undeclared identifier is reported only once
> > gd.c:1209: for each function it appears in.)
> > gd.c: In function `php_if_imagegif':
> > gd.c:1404: `gdImageGif' undeclared (first use in this function)
> > make[3]: *** [gd.lo] Error 1
> > make[3]: Leaving directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > make[2]: *** [all-recursive] Error 1
> > make[2]: Leaving directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> > make[1]: *** [all-recursive] Error 1
> > make[1]: Leaving directory
> > `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> > make: *** [all-recursive] Error 1
> >



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] Making gd Extensions

2001-08-29 Thread Dennis Moore

I am having a similar problem using gd-2.0.1 where the compilation complains
about "conflicting type gdIOCtx".  I am getting a knot on my forehead from
the wall in front of me.  Any ideas?

/dkm



- Original Message -
From: "Chris Mulcahy" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 9:31 AM
Subject: [PHP] Making gd Extensions

>
> The current item I'm wrestling with is the gd extensions.  I've rebuilt
> PHP and Apache so many times to enable one feature only to learn that I
> forgot to recompile one that I'd relied on previously.  It's a never
> ending battle to get all of the features required.
>
> The .so extensions option is a great feature that I'd like to make use
> of.
>
> In trying to compile the gd .so extension (gd-1.8.4), I'm receiving the
> following errors.  Any ideas?
>
> Thanks
> Chris Mulcahy
> ---
>
> Making all in ext
> make[1]: Entering directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> Making all in gd
> make[2]: Entering directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> make[3]: Entering directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> gcc  -I. -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
> ulcahy/transfer/webserver/php-4.0.6/main -I/home/cmulcahy/transfer/webse
> rver/php-4.0.6 -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
> e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql -I/home/cmulc
> ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok -I/home/cmulcahy/t
> ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse -I/home/cmulcahy/tran
> sfer/webserver/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2
>   -c gd.c && touch gd.lo
> gd.c:95: conflicting types for `gdIOCtx'
> /usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
> gd.c: In function `php_if_imagecreatefromgif':
> gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this
> function)
> gd.c:1209: (Each undeclared identifier is reported only once
> gd.c:1209: for each function it appears in.)
> gd.c: In function `php_if_imagegif':
> gd.c:1404: `gdImageGif' undeclared (first use in this function)
> make[3]: *** [gd.lo] Error 1
> make[3]: Leaving directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
> make: *** [all-recursive] Error 1
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Making gd Extensions

2001-08-29 Thread Chris Mulcahy

Greetings:

I'm following the thread regarding PHP extensions in the thread "The
future of PHP - accessory libraries" very anxiously.  I've been trying
to get this feature going for quite some time but without success.

The current item I'm wrestling with is the gd extensions.  I've rebuilt
PHP and Apache so many times to enable one feature only to learn that I
forgot to recompile one that I'd relied on previously.  It's a never
ending battle to get all of the features required.

The .so extensions option is a great feature that I'd like to make use
of.

In trying to compile the gd .so extension (gd-1.8.4), I'm receiving the
following errors.  Any ideas?

Thanks
Chris Mulcahy
---

Making all in ext
make[1]: Entering directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
Making all in gd
make[2]: Entering directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
make[3]: Entering directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
gcc  -I. -I/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd -I/home/cm
ulcahy/transfer/webserver/php-4.0.6/main -I/home/cmulcahy/transfer/webse
rver/php-4.0.6 -I/home/cmulcahy/transfer/webserver/php-4.0.6/Zend -I/hom
e/cmulcahy/transfer/webserver/php-4.0.6/ext/mysql/libmysql -I/home/cmulc
ahy/transfer/webserver/php-4.0.6/ext/xml/expat/xmltok -I/home/cmulcahy/t
ransfer/webserver/php-4.0.6/ext/xml/expat/xmlparse -I/home/cmulcahy/tran
sfer/webserver/php-4.0.6/TSRM  -DSUPPORT_UTF8 -DXML_BYTE_ORDER=12 -g -O2
  -c gd.c && touch gd.lo
gd.c:95: conflicting types for `gdIOCtx'
/usr/local/include/gd_io.h:18: previous declaration of `gdIOCtx'
gd.c: In function `php_if_imagecreatefromgif':
gd.c:1209: `gdImageCreateFromGif' undeclared (first use in this
function)
gd.c:1209: (Each undeclared identifier is reported only once
gd.c:1209: for each function it appears in.)
gd.c: In function `php_if_imagegif':
gd.c:1404: `gdImageGif' undeclared (first use in this function)
make[3]: *** [gd.lo] Error 1
make[3]: Leaving directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext/gd'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/cmulcahy/transfer/webserver/php-4.0.6/ext'
make: *** [all-recursive] Error 1



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]