php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #56851 cant install mailparse due to missing headers
Submitted: 2006-02-21 14:10 UTC Modified: 2008-01-08 15:10 UTC
From: nirva-php at ishiboo dot com Assigned:
Status: Duplicate Package: mailparse (PECL)
PHP Version: 5.1.2 OS: linux
Private report: No CVE-ID: None
 [2006-02-21 14:10 UTC] nirva-php at ishiboo dot com
Description:
------------
PHP 5.1.2 (cli) (built: Feb 20 2006 01:12:25)

same thing as http://pecl.php.net/bugs/bug.php?id=3516

i build php, with --enable-mbstring=all, and then pecl install mailparse

it seems the headers were forgotten

Reproduce code:
---------------
build php 5.1.2 with:

./configure --prefix=/usr/local/web --with-apxs2=/usr/local/web/bin/apxs --with-sqlite=/usr --without-pdo-sqlite --enable-mbstring

then pecl install mailparse



Expected result:
----------------
install mailparse

Actual result:
--------------
 gcc -I. -I/tmp/tmp10zohK/mailparse-2.1.1 -DPHP_ATOM_INC -I/var/tmp/pear-build-root/mailparse-2.1.1/include -I/var/tmp/pear-build-root/mailparse-2.1.1/main -I/tmp/tmp10zohK/mailparse-2.1.1 -I/usr/local/web/include/php -I/usr/local/web/include/php/main -I/usr/local/web/include/php/TSRM -I/usr/local/web/include/php/Zend -I/usr/local/web/include/php/ext -DHAVE_CONFIG_H -g -O2 -c /tmp/tmp10zohK/mailparse-2.1.1/mailparse.c  -fPIC -DPIC -o .libs/mailparse.o
In file included from /tmp/tmp10zohK/mailparse-2.1.1/mailparse.c:27:
/tmp/tmp10zohK/mailparse-2.1.1/php_mailparse.h:86:49: ext/mbstring/libmbfl/mbfl/mbfilter.h: No such file or directory
In file included from /tmp/tmp10zohK/mailparse-2.1.1/php_mailparse.h:95,
                 from /tmp/tmp10zohK/mailparse-2.1.1/mailparse.c:27:


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-21 14:13 UTC] nirva-php at ishiboo dot com
switching to correct version
 [2006-02-21 14:21 UTC] nirva-php at ishiboo dot com
[/usr/local/web/include/php/ext/mbstring] # cp -a /usr/local/src/php-5.1.2/ext/mbstring/libmbfl/mbfl .

that fixed my situation but i assume php should install those headers for me
 [2006-10-10 16:00 UTC] judas dot iscariote at gmail dot com
see the latest comment here to solve this problem.

http://pecl.php.net/bugs/bug.php?id=6239
 [2008-01-08 15:10 UTC] shire@php.net
Looks to be the same as #6239 so marking this as a dup, please reference #6239 regarding this issue.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC