php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6870 ./configure fails
Submitted: 2000-09-24 03:21 UTC Modified: 2000-10-28 23:27 UTC
From: support at oeko dot net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.2 OS: Debian GNU Linux 2.2
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: support at oeko dot net
New email:
PHP Version: OS:

 

 [2000-09-24 03:21 UTC] support at oeko dot net
I tried to configure PHP like this:

#!/bin/sh

./configure --with-mysql --with-apache=../apache_1.3.12 \
        --enable-track-vars --enable-calendar                   \
        --with-mod_charset --with-servlet                       \
        --with-config-file-path=/etc/php4/apache                \
        --with-gdbm=/usr --with-db2                             \
        --enable-ftp                                            \
        --with-ldap --with-pgsql                        \
        --with-readline --enable-trans-sid --with-openssl       \
        --enable-sockets --enable-sysvsem --enable-sysvshm      \
        --enable-versioning --with-gnu-ld


(actually, this is a cut&paste from a small shell script
so I don't have to type this in anytime I run configure)




Running this in a pristine directory, created by
tar xzvf php-4.0.2.tar.gz, results in (lots of
messages clipped):

...
checking for isnan... no
checking whether fp_except is defined... no
checking whether to enable C9x-inline semantics... no
checking whether to enable experimental ZTS... yes
checking whether to enable inline optimization for GCC... no
checking whether to enable a memory limit... no
checking whether to enable Zend debugging... no
checking for c++... c++
checking whether the C++ compiler (c++   -Wl,-rpath,/lib -L/lib) works... no
configure: error: installation or configuration problem: C++ compiler cannot create executables.


Of course this is not true, and at some point I had
it also compile cleanly after mangling the ./configure,
but I'm no expert at that, and it broke soon afterwards.




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-06 20:21 UTC] sniper@php.net
What is in debug.log ? I think it fails because you are missing
some libraries or configure doesn't find them.

Also, please try latest snapshot from http://snaps.php.net
this might be fixed already.

--Jani
 [2000-10-28 23:27 UTC] sniper@php.net
No feedback. Please update to PHP 4.0.3pl1 and reopen this bug report
if problem still exists.

--Jani
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sat Oct 10 20:00:02 2026 UTC