Re: PHP Build Issues on Soalris 9
| From: | Jochem Maas | Date: | Wed, 20 Jul 2005 16:12:15 +0000 |
| Subject: | Re: PHP Build Issues on Soalris 9 | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-219052@lists.php.net to get a copy of this message | ||
Chuck Carson wrote:
On 7/20/05, Jochem Maas <jochem@iamjochem.com> wrote:but after the tweak it builds without errors but still gives segfault? which worker module are you using with apache2? you have to use the prefork module due to some non-threadsafe extensions in php (_IIRC_ Rasmus said that its practically speaking impossible to know exactly what,where,why) ... but you probably know that also :-/ <simpleton-idea> maybe try building with php 5.0.2 or 5.0.3 to see if the problem 'goes away' (for now)? </simpleton-idea> also have you tried running apache thru gdb and see what it spits out when the segfault occurs? (regarding gdb, I can just about find the executable, using it is another matter!)Chuck Carson wrote:Yea, it is complaining about the wrong ELF type for the oracle libs. I have to manually tweak the Makefile, chaging product/10.2/lib to product/10.2/lib32 to get it to compile correctly. (even though LDFLAGS has the lib32 directory it still doesnt pick it up correctly)Okay, something I just noticed. (PHP builds fine, including make test) I see this after running configure: Generating files updating cache ./config.cache creating ./config.status creating php5.spec creating main/build-defs.h creating scripts/phpize creating scripts/php-config creating sapi/cli/php.1 creating main/php_config.h creating main/internal_functions.c creating main/internal_functions_cli.c +--------------------------------------------------------------------+I'm following your problem in the hope I can learn something but I'm not able to help really....| *** ATTENTION *** | | | | Something is likely to be messed up here, because the configure || script was not able to detect a simple feature on your platform. | | This is often caused by incorrect configuration parameters. Please || see the file debug.log for error messages. |I am configuring with this: adcinfops01:/usr/local/src/php-5.0.4 #./configure --prefix=/usr/local/php-5.0.4 --with-apxs2=/usr/local/apache2/bin/apxs --enable-cli --enable-cgi --with-openssl=/usr/local/ssl --with-zlib --with-zlib-dir=/usr/local/lib --with-bz2 --enable-dio --with-gd --with-gettext --with-mysql=/usr/local/mysql --with-mysql-sock=/tmp/mysql.sock --enable-sockets --with-oci8=/u01/app/oracle/product/10.2 --enable-sigchild LDFLAGS="-L/usr/local/mysql/lib/mysql -L/u01/app/oracle/product/10.2/lib32 -L/usr/local/ssl/lib -L/usr/local/lib" How can I determine what it thinks is missing?....I take it you have looked in debug.log (whereever it lives) for error messages? most probably you have, but it may have been 5am ;-)Thx, CC
-CC