ID: 19639
User updated by: [EMAIL PROTECTED]
Reported By: [EMAIL PROTECTED]
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Slackware 8.1 - Linux 2.4.19
PHP Version: 4.2.3 and CVS-snaps
New Comment:
Yes, I'm trying with shared zlib. Isn't it supported? Why?
(compiling with --with-zlib)...
Great! It's compiled and apache didn't crash with restart!
Guess we can close this issue, right?!
Previous Comments:
------------------------------------------------------------------------
[2002-10-03 19:15:26] [EMAIL PROTECTED]
Are you trying to compile with --with-zlib=shared.... ?
------------------------------------------------------------------------
[2002-10-03 08:35:43] [EMAIL PROTECTED]
Well I could just make one test. I seems that the bug is solved.
However I wasn't able to make full tests because I couldn't compile the
CVS snapshot with all the extensions I need. It seems to be tied to gd
and zlib. Well both exists and the compilation works for CVS-STABLE
versions, so I guess this is not my fault. The CVS-STABLE versions
keeps the bug of this thread.
I've got the following error:
<snip>
In function `php_handle_swc':
/usr/src/ServerSoftware/PHP/php4-200210030300/ext/standard/image.c:224:
undefined reference to `uncompress'
/usr/src/ServerSoftware/PHP/php4-200210030300/ext/standard/image.c:243:
undefined reference to `uncompress'
main/SAPI.lo: In function `sapi_header_op':
/usr/src/ServerSoftware/PHP/php4-200210030300/main/SAPI.c:522:
undefined reference to `zlib_globals'
main/SAPI.lo: In function `sapi_send_headers':
/usr/src/ServerSoftware/PHP/php4-200210030300/main/SAPI.c:669:
undefined reference to `zlib_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
</snip>
------------------------------------------------------------------------
[2002-10-01 11:23:03] [EMAIL PROTECTED]
Oh, sorry.
The 3 times expat may have been a copy/paste problem, my script looks
correct.
For the png and jpeg, may have been a messy when trying to compile with
gd 2+ support (no way to get it!).
And finally the shared, is because I didn't find references about which
options supports it or not.
sorry again...
------------------------------------------------------------------------
[2002-10-01 11:05:15] [EMAIL PROTECTED]
Leave this to 'Feedback' status until that so we know it..
Anyway, your configure line is pretty wierd and a bit bad too, for
example, you use 'shared' for some options that don't support it (e.g.
--with-zlib-dir and --with-expat-dir)
and you use wrong paths for --with-png-dir and --with-jpeg-dir (remove
the '/lib' part).
And there's no need to specify --with-expat-dir 3 times..
You could try also configuring non-shared modules and see if it works
any better. If so, then try applying the 'shared' part one by one to
see where it fails.
------------------------------------------------------------------------
[2002-10-01 08:51:13] [EMAIL PROTECTED]
Well the last two CVS versions I tried (one 2 minutes ago and another
yesterday) showed me the following error in configure:
checking external libexpat install dir... yes
configure: error: not found. Please reinstall the expat distribution.
This, trying with that second compile (the bigger) line I posted
before. Also tried especifying the full path, including the "lib".
Another thing to remember is that that directory is under my ld.so.conf
and a ldconfig have references to that.
Now compiling with the shortest configure line...
Hmmm seems that works!!!
Just a note, when compiling I got the following message:
ext/mysql/libmysql/my_tempnam.lo: In function `my_tempnam':
/usr/src/ServerSoftware/PHP/php4-200210010300/ext/mysql/libmysql/my_tempnam.c:105:
the use of `tempnam' is dangerous, better use `mkstemp'
I'll leave this opened until next thursday and try other compilations,
ok?
------------------------------------------------------------------------
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/19639
--
Edit this bug report at http://bugs.php.net/?id=19639&edit=1