ID:               22754
 User updated by:  unix-guy at pacbell dot net
 Reported By:      unix-guy at pacbell dot net
-Status:           Feedback
+Status:           Open
 Bug Type:         MySQL related
 Operating System: HP-UX 11.11
 PHP Version:      4.3.2RC1
 New Comment:

Yes, assuming I can get the proper version, I plan on doing that.
However, its a commercial product so I can't just go download it :)


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

[2003-03-18 20:03:41] [EMAIL PROTECTED]

So maybe you could install the fixed version of the compiler
then? And make sure we don't waste time on fixing something
that isn't broken.. :)



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

[2003-03-18 12:04:45] unix-guy at pacbell dot net

I wanted to try this out for you, but was having problems getting past
the "configure" stage of compiling MySQL (3.23.56 since I couldn't get
3.23.55). 

In trying to resolve the problem, I was looking at their configure
script and found this (by accident):


  if test "$ac_cv_type_char" = yes; then
  # The cast to unsigned long works around a bug in the HP C Compiler
  # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  # This bug is HP SR number 8606223364.
  if test "$cross_compiling" = yes; then
  # Depending upon the size, compute the lo and hi bounds.


I am wondering if this might not be the same problem I am seeing? I am
using a version of the compiler compiler that predates the mentioned
bug-fix.

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

[2003-03-18 00:47:49] [EMAIL PROTECTED]

MySQL 4.0.12 becomes stable within the next days (currently they have
to build and check the packages for various platforms). So I prefer to
wait and add 4.0.12 lib then.

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

[2003-03-17 19:47:18] [EMAIL PROTECTED]

Does this happen when you compile mysql 3.23.55 ?
(It looks like it's fixed there..)

We propably should upgrade our bundled mysql client library,
but please let us know that this doesn't happen with the 3.23.55
first.


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

[2003-03-17 18:48:44] unix-guy at pacbell dot net

Using the bundled mysql and php4-STABLE-200303131630 with HP's ANSI C
compiler, I get the following error, which exits the compile:

        /bin/sh
/users/global/cokm/build/php4-STABLE-200303131630/libtool --silent
--preserve-dup-deps --mode=compile cc
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql
-Iext/mysql/
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/
-DPHP_ATOM_INC
-I/users/global/cokm/build/php4-STABLE-200303131630/include
-I/users/global/cokm/build/php4-STABLE-200303131630/main
-I/users/global/cokm/build/php4-STABLE-200303131630
-I/users/global/cokm/build/php4-STABLE-200303131630/Zend
-I/util/bin/libs/HP11.11/zlib-1.1.4/include
-I/util/bin/libs/HP11.11/jpeg-6b/include
-I/util/bin/libs/HP11.11/libpng-1.2.4/include
-I/util/bin/libs/HP11.11/freetype-2.1.2/include
-I/util/bin/libs/HP11.11/freetype-2.1.2/include/freetype2
-I/util/bin/libs/HP11.11/gd-1.8.4/include -I/oracle/v8174p/rdbms/public
-I/oracle/v8174p/rdbms/demo
-I/users/global/cokm/build/php4-STABLE-200303131630/ext/xml/expat 
-I/users/global/cokm/build/php4-STABLE-200303131630/TSRM  -g 
-prefer-pic -c
/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c
-o ext/mysql/libmysql/my_tempnam.lo 
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 99: warning 524: Cast (non-lvalue) appears on left-hand side of
assignment.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 99: error 1549: Modifiable lvalue required for assignment
operator.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 105: warning 524: Cast (non-lvalue) appears on left-hand side of
assignment.
cc:
"/users/global/cokm/build/php4-STABLE-200303131630/ext/mysql/libmysql/my_tempnam.c",
line 105: error 1549: Modifiable lvalue required for assignment
operator.
*** Error exit code 1

Stop.


I have looked for other bugs related to this problem and don't see any
(I did see many refering to a security issue), although maybe I've
missed something. 



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


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

Reply via email to