php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4403 System always assumes mysql
Submitted: 2000-05-11 13:56 UTC Modified: 2000-06-24 11:10 UTC
From: richards at herald dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0 Release Candidate 2 OS: AIX 4.3.3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: richards at herald dot net
New email:
PHP Version: OS:

 

 [2000-05-11 13:56 UTC] richards at herald dot net
PHP was configured with the following string:

  ./configure
    --with-apache=/usr/local/src/apache_1.3.11
    --disable-debug
    --enable-track-vars
    --with-informix=/usr/informix

However, the config_vars.mk file contains references to mysql libraries.  The build fails immediately upon entering ext/mysql -- due to the fact that mysql is not installed on this machine (and won't be).

Removing all references to mysql from the config_vars.mk file allows PHP to compile, but once the following Apache build hits src/modules I get the following errors:

        cc  -DAIX=43 -U__STR__ -DAIX_BIND_PROCESSOR -qnogenpcomp -qnousepcomp -I/usr/local/src/php-4.0RC2 -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2/Zend -I/usr/local/src/php-4.0RC2 -DUSE_EXPAT -I./lib/expat-lite -DNO_DL_NEEDED `./apaci` -lm    -o httpd buildmark.o modules.o  modules/php4/libphp4.a  modules/standard/libstandard.a  main/libmain.a  ./os/unix/libos.a  ap/libap.a  lib/expat-lite/libexpat.a  -R/informix/lib -R/informix/lib/esql -R/usr/local/src/php-4.0RC2/ext/informix  -L/informix/lib -L/informix/lib/esql -L/usr/local/src/php-4.0RC2/ext/informix -Lmodules/php4 -L../modules/php4 -L../../modules/php4 -lmodphp4   -ldl -lbind -lm -ldl -lcrypt  -lifsql -lifasf -lifgen -lifos -lifgls -ltli -lmsaa -lbsd -lphp_ifx -lifglx 
ld: 0706-027 The -R /informix/lib flag is ignored.
ld: 0706-027 The -R /informix/lib/esql flag is ignored.
ld: 0706-027 The -R /usr/local/src/php-4.0RC2/ext/informix flag is ignored.
ld: 0711-317 ERROR: Undefined symbol: .alloca
ld: 0711-317 ERROR: Undefined symbol: .safe_free_zval_ptr
ld: 0711-317 ERROR: Undefined symbol: .zend_assign_to_variable_reference
ld: 0711-317 ERROR: Undefined symbol: .i_zend_is_true
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_clear_multiple
ld: 0711-317 ERROR: Undefined symbol: .zend_ptr_stack_get_arg
ld: 0711-317 ERROR: Undefined symbol: .is_numeric_string
ld: 0711-317 ERROR: Undefined symbol: mysql_module_entry
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.

I haven't tracked down the source of all of the errors, but I was a little concerned to see mysql_module_entry showing up there as well.  I had to do some manual work in the PHP 4b3 build to correct the alloca issues, so I'll work through the whole stack and report back.  This may or may not be a partially related issue.

Of these, I would consider the mysql assumptions in the initial PHP4 build by far the most troubling.

-Richard Stanford
 richards@herald.net

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-05-13 06:18 UTC] sas at cvs dot php dot net
Disable MySQL using --without-mysql

Let us know whether that fixes the problems you see.
 [2000-06-24 11:10 UTC] joey at cvs dot php dot net
No feedback, closing.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 01:01:30 2024 UTC