ID:               37103
 User updated by:  Fedora at FamilleCollet dot com
 Reported By:      Fedora at FamilleCollet dot com
-Status:           Closed
+Status:           Open
 Bug Type:         mbstring related
 Operating System: Linux (Fedora)
-PHP Version:      5.1.2
+PHP Version:      5.1.6
 New Comment:

Still present in php-5.1.6 (only half corrected)

Patch :
--- ext/mbstring/config.m4.orig 2006-07-24 18:07:44.000000000 +0200
+++ ext/mbstring/config.m4      2006-07-24 18:08:03.000000000 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Even present in php-5.2.0RC5-dev (missing only one file : mbfl_defs.h)

Patch :
--- ext/mbstring/config.m4.orig 2006-09-18 17:46:08.000000000 +0200
+++ ext/mbstring/config.m4      2006-09-18 17:47:08.000000000 +0200
@@ -302,7 +302,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/config.h
libmbfl/mbfl/eaw_table.h libmbfl/mbfl/mbfilter.h
libmbfl/mbfl/mbfilter_8bit.h libmbfl/mbfl/mbfilter_pass.h
libmbfl/mbfl/mbfilter_wchar.h libmbfl/mbfl/mbfl_allocators.h
libmbfl/mbfl/mbfl_consts.h libmbfl/mbfl/mbfl_convert.h
libmbfl/mbfl/mbfl_defs.h* libmbfl/mbfl/mbfl_encoding.h
libmbfl/mbfl/mbfl_filter_output.h libmbfl/mbfl/mbfl_ident.h
libmbfl/mbfl/mbfl_language.h libmbfl/mbfl/mbfl_memory_device.h
libmbfl/mbfl/mbfl_string.h ])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi
 
 # vim600: sts=2 sw=2 et


Previous Comments:
------------------------------------------------------------------------

[2006-04-17 22:14:35] [EMAIL PROTECTED]

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.



------------------------------------------------------------------------

[2006-04-17 12:07:35] Fedora at FamilleCollet dot com

Here is the little patch i use witch solve the problem
Hope this help.

--- ext/mbstring/config.m4.orig 2006-04-17 12:41:13.000000000 +0200
+++ ext/mbstring/config.m4      2006-04-17 12:42:55.000000000 +0200
@@ -293,7 +293,7 @@
   dnl libmbfl is required
   PHP_MBSTRING_SETUP_LIBMBFL
   PHP_MBSTRING_EXTENSION
-  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl libmbfl/mbfl])
+  PHP_INSTALL_HEADERS([ext/mbstring], [libmbfl/ libmbfl/mbfl/])
 fi

 # vim600: sts=2 sw=2 et

------------------------------------------------------------------------

[2006-04-17 12:05:14] Fedora at FamilleCollet dot com

Description:
------------
"make install" doesn't install headers of libmbfl in 
/usr/include/php/ext/mbstring/libmbfl/

They are required to build somme PECL extensions.
For exemple mailparse, see bug #36136.


Reproduce code:
---------------
find /usr/include/php/ext/mbstring/ -name \*.h

Expected result:
----------------
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_8bit.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/eaw_table.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_wchar.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter_pass.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_filter_output.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_allocators.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_consts.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_convert.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_defs.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_encoding.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_memory_device.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_ident.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_language.h
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfl_string.h
/usr/include/php/ext/mbstring/libmbfl/config.h


Actual result:
--------------
/usr/include/php/ext/mbstring/libmbfl/config.h


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37103&edit=1

Reply via email to