Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 39020 - Cannot compile some PECL packages due missing headers from mbstring (libmfl or mbfilter) library from PHP
Summary: Cannot compile some PECL packages due missing headers from mbstring (libmfl o...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: PHP Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-22 03:56 UTC by Javier Villavicencio (RETIRED)
Modified: 2004-03-28 14:10 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Javier Villavicencio (RETIRED) gentoo-dev 2004-01-22 03:56:19 UTC
Some packages that requires the file:
/usr/include/php/ext/mbstring/libmbfl/mbfl/mbfilter.h
Will not compile since it's not installed neither from:
dev-php/php
dev-php/mod_php
dev-php/php-cgi
The package that failed was: dev-php/PECL-mailparse


Reproducible: Always
Steps to Reproduce:
1. emerge php or mod_php or php-cgi or all of them
2. emerge PECL-mailparse
3. big missing header + lot of error output.

Actual Results:  
copying these files from source tarball solves the problem.

Expected Results:  
install these files correctly.

Portage 2.0.49-r21 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.6.1-gentoo-r1)
=================================================================
System uname: 2.6.1-gentoo-r1 i686 Intel(R) Celeron(R) CPU 2.50GHz
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -frename-registers -fprefetch-loop-arrays
-finline-limit=600 -mfpmath=sse,387 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -frename-registers -fprefetch-loop-arrays
-finline-limit=600 -mfpmath=sse,387 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://sunsite.cnlab-switch.ch/ftp/mirror/gentoo/ 
http://ftp.snt.utwente.nl/pub/os/linux/gentoo
http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.mirror.sdv.fr
http://ftp.lug.ro/gentoo
ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo
http://gentoo.tiscali.nl/gentoo/ ftp://ftp.tiscali.nl/pub/mirror/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="apache2 apm arts avi berkdb crypt cups curl encode foomaticdb gd
gd-external gdbm gif gtk2 imap imlib imlib2 java jpeg libg++ libwww mad maildir
mbox mikmod mmx mng motif mpeg mysql ncurses nls nptl oggvorbis opengl oss pam
pdflib perl png python quicktime readline sdl slang sse ssl tcpd tiff truetype
x86 xml2 xmms xv zlib"
Comment 1 Stuart Herbert (RETIRED) gentoo-dev 2004-03-28 14:10:07 UTC
Hrm ... PECL_mailparse is broken anyway, relying on an internal PHP include file like that.  Especially as mbstring isn't guaranteed to be compiled into PHP to start off with, *and* mbfilter can (theoretically at least) be a totally external library not compiled into PHP either.

I've committed a new version of the php-sapi.eclass, to install this include file into /usr/include/php.  It should show up on your local rsync mirror in about an hour or so.  Look for v1.14 of this file.

If you re-emerge php-4.3.4-r4, and then emerge PECL_mailparse, hopefully things will work for you.  Please test, and let me know how you get on.  I've also added v2.0b of PECL_mailparse for you.

Best regards,
Stu