#21151 [Com]: zlib and pcre as external modules don't work

2003-01-13 Thread oden . eriksson
 ID:   21151
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Dynamic loading
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC4
 New Comment:

Jean-Michel

Yes I am ;)

But if these extensions can't be built as a loadable dso, you shouldn't
be able to use "=shared". This is really extreme stuff and I doubt
people would use this configure line.


Previous Comments:


[2003-01-07 10:27:49] [EMAIL PROTECTED]

Confirmed same issue on Solaris 8 for version 4.3.0.  I do agree that
zlib is not that large and can be compiled into php (hit after reading
that suggestion!) but still the option is there and does not work...



[2003-01-03 02:26:36] [EMAIL PROTECTED]

Oden, you're a modularization maniac ;-)

Some extensions, like ftp, session, zlib and pcre should really remain
in the PHP core, since:
1) they don't need extra libraries (try to install an RPM without
libz.so ;-)
2) they are really small and don't add extra weigth to PHP
3) users need them and will complain if they're not installed by
default (trust me on this one!)

Jean-Michel



[2002-12-23 02:53:24] [EMAIL PROTECTED]

Too many modules rely on zlib and pcre, the best thing would be to
disallow them to be compiled as shared module. For now: just don't do
it :)

Derick



[2002-12-22 19:18:39] [EMAIL PROTECTED]

Hi.

zlib and pcre won't build as external modules. Here's my configure
line:


./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \
--without-p

#21153 [Com]: readline won't be built as an external module

2003-01-13 Thread oden . eriksson
 ID:   21153
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Readline related
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC4
 New Comment:

