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: -
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 1 (0.0%)
From: e dot ehritt at web dot de Assigned:
Status: Open 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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
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

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC