ID: 36136 User updated by: rick at revenew dot nl Reported By: rick at revenew dot nl Status: Bogus Bug Type: Mailparse related Operating System: Debian Sarge x86_64 PHP Version: 5.1.2 New Comment:
The bug in was reported over a month ago in the PECL bug system, and there was no response at all. I was hoping this would be read a bit more actively. Previous Comments: ------------------------------------------------------------------------ [2006-01-23 12:37:45] [EMAIL PROTECTED] No need to report it twice. The report in PECL bug system is enough. ------------------------------------------------------------------------ [2006-01-23 12:31:45] rick at revenew dot nl Description: ------------ Mailparse won't compile, it's missing mbfilter headers. PHP is compiled with --enable-mbstring and --with-libmfl. It looks identical to PECL bug 3516 (http://pecl.php.net/bugs/bug.php?id=3516) which is closed. This bug is also reported on the PECL bugsystem (bug 6239). Reproduce code: --------------- In file included from /home/rick/mailparse-2.1.1/mailparse.c:27: /home/rick/mailparse-2.1.1/php_mailparse.h:86:49: ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory In file included from /home/rick/mailparse-2.1.1/php_mailparse.h:95, from /home/rick/mailparse-2.1.1/mailparse.c:27: /home/rick/mailparse-2.1.1/php_mailparse_mime.h:68: error: syntax error before "mbfl_convert_filter" /home/rick/mailparse-2.1.1/php_mailparse_mime.h:68: warning: no semicolon at end of struct or union /home/rick/mailparse-2.1.1/php_mailparse_mime.h:82: error: syntax error before '}' token /home/rick/mailparse-2.1.1/mailparse.c: In function `mimepart_dtor': /home/rick/mailparse-2.1.1/mailparse.c:120: error: dereferencing pointer to incomplete type /home/rick/mailparse-2.1.1/mailparse.c:120: error: dereferencing pointer to incomplete type etc... I tried copying the mbstring directory from the php source tree to the includes dir. Now mailparse seems to compile fine, but the compiled module won't load: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/php5-ext/mailparse.so' - /usr/local/php5-ext/mailparse.so: undefined symbol: OnUpdateString in Unknown on line 0 Expected result: ---------------- A working mailparse module Actual result: -------------- Mailparse won't compile, after copying mbstring headers by hand, a module compiles, but it won't load. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=36136&edit=1