No, it's because ncurses stuff isn't present in readline for Mandrake.
I found the error and sent a patch a while back to the cooker list, it
went ignored (that's not unusual).

Well, here's the fix anyway:

http://www.mandrake.com/en/archives/cooker/2002-12/msg01367.php

Chears.


Previous Comments:


[2003-01-12 16:00:37] [EMAIL PROTECTED]

This looks to be related to readline includes in /usr/include and the
actualy libraries being installed in /lib so they are available for
applications such as bash during boot up when /usr may not be
available.



[2003-01-07 12:57:20] [EMAIL PROTECTED]

It does not work with:
cd ext/readline;phpize;aclocal
./configure --with-readline
[--SNIP--]
checking for libedit readline replacement... yes, shared
checking for readline support... yes, shared
checking for tgetent in -lncurses... yes
checking for readline in -lreadline... no
configure: error: readline library not found

The problem is it checks for tgetent in -lncurses, but it doesn't add
the lib 
in the $LIBS variable.

I have the GNU readline library, version 4.3

I managed to get it work, but then, it also insists on checking *both*
readline and libedit.

So I installed libedit, and the same problem with the -lncurses
appeared.

Seems to me someone should check the config.m4



[2002-12-22 19:29:40] [EMAIL PROTECTED]

Hi.

(sorry, this one was accidently also filed as #21152, I forgot to
change the summary...)

readline won't build as a external module. Here's my configure line
that don't work:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-i

#21625 [NEW]: --with-config-file-scan-dir

2003-01-13 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake Linux 9.0/Cooker
PHP version:  4.3.0
PHP Bug Type: PHP options/info functions
Bug description:  --with-config-file-scan-dir

Hi.

This "--with-config-file-scan-dir=/etc/php" is wierd. When compiled as in
Mandrake Linux 9.0/Cooker the included files from /etc/php/ is randomly
listed when viewed in phpinfo(). Here's an example:

This phpinfo.html file was generated from a build from source:
http://d-srv.com/Cooker/PRE/phpinfo.html

This phpinfo.html file was generated from a RPM build as in/for Mandrake
Linux 9.0/Cooker: http://d-srv.com/Cooker/phpinfo.html

Also I noticed that php scans recursivly in this /etc/php/ directory which
is not very nice (or maybe it's per design?).

Chears.
-- 
Edit bug report at http://bugs.php.net/?id=21625&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21625&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=21625&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=21625&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21625&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=21625&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=21625&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=21625&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=21625&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=21625&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=21625&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21625&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=21625&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=21625&r=isapi
Install GNU Sed:http://bugs.php.net/fix.php?id=21625&r=gnused




#19973 [Com]: compile zlib and pcre as shared fails

2002-11-27 Thread oden . eriksson
 ID:   19973
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Compile Failure
 Operating System: RedHat 7.2 (kernel 2.4.19)
 PHP Version:  4CVS-2002-10-18
 New Comment:

Same thing on Mandrake 9.0


Previous Comments:


[2002-10-18 05:37:21] [EMAIL PROTECTED]

I've tried to complile additional modules for as shared with the latest
snap (18.10.2002) http://snaps.php.net/php4-latest.tar.gz and the
operation failed - the same with php version 4.2.3 produces all chosen
modules without any problems
here's what I've done:

./configure --with-apache=/usr/src/apache_1.3.27
--with-mysql=shared,/usr --enable-dba=shared --with-db3=/usr
--with-gd=shared --with-zlib=shared,/usr --with-pcre-regex=shared
--with-curl=shared,/usr --enable-bcmath=shared --enable-posix=shared 
--enable-calendar=shared --enable-ctype=shared --enable-filepro=shared 
--enable-shmop=shared  --enable-sysvsem=shared  --enable-sysvshm=shared
--with-xml=shared  --enable-wddx=shared  --with-domxml=shared,/usr
--enable-ftp=shared  --enable-sockets=shared   --enable-yp=shared 
--enable-dbase=shared  --enable-exif=shared

and then:
make

and I've got this error:
ext/standard/image.o: In function `php_handle_swc':
/usr/src/php-4.3.0-021018/ext/standard/image.c:222: undefined reference
to `uncompress'
/usr/src/php-4.3.0-021018/ext/standard/image.c:242: undefined reference
to `uncompress'
ext/standard/aggregation.o: In function `aggregate_methods':
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:103: undefined
reference to `pcre_get_compiled_regex'
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:126: undefined
reference to `php_pcre_exec'
ext/standard/aggregation.o: In function `aggregate_properties':
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:209: undefined
reference to `pcre_get_compiled_regex'
/usr/src/php-4.3.0-021018/ext/standard/aggregation.c:232: undefined
reference to `php_pcre_exec'
main/SAPI.o: In function `sapi_header_op':
/usr/src/php-4.3.0-021018/main/SAPI.c:519: undefined reference to
`zlib_globals'
main/SAPI.o: In function `sapi_send_headers':
/usr/src/php-4.3.0-021018/main/SAPI.c:668: undefined reference to
`zlib_globals'
/usr/src/php-4.3.0-021018/main/SAPI.c:669: undefined reference to
`zlib_globals'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1


without options:
--with-zlib=shared,/usr --with-pcre-regex=shared 
the whole thing compiles fine




-- 
Edit this bug report at http://bugs.php.net/?id=19973&edit=1




#20755 [NEW]: exif relocation error

2002-12-01 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake 9.0
PHP version:  4.3.0RC2
PHP Bug Type: Unknown/Other Function
Bug description:  exif relocation error

apache2 CVS-20021202

Here's my configure line:

#export MYFLAGS="-O3 -fomit-frame-pointer -pipe  -march=`uname -m`
-mcpu=`uname -m` -ffast-math -fno-strength-reduce"
export CFLAGS="$MYFLAGS -fPIC"
export LIBS="-lttf -lfreetype -lpng -ljpeg -lz -lnsl"
export EXTENSION_DIR="/usr/local/php4/lib/php/extensions"
export IMAP_SHARED_LIBADD="-lc-client -lssl -lcrypto"
#export READLINE_SHARED_LIBADD="-lreadline"
export PROG_SENDMAIL="/var/qmail/bin/usendmail"
#export WANT_AUTOCONF_2_5="1"

if ! [ -f ./configure ]; then ./buildconf; fi

#exit 1

#make distclean

./configure \
--prefix=/usr/local/php4 \
--sysconfdir=/etc \
--with-apxs2=/usr/sbin/apxs \
--with-layout=GNU \
--with-config-file-path=/etc/httpd/conf \
--with-openssl=shared,/usr \
--enable-magic-quotes \
--disable-rpath \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--enable-inline-optimization \
--with-zlib \
--without-aspell \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--with-jpeg-dir=shared,/usr \
--with-tiff-dir=shared,/usr \
--with-curl=shared,/usr \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--with-db3=shared,/usr \
--with-db4=shared,/usr \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr \
--with-dom-xslt=shared,/usr \
--with-dom-exslt=shared,/usr \
--enable-ftp \
--with-gd=shared \
--with-jpeg-dir=shared,/usr \
--with-png-dir=shared,/usr \
--with-ttf=shared,/usr \
--with-freetype-dir=shared,/usr \
--with-t1lib=shared,/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--with-imap=shared,/usr \
--with-imap-ssl=shared,/usr \
--with-ldap=shared,/usr \
--with-mcrypt=shared,/usr \
--with-mhash=shared,/usr \
--enable-mime_magic=shared,/usr \
--with-ming=shared,/usr \
--with-mysql=shared,/usr \
--with-unixODBC=shared,/usr \
--with-jpeg-dir=shared,/usr \
--with-png-dir=shared,/usr \
--with-tiff-dir=shared,/usr \
--with-pgsql=shared,/usr \
--with-pspell=shared,/usr \
--with-recode=shared,/usr \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=system \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx=shared \
--with-xmlrpc=shared,/usr \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--enable-yp \
--with-zip=shared,/usr \
--with-xpm-dir=shared,/usr/X11R6/lib/ \
--enable-mbstring=shared \
--enable-mbregex=shared \
--enable-exif=shared \
--enable-overload=shared \
--enable-tokenizer=shared \
--enable-mime-magic=shared \
--enable-shared

#--with-dbm=shared,/usr \
#--with-vpopmail=shared,/home/vpopmail \
#--with-xpm-dir=shared,/usr \
#--with-pcre-regex=shared,/usr \
#--with-qtdom=shared,/usr \
#--with-expat-dir=shared,/usr \
#--with-readline=shared,/usr \


And here's the error:


/usr/local/php4/bin/php: relocation error:
/usr/local/php4/lib/php/extensions/exif.so: undefined symbol:
php_mb_check_encoding_list




-- 
Edit bug report at http://bugs.php.net/?id=20755&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20755&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=20755&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=20755&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20755&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=20755&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=20755&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=20755&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=20755&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=20755&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=20755&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20755&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=20755&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=20755&r=isapi




#20755 [Com]: exif relocation error

2002-12-01 Thread oden . eriksson
 ID:   20755
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Verified
 Bug Type: mbstring related
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC2
 New Comment:

What a fast reply!

I have fixed my configure line now, but when I tried to enable readline
support I got:

checking for readline in -lreadline... no
configure: error: readline library not found

Gotta continue with this tomorrow.


Previous Comments:


[2002-12-01 21:33:32] [EMAIL PROTECTED]

And btw. you shouldn't try outsmarting the configure with all those
LIBS/CFLAGS you're defining before running configure..

And read the 'configure --help' sometimes. Some configuration options
DO NOT SUPPORT 'shared' at all.
(like --with-xpm-dir)

Building anything as shared is pretty much asking for trouble, just
build what you need and don't use the shared modules.




[2002-12-01 21:31:07] [EMAIL PROTECTED]

If you compile mbstring as static module, you can workaround this
error. It's not very good idea to enable it anyway..

For the mbstring authors: You should decide whether or not to allow
external usage of these functions (ie. in other extensions) or disable
the building of this extension as shared altogether..
 



[2002-12-01 21:22:39] [EMAIL PROTECTED]

apache2 CVS-20021202

Here's my configure line:

#export MYFLAGS="-O3 -fomit-frame-pointer -pipe  -march=`uname -m`
-mcpu=`uname -m` -ffast-math -fno-strength-reduce"
export CFLAGS="$MYFLAGS -fPIC"
export LIBS="-lttf -lfreetype -lpng -ljpeg -lz -lnsl"
export EXTENSION_DIR="/usr/local/php4/lib/php/extensions"
export IMAP_SHARED_LIBADD="-lc-client -lssl -lcrypto"
#export READLINE_SHARED_LIBADD="-lreadline"
export PROG_SENDMAIL="/var/qmail/bin/usendmail"
#export WANT_AUTOCONF_2_5="1"

if ! [ -f ./configure ]; then ./buildconf; fi

#exit 1

#make distclean

./configure \
--prefix=/usr/local/php4 \
--sysconfdir=/etc \
--with-apxs2=/usr/sbin/apxs \
--with-layout=GNU \
--with-config-file-path=/etc/httpd/conf \
--with-openssl=shared,/usr \
--enable-magic-quotes \
--disable-rpath \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--enable-inline-optimization \
--with-zlib \
--without-aspell \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--with-jpeg-dir=shared,/usr \
--with-tiff-dir=shared,/usr \
--with-curl=shared,/usr \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--with-db3=shared,/usr \
--with-db4=shared,/usr \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr \
--with-dom-xslt=shared,/usr \
--with-dom-exslt=shared,/usr \
--enable-ftp \
--with-gd=shared \
--with-jpeg-dir=shared,/usr \
--with-png-dir=shared,/usr \
--with-ttf=shared,/usr \
--with-freetype-dir=shared,/usr \
--with-t1lib=shared,/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--with-imap=shared,/usr \
--with-imap-ssl=shared,/usr \
--with-ldap=shared,/usr \
--with-mcrypt=shared,/usr \
--with-mhash=shared,/usr \
--enable-mime_magic=shared,/usr \
--with-ming=shared,/usr \
--with-mysql=shared,/usr \
--with-unixODBC=shared,/usr \
--with-jpeg-dir=shared,/usr \
--with-png-dir=shared,/usr \
--with-tiff-dir=shared,/usr \
--with-pgsql=shared,/usr \
--with-pspell=shared,/usr \
--with-recode=shared,/usr \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=system \
--enable-sysvmsg \
--enable-sysvsem \
--enable-sysvshm \
--enable-wddx=shared \
--with-xmlrpc=shared,/usr \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--enable-yp \
--with-zip=shared,/usr \
--with-xpm-dir=shared,/usr/X11R6/lib/ \
--enable-mbstring=shared \
--enable-mbregex=shared \
--enable-exif=shared \
--enable-overload=shared \
--enable-tokenizer=shared \
--enable-mime-magic=shared \
--enable-shared

#--with-dbm=shared,/usr \
#--with-vpopmail=shared,/home/vpopmail \
#--with-xpm-dir=shared,/usr \
#--with-pcre-regex=shared,/usr \
#--with-qtdom=shared,/usr \
#--with-expat-dir=shared,/usr \
#--with-readline=shared,/usr \


And here's the error:


/usr/local/php4/bin/php: relocation error:
/usr/local/php4/lib/php/extensions/exif.so: undefined symbol:
php_mb_check_encoding_list








-- 
Edit this bug report at http://bugs.php.net/?id=20755&edit=1




#20755 [Com]: exif relocation error

2002-12-03 Thread oden . eriksson
 ID:   20755
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Verified
 Bug Type: mbstring related
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC2
 New Comment:

readline still wasn't found so I had to disable it. I was not able to
build zlib as a shared module.

Here's my new configure line:

'./configure' '--prefix=/usr/local/php4' '--sysconfdir=/etc'
'--with-apxs2=/usr/sbin/apxs' '--with-layout=GNU'
'--with-config-file-path=/etc/httpd/conf' '--with-openssl=shared,/usr'
'--enable-magic-quotes' '--disable-rpath' '--enable-force-cgi-redirect'
'--disable-debug' '--enable-pic' '--enable-inline-optimization'
'--with-zlib' '--without-aspell' '--with-bz2=shared,/usr'
'--enable-calendar=shared' '--with-jpeg-dir=shared,/usr'
'--with-tiff-dir=shared,/usr' '--with-curl=shared,/usr'
'--enable-dba=shared,/usr' '--with-gdbm=shared,/usr'
'--with-db3=shared,/usr' '--with-db4=shared,/usr'
'--with-cdb=shared,/usr' '--with-flatfile=shared'
'--enable-dbx=shared,/usr' '--enable-dio=shared,/usr'
'--with-dom=shared,/usr' '--with-dom-xslt=shared,/usr'
'--with-dom-exslt=shared,/usr' '--enable-ftp=shared' '--with-gd=shared'
'--with-jpeg-dir=shared,/usr' '--with-png-dir=shared,/usr'
'--with-ttf=shared,/usr' '--with-freetype-dir=shared,/usr'
'--with-t1lib=shared,/usr' '--enable-gd-native-ttf'
'--with-gettext=shared,/usr' '--with-gmp=shared,/usr'
'--with-imap=shared,/usr' '--with-imap-ssl=shared,/usr'
'--with-ldap=shared,/usr' '--with-mcrypt=shared,/usr'
'--with-mhash=shared,/usr' '--enable-mime_magic=shared,/usr'
'--with-ming=shared,/usr' '--with-mysql=shared,/usr'
'--with-unixODBC=shared,/usr' '--with-jpeg-dir=shared,/usr'
'--with-png-dir=shared,/usr' '--with-tiff-dir=shared,/usr'
'--with-pgsql=shared,/usr' '--with-pspell=shared,/usr'
'--with-recode=shared,/usr' '--with-snmp=shared,/usr'
'--enable-ucd-snmp-hack' '--enable-sockets=shared'
'--with-regex=system' '--enable-sysvmsg=shared'
'--enable-sysvsem=shared' '--enable-sysvshm=shared'
'--enable-wddx=shared' '--with-xmlrpc=shared,/usr'
'--enable-xslt=shared,/usr' '--with-xslt-sablot=shared,/usr'
'--enable-yp=shared' '--with-zip=shared,/usr'
'--with-xpm-dir=/usr/X11R6/lib/' '--enable-mbregex=shared'
'--enable-overload=shared' '--enable-tokenizer=shared'
'--enable-ctype=shared' '--enable-mime-magic=shared' '--enable-shared'

I ran make test and let it send the test by e-mail.


Previous Comments:


[2002-12-01 22:10:24] [EMAIL PROTECTED]

What a fast reply!

I have fixed my configure line now, but when I tried to enable readline
support I got:

checking for readline in -lreadline... no
configure: error: readline library not found

Gotta continue with this tomorrow.



[2002-12-01 21:33:32] [EMAIL PROTECTED]

And btw. you shouldn't try outsmarting the configure with all those
LIBS/CFLAGS you're defining before running configure..

And read the 'configure --help' sometimes. Some configuration options
DO NOT SUPPORT 'shared' at all.
(like --with-xpm-dir)

Building anything as shared is pretty much asking for trouble, just
build what you need and don't use the shared modules.




[2002-12-01 21:31:07] [EMAIL PROTECTED]

If you compile mbstring as static module, you can workaround this
error. It's not very good idea to enable it anyway..

For the mbstring authors: You should decide whether or not to allow
external usage of these functions (ie. in other extensions) or disable
the building of this extension as shared altogether..
 



[2002-12-01 21:22:39] [EMAIL PROTECTED]

apache2 CVS-20021202

Here's my configure line:

#export MYFLAGS="-O3 -fomit-frame-pointer -pipe  -march=`uname -m`
-mcpu=`uname -m` -ffast-math -fno-strength-reduce"
export CFLAGS="$MYFLAGS -fPIC"
export LIBS="-lttf -lfreetype -lpng -ljpeg -lz -lnsl"
export EXTENSION_DIR="/usr/local/php4/lib/php/extensions"
export IMAP_SHARED_LIBADD="-lc-client -lssl -lcrypto"
#export READLINE_SHARED_LIBADD="-lreadline"
export PROG_SENDMAIL="/var/qmail/bin/usendmail"
#export WANT_AUTOCONF_2_5="1"

if ! [ -f ./configure ]; then ./buildconf; fi

#exit 1

#make distclean

./configure \
--prefix=/usr/local/php4 \
--sysconfdir=/etc \
--with-apxs2=/usr/sbin/apxs \
--with-layout=GNU \
--with-config-file-path=/etc/httpd/conf \
--with-openssl=shared,/usr \
--enable-magic-quotes \
--disable-rpath \
--enable-force-cgi-redirect \
--disable-debug \
--enable-pic \
--enable-inline-optimization \
--with-zlib \
--without-aspell \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--with-jpeg-dir=shared,/usr \
--with-tiff-dir=shared,/usr \
--with-curl=shared,/usr \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--with-db3=shar

#20751 [Com]: Mail: undefined function

2002-12-08 Thread oden . eriksson
 ID:   20751
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Open
 Bug Type: Mail related
 Operating System: Linux Redhat 7.2
 PHP Version:  4.3.0RC2
 New Comment:

Hi.

This works:

export PROG_SENDMAIL="/var/qmail/bin/sendmail"

(but it's a workaround)


Previous Comments:


[2002-12-05 12:12:39] [EMAIL PROTECTED]

Could you gzip config.log and configure and mail them to me?



[2002-12-05 12:02:54] [EMAIL PROTECTED]

Yes, it produces "yes"

Andrea Busia



[2002-12-03 08:53:15] [EMAIL PROTECTED]

Yes, it produces "yes"

Andrea Busia



[2002-12-03 06:59:36] [EMAIL PROTECTED]

I'll rephrase, y'honnor:
Does:
if test -f /usr/sbin/sendmail; then echo yes; fi
Produce:
"yes"

Please note: /usr/sbin/sendmail - not /usr/bin/sendmail.



[2002-12-03 06:48:20] [EMAIL PROTECTED]

It works well

but the previous config.log section is without the symlink (as
requested) in /usr/bin/sendmail but only in /usr/sbin and /usr/lib

with the symlink all works well.



The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/20751

-- 
Edit this bug report at http://bugs.php.net/?id=20751&edit=1




#20887 [NEW]: /php.ini

2002-12-08 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrqke Linux 9.0
PHP version:  4.3.0RC2
PHP Bug Type: Unknown/Other Function
Bug description:  /php.ini

If /php.ini exists, that one is used no matter what PHPRC env is set or
compiled in when starting up apache from a SysV script. Is it a bug in
php, or could it be the Mandrake Linux 9.0 system?
-- 
Edit bug report at http://bugs.php.net/?id=20887&edit=1
-- 
Try a CVS snapshot: http://bugs.php.net/fix.php?id=20887&r=trysnapshot
Fixed in CVS:   http://bugs.php.net/fix.php?id=20887&r=fixedcvs
Fixed in release:   http://bugs.php.net/fix.php?id=20887&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=20887&r=needtrace
Try newer version:  http://bugs.php.net/fix.php?id=20887&r=oldversion
Not developer issue:http://bugs.php.net/fix.php?id=20887&r=support
Expected behavior:  http://bugs.php.net/fix.php?id=20887&r=notwrong
Not enough info:http://bugs.php.net/fix.php?id=20887&r=notenoughinfo
Submitted twice:http://bugs.php.net/fix.php?id=20887&r=submittedtwice
register_globals:   http://bugs.php.net/fix.php?id=20887&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20887&r=php3
Daylight Savings:   http://bugs.php.net/fix.php?id=20887&r=dst
IIS Stability:  http://bugs.php.net/fix.php?id=20887&r=isapi




#20887 [Com]: /php.ini

2002-12-09 Thread oden . eriksson
 ID:   20887
 Comment by:   [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
 Status:   Bogus
 Bug Type: Unknown/Other Function
 Operating System: Mandrqke Linux 9.0
 PHP Version:  4.3.0RC2
 New Comment:

I have now tried this using apache_1.3.27 + php-4.2.3 (from Mandrake
Cooker) and are experiencing the same thing. I have no idea how to
debug this further, all I can say is if /php.ini exists, values from
that one shows up from phpinfo() called from a php file. I just
stumbled upon this by accident.


Previous Comments:


[2002-12-08 22:14:46] [EMAIL PROTECTED]

Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.





[2002-12-08 16:22:17] [EMAIL PROTECTED]

I can't see that /php.ini is used here, but php/php-cli.ini is used,
i.e. a file relative to the place from where PHP was started. 
With PHPRC=/xizzy I get:

# strace -eopen php -r 'echo "bla";' 2>&1|grep ini
open("php/php-cli.ini", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file
or directory)
open("/xizzy/php-cli.ini", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such
file or directory)
open("/usr/local/lib/php-cli.ini", O_RDONLY|O_LARGEFILE) = 3
open("/usr/local/lib/php/browscap/browscap.ini", O_RDONLY|O_LARGEFILE)
= 3

And if php/php-cli.ini is there, PHP only reads that one. This is with
4.3.0-cvs from today, and I don't have Mandrake here (once upon a time,
it was a SuSE Linux).



[2002-12-08 14:53:59] [EMAIL PROTECTED]

If /php.ini exists, that one is used no matter what PHPRC env is set or
compiled in when starting up apache from a SysV script. Is it a bug in
php, or could it be the Mandrake Linux 9.0 system?




-- 
Edit this bug report at http://bugs.php.net/?id=20887&edit=1




#21151 [NEW]: zlib and pcre as external modules don't work

2002-12-22 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake 9.0
PHP version:  4.3.0RC4
PHP Bug Type: Unknown/Other Function
Bug description:  zlib and pcre as external modules don't work

Hi.

zlib and pcre won't build as external modules. Here's my configure line:


./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock
--with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \
--without-pcre-regex \
--with-pcre-regex=shared,/usr \
--without-pdflib --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-tiff-dir=/usr \
--without-pfpro \
--with-pgsql=shared,/usr \
--enable-posix=shared \
--with-pspell=shared,/usr \
--without-qtdom \
--without-libedit \
--without-readline \
--with-recode=shared,/usr \
--enable-session=shared \
--without-mm \
--enable-shmop=shared \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=php \
--without-swf \
--without-sybase \
--with-sybase-ct=shared,/usr \
--enable-sysvmsg=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-tokenizer=shared \
--enable-wddx=shared \
--disable-xml \
--with-expat-dir=shared,/usr \
--with-xmlrpc=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--with-sablot-js=shared,/usr \
--without-yaz \
--enable-yp=shared \
--with-zip=shared,/usr \
--enable-shared \
--with-pic \
--enable-inline-optimization \
--enable-memory-limit


gcc -O6 -fomit-frame-pointer -pipe -s -mcpu=i686 -march=i686 -ffast-math
-fexpensive-optimizations -fPIC -g -Wall ext/ctype/ctype.lo
ext/standard/array.lo ext/

#21152 [NEW]: zlib and pcre as external modules don't work

2002-12-22 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake 9.0
PHP version:  4.3.0RC4
PHP Bug Type: Readline related
Bug description:  zlib and pcre as external modules don't work

Hi.

readline won't build as a external module. Here's my configure line that
don't work:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock
--with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \
--without-pcre-regex \
--with-pcre-regex=shared,/usr \
--without-pdflib --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-tiff-dir=/usr \
--without-pfpro \
--with-pgsql=shared,/usr \
--enable-posix=shared \
--with-pspell=shared,/usr \
--without-qtdom \
--without-libedit \
--with-readline=shared,/usr \
--with-recode=shared,/usr \
--enable-session=shared \
--without-mm \
--enable-shmop=shared \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=php \
--without-swf \
--without-sybase \
--with-sybase-ct=shared,/usr \
--enable-sysvmsg=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-tokenizer=shared \
--enable-wddx=shared \
--disable-xml \
--with-expat-dir=shared,/usr \
--with-xmlrpc=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--with-sablot-js=shared,/usr \
--without-yaz \
--enable-yp=shared \
--with-zip=shared,/usr \
--enable-shared \
--with-pic \
--enable-inline-optimization \
--enable-memory-limit


Here's the configure line that does work:


READLINE_SHARED_LIBADD="-lhistory -lreadline -lncurses" ./configure
--with-readline=shared,/usr


#21153 [NEW]: readline won't be built as an external module

2002-12-22 Thread oden . eriksson
From: [EMAIL PROTECTED]
Operating system: Mandrake 9.0
PHP version:  4.3.0RC4
PHP Bug Type: Readline related
Bug description:  readline won't be built as an external module

Hi.

(sorry, this one was accidently also filed as #21152, I forgot to change
the summary...)

readline won't build as a external module. Here's my configure line that
don't work:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr --with-mysql-sock=/var/lib/mysql/mysql.sock
--with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \
--without-pcre-regex \
--with-pcre-regex=shared,/usr \
--without-pdflib --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-tiff-dir=/usr \
--without-pfpro \
--with-pgsql=shared,/usr \
--enable-posix=shared \
--with-pspell=shared,/usr \
--without-qtdom \
--without-libedit \
--with-readline=shared,/usr \
--with-recode=shared,/usr \
--enable-session=shared \
--without-mm \
--enable-shmop=shared \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=php \
--without-swf \
--without-sybase \
--with-sybase-ct=shared,/usr \
--enable-sysvmsg=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-tokenizer=shared \
--enable-wddx=shared \
--disable-xml \
--with-expat-dir=shared,/usr \
--with-xmlrpc=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--with-sablot-js=shared,/usr \
--without-yaz \
--enable-yp=shared \
--with-zip=shared,/usr \
--enable-shared \
--with-pic \
--enable-inline-optimization \
--enable-memory-limit


Here's the configure line that does work:


READLI

#21152 [Opn->Bgs]: zlib and pcre as external modules don't work

2002-12-22 Thread oden . eriksson
 ID:   21152
 User updated by:  [EMAIL PROTECTED]
 Reported By:  [EMAIL PROTECTED]
-Status:   Open
+Status:   Bogus
 Bug Type: Readline related
 Operating System: Mandrake 9.0
 PHP Version:  4.3.0RC4
 New Comment:

I accidently forgot to add the correct summary, the right one would be
http://bugs.php.net/bug.php?id=21153


Previous Comments:


[2002-12-22 19:27:13] [EMAIL PROTECTED]

Hi.

readline won't build as a external module. Here's my configure line
that don't work:

./configure \
--prefix=/usr \
--exec-prefix=/usr \
--bindir=/usr/bin \
--sbindir=/usr/sbin \
--datadir=/usr/share \
--sysconfdir=/etc \
--libdir=/usr/lib \
--includedir=/usr/include \
--infodir=/usr/share/info \
--mandir=/usr/share/man \
--with-apxs2=/usr/sbin/apxs \
--enable-force-cgi-redirect \
--enable-discard-path \
--enable-debug \
--with-layout=GNU \
--with-config-file-path=/etc \
--with-config-file-scan-dir=/etc/httpd/conf.d \
--with-pear=/usr/lib/php \
--enable-safe-mode \
--with-exec-dir=/usr/bin \
--enable-magic-quotes \
--disable-rpath \
--with-openssl=shared,/usr --with-zlib=shared,/usr
--with-zlib-dir=/usr \
--enable-bcmath=shared \
--with-bz2=shared,/usr \
--enable-calendar=shared \
--without-cpdflib \
--with-jpeg-dir=/usr \
--with-tiff-dir=/usr \
--without-crack \
--with-ctype=shared \
--with-curl=shared,/usr \
--without-cyrus \
--without-db \
--enable-dba=shared,/usr \
--with-gdbm=shared,/usr \
--without-ndbm \
--without-db2 \
--without-db3 \
--with-db4=shared,/usr \
--without-dbm \
--with-cdb=shared,/usr \
--with-flatfile=shared \
--enable-dbase=shared \
--enable-dbx=shared,/usr \
--enable-dio=shared,/usr \
--with-dom=shared,/usr --with-zlib-dir=/usr
--with-dom-xslt=shared,/usr --with-dom-exslt=shared,/usr \
--enable-exif=shared \
--without-fbsql \
--without-fdftk \
--enable-filepro=shared \
--without-fribidi \
--enable-ftp=shared \
--with-gd=shared --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-xpm-dir=/usr/X11R6/lib/ \
--with-ttf=/usr \
--with-freetype-dir=/usr \
--with-t1lib=/usr \
--enable-gd-native-ttf \
--with-gettext=shared,/usr \
--with-gmp=shared,/usr \
--without-hwapi \
--without-hyperwave \
--without-iconv \
--with-imap=shared,/usr \
--without-kerberos \
--with-imap-ssl=shared,/usr \
--without-informix \
--without-ingres \
--without-interbase \
--without-ircg \
--with-ircg-config=/dev/null \
--without-java \
--with-ldap=shared,/usr \
--enable-mbstring=shared \
--enable-mbregex=shared \
--without-mcal \
--with-mcrypt=shared,/usr \
--without-mcve \
--with-mhash=shared,/usr \
--enable-mime-magic=shared \
--with-ming=shared,/usr \
--with-mnogosearch=shared,/usr \
--without-msession \
--without-msql \
--without-mssql \
--with-mysql=shared,/usr
--with-mysql-sock=/var/lib/mysql/mysql.sock --with-zlib-dir=/usr \
--with-ncurses=shared,/usr \
--without-oci8 \
--without-adabas \
--without-sapdb \
--without-solid \
--without-ibm-db2 \
--without-empress \
--without-empress-bcs \
--without-birdstep \
--without-custom-odbc \
--without-iodbc \
--without-esoob \
--with-unixODBC=shared,/usr \
--without-openlink \
--without-dbmaker \
--without-oracle \
--enable-overload=shared \
--without-ovrimos \
--disable-pcntl \
--without-pcre-regex \
--with-pcre-regex=shared,/usr \
--without-pdflib --with-jpeg-dir=/usr --with-png-dir=/usr
--with-zlib-dir=/usr --with-tiff-dir=/usr \
--without-pfpro \
--with-pgsql=shared,/usr \
--enable-posix=shared \
--with-pspell=shared,/usr \
--without-qtdom \
--without-libedit \
--with-readline=shared,/usr \
--with-recode=shared,/usr \
--enable-session=shared \
--without-mm \
--enable-shmop=shared \
--with-snmp=shared,/usr \
--enable-ucd-snmp-hack \
--enable-sockets=shared \
--with-regex=php \
--without-swf \
--without-sybase \
--with-sybase-ct=shared,/usr \
--enable-sysvmsg=shared \
--enable-sysvsem=shared \
--enable-sysvshm=shared \
--enable-tokenizer=shared \
--enable-wddx=shared \
--disable-xml \
--with-expat-dir=shared,/usr \
--with-xmlrpc=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--enable-xslt=shared,/usr \
--with-xslt-sablot=shared,/usr \
--with-expat-dir=shared,/usr \
--without-iconv-dir \
--with-sablot-js=shared,/usr \
--without-yaz \