#45870 [NEW]: Floating point exception/opt/apache2/bin/httpd -l

[email protected] ("solo at krovatka dot su")
Newsgroups php.bugs
Message-ID <[email protected]>
From:             solo at krovatka dot su
Operating system: SuSe ES 10 2.6.16.21-0.8-bigsmp
PHP version:      5.2CVS-2008-08-20 (snap)
PHP Bug Type:     Compile Failure
Bug description:  Floating point exception/opt/apache2/bin/httpd -l

Description:
------------
I have apache compilled and working version httpd-2.2.8.
and perl  v5.8.8 
when I'm trying to compile php I'm getting the following error:
Sorry, I cannot run apxs.  Possible reasons follow:

1. Perl is not installed
2. apxs was not found. Try to pass the path using
--with-apxs2=/path/to/apxs
3. Apache was not built using --enable-so (the apxs usage page is
displayed)
The output of /opt/apache2/bin/apxs follows:
sh: line 1:  3074 Floating point exception/opt/apache2/bin/httpd -l
apxs:Error: Sorry, no shared object support for Apache.
apxs:Error: available under your platform. Make sure.
apxs:Error: the Apache module mod_so is compiled into.
apxs:Error: your server binary `/opt/apache2/bin/httpd'..
configure: error: Aborting
make: *** [php-5.2.5/Makefile] Error 1

My makefile contains following keys:
$(PHP_MAKEFILE): Makefile
        @cd $(PHP_SRC_DIR) \
        && CFLAGS=-s ./configure \
                --with-libdir=$(LIBDIR)         \
                --with-apxs2=$(APXS)                    \
                --with-oci8=$(ORACLE_HOME)              \
                --with-pdo-oci=$(ORACLE_HOME)   \
                --disable-cgi                                   \
                --enable-mbstring                               \
                --enable-gd-native-ttf                  \
                --enable-ftp                                    \
                --enable-sockets                                \
                --with-curl                                             \
                --with-xsl                                              \
                --with-iconv                                    \
                --with-zlib                                             \
                --with-gd                                               \
                --with-freetype-dir

I've googled 100 places already but still can't find anything similar.
Will be very glad if I get any hint how to resolve this.


-- 
Edit bug report at http://bugs.php.net/?id=45870&edit=1
-- 
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=45870&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=45870&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=45870&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45870&r=fixedcvs
Fixed in release:             http://bugs.php.net/fix.php?id=45870&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45870&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45870&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45870&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45870&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45870&r=notwrong
Not enough info:              http://bugs.php.net/fix.php?id=45870&r=notenoughinfo
Submitted twice:              http://bugs.php.net/fix.php?id=45870&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45870&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45870&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45870&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45870&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45870&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45870&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45870&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45870&r=mysqlcfg
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.