php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38556 If configure is performed, it will become an error in reflection relation
Submitted: 2006-08-23 03:45 UTC Modified: 2006-08-23 09:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: elf@php.net Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.2.0RC2 OS: Linux
Private report: No CVE-ID: None
 [2006-08-23 03:45 UTC] elf@php.net
Description:
------------
If configure is performed, it will become an error in reflection relation.
A reason is in reflection-related processing.

  if test "$PHP_REFLECTION" != "no"; then
>>   if test "$ext_shared" = "yes"; then  
       { echo "configure: error: Cannot build reflection as a shared module" 1>&2; exit 1; }
  fi

"$ext_shared" had been used by other modules, but it is not initialized for reflection.

ex)
./configure --with-recode=shared (Result:Failure)
./configure --with-recode        (Result:Success)

I think that I do not need to check "$ext_shared" for reflection.


Reproduce code:
---------------
./configure --with-recode=shared

Expected result:
----------------
I want configure to be successful.


Actual result:
--------------
$ ./configure --with-recode=shared
creating cache ./config.cache
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for egrep... grep -E
checking for a sed that does not truncate output... /bin/sed
(snip)
checking for getgroups... yes
checking for makedev... no
checking for initgroups... yes
checking for PSPELL support... no
checking for libedit readline replacement... no
checking for readline support... no
checking for recode support... yes, shared
checking for recode_format_table in -lrecode... yes
checking for stdbool.h... yes
checking whether to enable reflection support... yes
configure: error: Cannot build reflection as a shared module


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-23 09:47 UTC] tony2001@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 09:01:31 2024 UTC