Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 205677 - dev-lang/php fails to use internal function "preg_match_all()"
Summary: dev-lang/php fails to use internal function "preg_match_all()"
Status: RESOLVED DUPLICATE of bug 186031
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-13 18:16 UTC by Joachim Holst
Modified: 2008-01-13 21:54 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 Joachim Holst 2008-01-13 18:16:02 UTC
While trying to install egroupware, I found out that PHP is somewhat f?cked. It can not find the internal function "preg_match_all()". This is strange. I've been reading around on the internet about it and it seems to be related to pcre. Have activated the pcre use-flag for php but this does not help.

Current config:
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r5 x86_64)
=================================================================
System uname: 2.6.22-gentoo-r5 x86_64 AMD Athlon(tm) 64 Processor 3200+
Timestamp of tree: Sat, 12 Jan 2008 20:30:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.10-r5
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.61-r1
sys-devel/automake:  1.6.3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.23-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /tc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks fixpackages metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stas --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="   "
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3dnow acpi amd64 apache2 async automount berkdb bzip2 cddb cdr cgi clamav cli cracklib crypt ctype cups dvb dvdr fastbuild fomaticdb force-cgi-redirect ftp gd gif hal hash iconv idn imap ipv6 jpeg lm_sensors maildir memlimit mime mmap mmx mysql ncurses nl pam pdo php pic pie png posix postgres ppds quotas readline reflection samba session simplexml slang soap sockets spl sqlite sse se2 ssl threads tokenizer truetype unicode usb v4l winbind x264 xinetd xml xmlreader xmlwriter xsl zlib" ALSA_CARDS="ali5451 als400 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x      ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 rident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks ec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_baic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_ower authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers iden imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_htp rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" ERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm rk chips cirrus cyrix dummy fbdev glint i128 i810 mach64        mga neomagic nv r128 radeon rendition s3 s3virge savage siliconmoton sis  sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTAGE_COMPRESS, PORTAGE_OMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS


Egroupware version:
www-apps/egroupware-1.4.002





Reproducible: Always

Steps to Reproduce:
1. emerge egroupware
2. http://{installed.host.name}/egroupware
3.  Fatal error: Call to undefined function preg_match_all() in /var/www/localhost/htdocs/egroupware/setup/inc/class.Template.inc.php on line 124

Actual Results:  
See error message in step3 above.

Expected Results:  
Some type of web-page to continue the setup of egroupware.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2008-01-13 21:54:37 UTC
This is not a support forum, please move this to an appropriate place. 

http://www.gentoo.org/main/en/support.xml


*** This bug has been marked as a duplicate of bug 186031 ***