|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36136 Mailparse won't compile
Submitted: 2006-01-23 12:31 UTC Modified: 2007-04-04 18:27 UTC
From: rick at revenew dot nl Assigned:
Status: Not a bug Package: Unknown/Other Function
PHP Version: 5.1.2 OS: Debian Sarge x86_64
Private report: No CVE-ID: None
 [2006-01-23 12:31 UTC] rick at revenew dot nl
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
( 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:
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


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/' - /usr/local/php5-ext/
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.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-23 12:37 UTC]
No need to report it twice.
The report in PECL bug system is enough.
 [2006-01-23 12:43 UTC] rick at revenew dot nl
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.
PHP Copyright © 2001-2018 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC