#36136 [Opn->Bgs]: Mailparse won't compile
| From: | tony2001@php.net | Date: | Mon, 23 Jan 2006 11:37:46 +0000 |
| Subject: | #36136 [Opn->Bgs]: Mailparse won't compile | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-92384@lists.php.net to get a copy of this message | ||
ID: 36136
Updated by: tony2001@php.net
Reported By: rick at revenew dot nl
-Status: Open
+Status: Bogus
Bug Type: Mailparse related
Operating System: Debian Sarge x86_64
PHP Version: 5.1.2
New Comment:
No need to report it twice.
The report in PECL bug system is enough.
Previous Comments:
------------------------------------------------------------------------
[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