Bug #78097 [NEW]: error The mailparse extension requires the mbstring extension
| From: | mansion@php.net | Date: | Sun, 02 Jun 2019 09:46:58 +0000 |
| Subject: | Bug #78097 [NEW]: error The mailparse extension requires the mbstring extension | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-221080@lists.php.net to get a copy of this message | ||
From: mansion
Operating system: Debian 9
PHP version: 7.2.19
Package: Compile Failure
Bug Type: Bug
Bug description:error The mailparse extension requires the mbstring extension
Description:
------------
Cannot install the extension under Debian 9 with Php 7.2 Surry packages
because config fails to detect that mbstring is already installed.
Test script:
---------------
pecl install mailparse
Actual result:
--------------
checking whether to enable mailparse support... yes, shared
checking libmbfl headers... found in
/usr/include/php/20170718/ext/mbstring
...
running: make
/bin/bash /tmp/pear/temp/pear-build-rootNYhXoN/mailparse-3.0.3/libtool
--mode=compile cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootNYhXoN/mailparse-3.0.3/include
-I/tmp/pear/temp/pear-build-rootNYhXoN/mailparse-3.0.3/main
-I/tmp/pear/temp/mailparse -I/usr/include/php/20170718
-I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM
-I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext
-I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/mailparse/mailparse.c -o mailparse.lo
libtool: compile: cc -I. -I/tmp/pear/temp/mailparse -DPHP_ATOM_INC
-I/tmp/pear/temp/pear-build-rootNYhXoN/mailparse-3.0.3/include
-I/tmp/pear/temp/pear-build-rootNYhXoN/mailparse-3.0.3/main
-I/tmp/pear/temp/mailparse -I/usr/include/php/20170718
-I/usr/include/php/20170718/main -I/usr/include/php/20170718/TSRM
-I/usr/include/php/20170718/Zend -I/usr/include/php/20170718/ext
-I/usr/include/php/20170718/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c
/tmp/pear/temp/mailparse/mailparse.c -fPIC -DPIC -o .libs/mailparse.o
/tmp/pear/temp/mailparse/mailparse.c:33:2: error: #error The mailparse
extension requires the mbstring extension!
#error The mailparse extension requires the mbstring extension!
^~~~~
Makefile:198 : la recette pour la cible « mailparse.lo » a
échouée
make: *** [mailparse.lo] Erreur 1
ERROR: `make' failed
--
Edit bug report at https://bugs.php.net/bug.php?id=78097&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=78097&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=78097&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=78097&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=78097&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=78097&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=78097&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=78097&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=78097&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=78097&r=support
Expected behavior: https://bugs.php.net/fix.php?id=78097&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=78097&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=78097&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=78097&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=78097&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=78097&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=78097&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=78097&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=78097&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=78097&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=78097&r=mysqlcfg