php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #65320 Unable to build event extension statically into PHP - part 2
Submitted: 2013-07-23 22:13 UTC Modified: 2013-07-24 12:54 UTC
From: florin dot asavoaie at gmail dot com Assigned: osmanov (profile)
Status: Closed Package: event (PECL)
PHP Version: 5.5.1 OS: Any I think
Private report: No CVE-ID: None
 [2013-07-23 22:13 UTC] florin dot asavoaie at gmail dot com
Description:
------------
First, I apologize for opening 2 bugs related to this but they are different.

When compiling (running make), while trying to build the event extension static 
into PHP, I get the following errors:

===
In file included from /home/florin/work/php-5.5.1/ext/event/php_event.h:29,
                 from main/internal_functions_cli.c:33:
/home/florin/work/php-5.5.1/ext/event/src/common.h:90:23: error: php_event.h: No 
such file or directory
make: *** [main/internal_functions_cli.lo] Error 1
===

php_event.h is located in the root of the extensions source code, which is not 
listed in the includes list in config.m4.

Attached a patch for config.m4

Test script:
---------------
N/A

Expected result:
----------------
Build succeeds.

Actual result:
--------------
Build fails :).

Patches

php-fix-event-includes-in-static-build (last revision 2013-07-23 22:14 UTC by florin dot asavoaie at gmail dot com)

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-07-24 12:54 UTC] osmanov@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: osmanov
 [2013-07-24 12:54 UTC] osmanov@php.net
Applied the patch. Please try the Git version:

	git clone https://bitbucket.org/osmanov/pecl-event.git

If it's OK, I'll package event-1.7.2.

Thanks.
 [2013-07-25 13:05 UTC] florin dot asavoaie at gmail dot com
Seems good.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Sun May 19 16:01:26 2019 UTC