php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58853 compile failure
Submitted: 2009-09-08 20:01 UTC Modified: 2020-04-21 17:06 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: e dot ehritt at web dot de Assigned: cmb (profile)
Status: Closed Package: mailparse (PECL)
PHP Version: 5_3 CVS-2009-09-08 (dev) OS: Gentoo/Linux 2.6.30.5
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: e dot ehritt at web dot de
New email:
PHP Version: OS:

 

 [2009-09-08 20:01 UTC] e dot ehritt at web dot de
Description:
------------
I'm unable to compile from source:

$ /home/eddi/opt/php/5.3.2-dev/bin/phpize

$ CFLAGS="-march=athlon64 -O3 -pipe -fstack-protector -fstack-protector-all" ./configure --with-php-config=/home/eddi/opt/php/5.3.2-dev/bin/php-config

$ make > /dev/null

Reproduce code:
---------------
In file included from /home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:27:
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/php_mailparse.h:100:49: error: ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory
In file included from /home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/php_mailparse.h:109,
                 from /home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:27:
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/php_mailparse_mime.h:68: error: expected specifier-qualifier-list before 'mbfl_convert_filter'
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:34:2: error: #error The mailparse extension requires the mbstring extension!
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c: In function 'zif_mailparse_determine_best_xfer_encoding':
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:887: error: variable 'bestenc' has initializer but incomplete type
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:887: error: 'mbfl_no_encoding_7bit' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:887: error: (Each undeclared identifier is reported only once
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:887: error: for each function it appears in.)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:887: error: storage size of 'bestenc' isn't known
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:903: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:905: error: 'mbfl_no_encoding_base64' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:915: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:918: warning: cast to pointer from integer of different size
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c: In function 'zif_mailparse_stream_encode':
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:953: error: storage size of 'enc' isn't known
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:954: error: 'mbfl_convert_filter' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:954: error: 'conv' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:972: error: 'mbfl_no_encoding_invalid' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:983: error: 'mbfl_no_encoding_8bit' undeclared (first use in this function)
/home/eddi/opt/src/php5.3-200909082230/ext/mailparse-2.1.5/mailparse.c:991: error: 'mbfl_no_encoding_qprint' undeclared (first use in this function)
make: *** [mailparse.lo] Fehler 1



Patches

Pull Requests

Pull requests:

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2019-02-12 21:45 UTC]
The following pull request has been associated:

Patch Name: Fix compiling by checking the installed mbstring extension
On GitHub:  https://github.com/php/pecl-mail-mailparse/pull/6
Patch:      https://github.com/php/pecl-mail-mailparse/pull/6.patch
 [2020-04-21 17:06 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-04-21 17:06 UTC] cmb@php.net
This bug has been fixed with commit 2228359[1].

[1] <https://github.com/php/pecl-mail-mailparse/commit/2228359b786375cdc4b37303f82b8d97542bc8f4>
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC