|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #6521 phpize or related broken: no Makefile produced after ./configure
Submitted: 2000-09-03 22:20 UTC Modified: 2000-10-09 11:42 UTC
From: troels at arvin dot dk Assigned:
Status: Closed Package: *General Issues
PHP Version: 4.0 Latest CVS (03/09/2000) OS: Red Hat Linux 6.2
Private report: No CVE-ID: None
 [2000-09-03 22:20 UTC] troels at arvin dot dk
This has worked in PHP 4 releases prior to 4.0.2:

After a PHP install, you could copy a PHP extension like gettext (which is properly prepared for being a self-contained extension) to a temporary directory and do
./configure --with-gettext=shared

This produced a working Makefile.
An example of another extension that would work like this: zlib.

Since 4.0.2, the phpize+./configure steps do not produce a Makefile.
If the extension's is copied to Makefile and the following lines

How PHP was installed:
Grabbed latest CVS, to ./buildconf and "./configure --with-apxs=/usr/sbin/apxs"; make install

On other words: A quite normal installation without any bells/whistles.

The only file which seems to be missing is the Makefile.
If is copied to Makefile and the following lines are added in the beginning of the file, then the self-contained extension compiles without errors:

top_srcdir   = .
top_builddir = $(top_srcdir)
srcdir       = $(top_srcdir)/
builddir     = $(top_srcdir)/
VPATH        = $(top_srcdir)/


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2000-10-09 11:42 UTC]
already fixed in CVS, per 4.0.3RC2

PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Aug 20 14:01:47 2019 UTC