#21896 [Opn->Fbk]: Compile warning for Mysql

From: Date: Mon, 27 Jan 2003 08:34:04 +0000
Subject: #21896 [Opn->Fbk]: Compile warning for Mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-31316@lists.php.net to get a copy of this message
ID: 21896 Updated by: sniper@php.net Reported By: thetamail@rediffmail.com -Status: Open +Status: Feedback Bug Type: Compile Failure Operating System: RH linux 7.2 PHP Version: 4.3.0 New Comment: So you say it didn't work for 2 first times, but the 3rd one worked? That would really mean there are some problems in your system rather than anything wrong with PHP.. Previous Comments: ------------------------------------------------------------------------ [2003-01-27 02:32:42] thetamail@rediffmail.com with configuration the output is # make clean # rm config.cache # ./configure --disable-all --disable-cgi # make ---------------Start o 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/geto pt.lo main/internal_functions_cli.lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php ----End This completes but what about support'S ------------------------------------------------------------------------ [2003-01-27 02:17:04] thetamail@rediffmail.com i tried the said by sniper@php.net 2 to 3 times then at last the output was / If this is successfull make then what about pgsql and Mysql and other support -------------------------- d/zend_indent.lo Zend/zend_builtin_functions.lo Zend/zend_sprintf.lo Zend/zend_i ni.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Zend/zend_execute.lo sapi/cli/ph p_cli.lo sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lresolv -lm -ldl -lnsl -lcrypt -o sapi/cli/php ------------------------------------------------------------------------ [2003-01-27 02:16:18] sniper@php.net gcc 2.96? iirc, that has some serious issues..anyway, try same again, but use this configure line: # make clean # rm config.cache # ./configure --disable-all --disable-cgi # make To minimize the compiled stuff to minimum.. ------------------------------------------------------------------------ [2003-01-27 02:01:38] thetamail@rediffmail.com sorry the apache version is Apache/1.3.27 the gcc version is gcc version 2.96 20000731 ---------------------------------------- I did as you said but got a new error here is the output ----------------- START FROM HERE d_hash.lo Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo Z end/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo Zend/zend_multibyte.lo Z end/zend_execute.lo sapi/apache/sapi_apache.lo sapi/apache/mod_php4.lo sapi/apac he/php_apache.lo main/internal_functions.lo -lcrypt -lresolv -lm -ldl -lnsl -lcr ypt -o libphp4.la ext/standard/array.lo: file not recognized: File truncated collect2: ld returned 1 exit status gmake: *** [libphp4.la] Error 1 -----------Ends ------------------------------------------------------------------------ [2003-01-27 01:41:17] sniper@php.net First of all, the warning for mysql part is harmless and can be ignored. The other one is an error.. Your configure line is broken for starters, you don't specify the path for apxs correctly. (notice the space between --with-apxs= and the path..) What gcc version you have? And try this: # make clean ; rm config.cache # ./configure --with-apxs=/usr/local/apache/bin/apxs --disable-all # make And let us know the result. ------------------------------------------------------------------------ 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/21896 -- Edit this bug report at http://bugs.php.net/?id=21896&edit=1

« previous php.bugs (#31316) next »