php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #58584 Won't compile on fedora 10 / missing mbstring
Submitted: 2009-03-11 21:39 UTC Modified: 2014-12-30 10:41 UTC
From: spam2 at rhsoft dot net Assigned:
Status: No Feedback Package: mailparse (PECL)
PHP Version: 5.2.5 OS: Fedora 10 x86_64
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: spam2 at rhsoft dot net
New email:
PHP Version: OS:

 

 [2009-03-11 21:39 UTC] spam2 at rhsoft dot net
Description:
------------
Since 2.1.5 compile fails with "missing mbstring"
The problem is that mbstring is installed but shipped as extra package "php-mbstring

Until 2.1.4 there was no problem

gcc -I. -I/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5 -DPHP_ATOM_INC -I/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5/include -I/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5/main -I/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -I/usr/include/php -DHAVE_CONFIG_H -O3 -march=native -mtune=native -mmmx -msse2 -fopenmp -pipe -fno-strict-aliasing -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -c /home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5/php_mailparse_rfc822.c  -fPIC -DPIC -o .libs/php_mailparse_rfc822.o                                                                                 
/home/builduser/rpmbuild/BUILD/php-pecl-mailparse-2.1.5/mailparse.c:34:2: error: #error The mailparse extension requires the mbstring extension!                                                  
make: *** [mailparse.lo] Error 1                                                                 
make: *** Waiting for unfinished jobs....                                                        
Fehler: Fehler-Status beim Beenden von /var/tmp/rpm-tmp.qwVtb1 (%build)       


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-03-16 23:39 UTC] shire@php.net
If you comment out line 34 of mailparse.c does this recompile and work for you as expected?
 [2009-03-17 04:45 UTC] spam2 at rhsoft dot net
Thank you!
This works for me
T think this should work without patching the source because other distributions as fedora also ships subpackages for php

[root@buildserver:/buildserver/autotest]$ ./start.php mailparse
OK: mail - send 745e9bd8118320514204bcb9e2d8caaa
OK: mail - pop3 connect
OK: mail - pop3 Anzahl Nachrichten: 12
IGNORED: test - 5f291767f77e9356e2e44d84e7e15dc6
IGNORED: test - 4e342d839a552cd0cc8141da1d2d370f
IGNORED: test - 710488fabac104967de2a8c7bde2d0c2
IGNORED: test - 45d71a4e3be7e23f76ba9c7f9b22ab6a
IGNORED: test - 84d4c8eee6384bc493f5cfc6b92ed4f2
IGNORED: test - 9a204c6b5ccee6121671caaf10e682e9
IGNORED: test - 95b35f2c308cbc588650362b648d8d0e
IGNORED: test - 24bafffb134c0cb83cb022ff7f9e1372
IGNORED: test - af27505bd595468a39156f6e2a599352
IGNORED: test - 2e4d8983248e41ae9962545b61f66c1e
IGNORED: test - 31f7bd0fa014cf0154983480c945518c
MATCHED: test - 745e9bd8118320514204bcb9e2d8caaa
Auto-Test
745e9bd8118320514204bcb9e2d8caaa

[root@buildserver:/buildserver/autotest]$ rpm -qa | grep mailparse
php-pecl-mailparse-2.1.5-8.fc9.rh.x86_64
 [2009-09-21 10:55 UTC] olivier at le-floch dot fr
I have just encountered this problem with macports, which has 
recently taken to packaging php extensions as separate 
packages.
 [2014-07-13 02:34 UTC] yohgaki@php.net
-Status: Open +Status: Feedback
 [2014-07-13 02:34 UTC] yohgaki@php.net
Is this still an issue?
 [2014-07-14 10:51 UTC] spam2 at rhsoft dot net
no, see more than 5 years old comment 2009-03-17 04:45
 [2014-12-30 10:41 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 13:01:30 2024 UTC