ID:               20269
 Comment by:       techguy at netscan dot ca
 Reported By:      luci at conexim dot com dot au
 Status:           No Feedback
 Bug Type:         GD related
 Operating System: RHL7.3
 PHP Version:      4.3.0-pre2
 New Comment:

I have tried the fixes suggested below, and I have posted this problem
to at least 10 forums, newsgroups, email lists, etc. and still do not
have an answer. This does appear to be a bug. I would really like an
answer or a fix as I have wasted two weeks on this. 


#! /bin/sh
#
# Created by configure

LDFLAGS='-L/usr/lib' \
'./configure' \
'--with-mysql=/usr/local/mysql' \
'--with-xml' \
'--enable-track-vars' \
'--with-apache=../apache_1.3.31' \
'--with-gd' \
'--with-jpeg-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-png-dir=/usr/lib' \
"$@" 

 /home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c -o
ext/gd/libgd/gd_jpeg.o  && echo > ext/gd/libgd/gd_jpeg.lo
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c: In function
`fatal_jpeg_error':
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:56: error: structure has
no member named `client_data'
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c: In function
`gdImageJpegCtx':
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:114: error: structure has
no member named `client_data'
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c: In function
`gdImageCreateFromJpegCtx':
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:257: error: structure has
no member named `client_data'
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:330: error:
`jpeg_saved_marker_ptr' undeclared (first use in this function)
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:330: error: (Each
undeclared identifier is reported only once
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:330: error: for each
function it appears in.)
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:330: error: parse error
before "marker"
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:336: error: `marker'
undeclared (first use in this function)
/home/shared/php-5.0.0/ext/gd/libgd/gd_jpeg.c:336: error: structure has
no member named `marker_list'
make: *** [ext/gd/libgd/gd_jpeg.lo] Error 1


Previous Comments:
------------------------------------------------------------------------

[2004-04-12 17:01:48] smc+php at dogphilosophy dot net

Quick note - another possible cause of this problem seems 
to be multiple "libjpeg.so" files. 
 
In my case, compiling with Java support as well, and 
having a separate libjpeg.so file in the jre/lib/i386 
directory within it seems to be causing the same 
problem...

------------------------------------------------------------------------

[2002-11-21 17:11:05] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2002-11-06 08:22:50] [EMAIL PROTECTED]

First confirm that you do in fact have libjpeg library. You can do so
by running 'locate libjpeg.so'. If you have the library, please add it
to the LDFLAGS as per my earlier instructions and try to recompile
PHP.
Before doing the recompile make sure to do: rm config.cache and make
clean.

------------------------------------------------------------------------

[2002-11-05 21:29:44] luci at conexim dot com dot au

No, still the same without the flag.

------------------------------------------------------------------------

[2002-11-05 21:14:30] [EMAIL PROTECTED]

Does the compilation work correctly if you remove the --with-jpeg-dir
flag?

The purpose of that flag is to specify the directory where libjpeg can
be found, since you are not specifying the path, you might as well
leave that option out.

------------------------------------------------------------------------

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/20269

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

Reply via email to