php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: troels at arvin dot dk
New email:
PHP Version: OS:

 

 [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
phpize
./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 Makefile.in 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.


Analysis:
The only file which seems to be missing is the Makefile.
If Makefile.in 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)/

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC