php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21152 zlib and pcre as external modules don't work
Submitted: 2002-12-22 19:27 UTC Modified: 2002-12-22 19:33 UTC
From: oden dot eriksson at linux-mandrake dot com Assigned:
Status: Not a bug Package: Readline related
PHP Version: 4.3.0RC4 OS: Mandrake 9.0
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: oden dot eriksson at linux-mandrake dot com
New email:
PHP Version: OS:

 

 [2002-12-22 19:27 UTC] oden dot eriksson at linux-mandrake dot com
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


Somewhere down the line the configure stuff gets messed up..., I have no idea where and why... It doesn't matter if I add the READLINE_SHARED_LIBADD environment to the first configure line. And of course I have all the needed dev stuff installed.

Chears.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-22 19:33 UTC] oden dot eriksson at linux-mandrake dot com
I accidently forgot to add the correct summary, the right one would be http://bugs.php.net/bug.php?id=21153
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Nov 05 10:01:29 2024 UTC