#36136 [NEW]: Mailparse won't compile

From: Date: Mon, 23 Jan 2006 11:31:55 +0000
Subject: #36136 [NEW]: Mailparse won't compile
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92383@lists.php.net to get a copy of this message
From: rick at revenew dot nl Operating system: Debian Sarge x86_64 PHP version: 5.1.2 PHP Bug Type: Mailparse related Bug description: Mailparse won't compile 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 bug report at http://bugs.php.net/?id=36136&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36136&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36136&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36136&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36136&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36136&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36136&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36136&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36136&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36136&r=support Expected behavior: http://bugs.php.net/fix.php?id=36136&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36136&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36136&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36136&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36136&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36136&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36136&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36136&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36136&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36136&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36136&r=mysqlcfg

« previous php.bugs (#92383) next »