Greetings, for anyone who is interested, I figured out what the problem was.

After perusing my config options a few times I noticed one that was suspicious
--with-pcre-regex=/usr


I then found out these was the perl compatible regex stuff. I ended up leaving that option out and built PHP 5. After looking at the output of phpinfo() I saw that pcre was still enabled. Don't know why it was causing errors though. But at least it's solved!!



On Jul 2, 2004, at 1:19 PM, Jough P wrote:

Hi all, I'm having trouble installing PHP 5 on a Fedora Core 2 box. I get through ./configure fine but during the make I get errors like this:
ext/pcre/php_pcre.lo(.text+0x2e38):/home/jough/php-5.0.0RC3/ext/pcre/ php_pcre.c:1482: undefined reference to `php_pcre_exec'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


Looked online for a solution to no avail. Anyone know how to fix this? Below is my configure stuff
Thanks!!!


./configure --host=i386-redhat-linux'
 '--build=i386-redhat-linux'
 '--target=i386-redhat-linux-gnu'
 '--program-prefix='
 '--prefix=/usr'
 '--exec-prefix=/usr'
 '--bindir=/usr/bin'
 '--sbindir=/usr/sbin'
 '--sysconfdir=/etc'
 '--datadir=/usr/share'
 '--includedir=/usr/include'
 '--libdir=/usr/lib'
 '--libexecdir=/usr/libexec'
'--localstatedir=/var'
 '--sharedstatedir=/usr/com'
'--mandir=/usr/share/man'
'--infodir=/usr/share/info'
 '--cache-file=../config.cache'
 '--with-config-file-path=/etc'
 '--with-config-file-scan-dir=/etc/php.d'
 '--enable-force-cgi-redirect'
 '--disable-debug'
 '--enable-pic'
 '--disable-rpath'
 '--enable-inline-optimization'
 '--with-bz2'
 '--with-db4=/usr'
 '--with-curl
' '--with-exec-dir=/usr/bin'
 '--with-freetype-dir=/usr'
 '--with-png-dir=/usr'
 '--with-gd'
 '--enable-gd-native-ttf'
 '--without-gdbm'
 '--with-gettext'
 '--with-ncurses'
'--with-gmp'
'--with-iconv'
 '--with-jpeg-dir=/usr'
'--with-openssl'
'--with-png' '--with-pspell'
'--with-regex=system'
'--with-xml'
'--with-expat-dir=/usr'
'--with-dom=shared,/usr'
'--with-dom-xslt=/usr'
'--with-dom-exslt=/usr'
'--with-xmlrpc=shared'
'--with-pcre-regex=/usr'
'--with-zlib'
'--with-layout=GNU'
'--enable-bcmath'
'--enable-exif'
'--enable-ftp'
'--enable-magic-quotes'
'--enable-safe-mode'
'--enable-sockets'
'--enable-sysvsem'
'--enable-sysvshm'
'--enable-track-vars'
'--enable-trans-sid'
'--enable-yp'
'--enable-wddx'
'--with-pear=/usr/share/pear'
'--with-imap=shared'
'--with-imap-ssl'
'--with-kerberos'
'--with-ldap=shared'
'--with-mysql=shared,/usr'
'--with-pgsql=shared'
'--with-snmp=shared,/usr'
'--with-snmp=shared'
'--enable-ucd-snmp-hack'
'--with-unixODBC=shared,/usr'
'--enable-memory-limit'
 '--enable-bcmath'
'--enable-shmop'
'--enable-calendar'
'--enable-dbx'
'--enable-dio'
'--enable-mcal'
'--enable-mbstring'
'--enable-mbstr-enc-trans'
'--enable-mbregex'
'--with-apxs2=/usr/sbin/apxs'

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to