#23173 [NEW]: --with-mysql constantly fails
| From: | herps at raqtweak dot com | Date: | Fri, 11 Apr 2003 19:17:22 +0000 |
| Subject: | #23173 [NEW]: --with-mysql constantly fails | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-37577@lists.php.net to get a copy of this message | ||
From: herps at raqtweak dot com
Operating system: RedHat 9.0
PHP version: 4.3.1
PHP Bug Type: Compile Failure
Bug description: --with-mysql constantly fails
When I compile PHP 4.3.1 on RedHat 9.0 with Apache 2.0.45 with the
following config:
--
./configure --prefix=/usr --with-apxs2=/etc/httpd/bin/apxs
--enable-safe-mode --with-config-path=/etc/httpd --with-exec-dir=/usr/bin
--with-zlib --enable-magic-quotes --enable-xml --enable-ftp
--with-libdir=/usr/lib --with-ldap --with-mysql
--
I constantly get the following when I run "make":
====
end_constants.lo Zend/zend_dynamic_array.lo Zend/zend_execute_API.lo
Zend/zend_highlight.lo Zend/zend_llist.lo Zend/zend_opcode.lo
Zend/zend_operators.lo Zend/zend_ptr_stack.lo Zend/zend_stack.lo
Zend/zend_variables.lo Zend/zend.lo Zend/zend_API.lo
Zend/zend_extensions.lo Zend/zend_hash.lo Zend/zend_list.lo
Zend/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo
Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo
Zend/zend_execute.lo sapi/cli/php_cli.lo sapi/cli/getopt.lo
main/internal_functions_cli.lo -lldap -llber -lz -lcrypt -lresolv -lm -ldl
-lnsl -lcrypt -o sapi/cli/php
ext/mysql/libmysql/my_tempnam.lo(.text+0x4c): In function `my_tempnam':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:103: the
use of
tempnam' is dangerous, better use mkstemp'
ext/mysql/libmysql/my_lib.lo(.text+0x3d1): In function `my_dir':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_lib.c:169: undefined
reference to `errno'
ext/mysql/libmysql/my_lib.lo(.text+0x5ef): In function `my_stat':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_lib.c:588: undefined
reference to `errno'
ext/mysql/libmysql/my_malloc.lo(.text+0xde): In function `my_malloc':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_malloc.c:24:
undefined reference to `errno'
ext/mysql/libmysql/my_realloc.lo(.text+0xd5): In function `my_realloc':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_realloc.c:44:
undefined reference to `errno'
ext/mysql/libmysql/my_delete.lo(.text+0x86): In function `my_delete':
/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_delete.c:16:
undefined reference to `errno'
ext/mysql/libmysql/my_tempnam.lo(.text+0x89):/home/software/httpd/php-4.3.1/ext/mysql/libmysql/my_tempnam.c:108:
more undefined references to `errno' follow
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Fout 1
====
When I set it to --without-mysql everything works fine.
I tried mySQL 3.53.54a and 4.0
Keeps failing right there...
Any clues what so ever?
--
Edit bug report at http://bugs.php.net/?id=23173&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=23173&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=23173&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=23173&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=23173&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=23173&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=23173&r=support
Expected behavior: http://bugs.php.net/fix.php?id=23173&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=23173&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=23173&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=23173&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23173&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=23173&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=23173&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=23173&r=gnused