|
From: Alex B. <en...@tu...> - 2001-09-13 19:38:58
|
> Hi All,
>
> this might be a bit off-topic, but I'm going mad building the command-line
> php binary. It just does not work; and can't find any hints in the docs.
> Just feeling like a bloody rookie :(
>
> 4.0.6 on Mandrake8
>
> #! /bin/sh
> #
> # Created by configure
>
> "./configure" \
> "--prefix=/usr/local/php4" \
> "--with-config-file-path=/usr/local/php4/etc" \
> "--with-apxs" \
> "--enable-bcmath" \
> "--enable-calendar" \
> "--enable-xml" \
> "--enable-wddx" \
> "--enable-debug=no" \
> "--with-jpeg" \
> "--with-tiff" \
> "--with-ttf=/usr/lib" \
> "--with-mysql" \
> "--with-imap=shared" \
> "--with-ldap=shared" \
> "--with-dom" \
> "--with-sablot" \
> "--with-xslt-sablot" \
> "--with-t1lib" \
> "--enable-memory-limit" \
> "--enable-trans-sid" \
> "--with-zlib" \
> "--without-gd" \
> "--enable-static" \
> "$@"
>
> Damned, got to comfortable using rpm the last years :(
>
> Andi
heh.
I modified my build to include some of the stuff from above, but this is for
4.0.6:
./configure \
--prefix=/usr/local/php4 \
--with-config-file-path=/usr/local/php4/etc \
--with-apxs \
--enable-bcmath \
--enable-calendar \
--enable-wddx \
--with-jpeg-dir=/usr/lib \
--with-tiff-dir=/usr/lib \
--enable-force-cgi-redirect \
--enable-discard-path \
--disable-shared \
--enable-ftp \
--with-zlib \
--with-imlib=/usr/local/lib/ \
--with-iconv=/usr/local/lib \
--with-oci8=/u01/oracle/product/8.1.6 \
--with-mhash=/usr/local/mhash \
--with-mcrypt=/usr/local/mcrypt \
--with-dom=/usr/local/libxml2 \
--with-sablot=/usr/local/Sablot \
--with-curl \
--with-expat-dir=/usr/local/expat \
--enable-memory-limit \
--enable-debug=no
Actually, andi, let me make a couple mods to my scripts and check them into
bc_install. Once I do that, you'll be able to use the complete compile
scripts (and tarballs) to build and install apache, php, sab, etc etc etc.
:)
_alex
|