ID: 23330
User updated by: news105 at guidoni dot com
Reported By: news105 at guidoni dot com
-Status: Bogus
+Status: Open
Bug Type: MySQL related
Operating System: RHL 9.0 Shrike - everything inst
PHP Version: 4.3.1
New Comment:
bogus? whatever. gcc 3.2.2 is being distributed with rhl9
and 2.9.6 is what came with rhl7. does it require a 486?
i appreciate your efforts, but wonder why one would suggest
that the latest version of their software is somehow not
fubar relative to a 4 year old version of someone elses.
is it that php is only stable when used with an os > 4
years old?
Previous Comments:
------------------------------------------------------------------------
[2003-04-24 12:43:42] sniper@php.net
Get a working compiler. (gcc 2.95.3 works fine here, anything higher is
fubar)
------------------------------------------------------------------------
[2003-04-24 12:37:35] jay@php.net
What version of MySQL are you using? I tried out a fresh
CVS checkout with 3.23.38 and it seemed to work okay.
J
------------------------------------------------------------------------
[2003-04-24 11:29:00] news105 at guidoni dot com
i forgot to mention that i did do a rpmbuild --rebuild --
target i686-redhat-linux for mysql and httpd (apache).
many thanks for your efforts.
--michele
------------------------------------------------------------------------
[2003-04-24 11:01:38] news105 at guidoni dot com
i read http://bugs.php.net/bug.php?id=22346 and
downloaded
the latest snapshot, php4-200304241530. i do a simple
./configure
then a
make
it gives this output and fails:
[previous lines deleted]
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_tempnam.c:103: the use of `tempnam' is dangerous, better
use `mkstemp'
ext/mysql/libmysql/my_lib.o(.text+0x37a): In function
`my_dir':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_lib.c:169: undefined reference to `errno'
ext/mysql/libmysql/my_lib.o(.text+0x546): In function
`my_stat':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_lib.c:588: undefined reference to `errno'
ext/mysql/libmysql/my_malloc.o(.text+0xbd): In function
`my_malloc':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_malloc.c:24: undefined reference to `errno'
ext/mysql/libmysql/my_realloc.o(.text+0xb4): In function
`my_realloc':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_realloc.c:44: undefined reference to `errno'
ext/mysql/libmysql/my_delete.o(.text+0x6d): In function
`my_delete':
/root/junk/php4-200304241530/ext/mysql/libmysql/
my_delete.c:16: undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.o(.text+0x79):/root/junk/
php4-200304241530/ext/mysql/libmysql/my_tempnam.c:108: more
undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
[root@gandalf php4-200304241530]# rpm -qa |grep glbic
------------------------------------------------------------------------
[2003-04-24 10:41:03] jay@php.net
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
This looks like a duplicate of 22346
(http://bugs.php.net/bug.php?id=22346), and it appears to
be fixed.
J
------------------------------------------------------------------------
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/23330--
Edit this bug report at http://bugs.php.net/?id=23330&edit=1