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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 23:01:27 2024 UTC