Why am I getting this error?

        ------------------------------------------------
        make[1]: Entering directory `/usr/src/php-4.0.4pl1'
        /usr/sbin/apxs -i -a -n php4 libs/libphp4.so
        cp libs/libphp4.so /usr/lib/apache/libphp4.so
        cp: cannot stat `libs/libphp4.so': No such file or directory
        apxs:Break: Command failed with rc=65536
        make[1]: *** [install-sapi] Error 1
        make[1]: Leaving directory `/usr/src/php-4.0.4pl1'
        make: *** [install-recursive] Error 1

        -----------------------------------------------

The configure is:

        -----------------------------------------------
        ./configure --disable-static --enable-shared --target=i686-redhat-linux
        --prefix=/usr --with-config-file-path=/etc --enable-debug --enable-pic
        --enable-inline-optimization --with-exec-dir=/usr/bin --with-regex=system
        --with-gettext --with-gd --with-jpeg-dir=/usr --with-png --with-zlib
        --with-db2 --with-db3 --with-gdbm --enable-debugger --enable-magic-quotes
        --enable-safe-mode --enable-sysvsem --enable-sysvshm --enable-track-vars
        --enable-yp --enable-ftp --without-mysql --with-xml --with-gnu-ld
        --with-oci8 --with-ldap --with-config-file=/usr/local/apache
        --with-apxs=/usr/sbin/apxs > new_install 2>&1
        -----------------------------------------------
Furthermore, why is shared not being enabled? As should be evident in my
configure options I have specifically disabled static and enabled shared.

I.E. :
        -----------------------------------------------
        Configuring libtool
        checking build system type... i686-pc-linux-gnu
        checking for ld used by GCC... (cached) /usr/bin/ld
        checking if the linker (/usr/bin/ld) is GNU ld... (cached) yes
        checking for BSD-compatible nm... (cached) /usr/bin/nm -B
        loading cache ./config.cache within ltconfig
        checking for object suffix... o
        checking for executable suffix... (cached) no
        checking for gcc option to produce PIC... -fPIC
        checking if gcc PIC flag -fPIC works... yes
        checking if gcc supports -c -o file.o... yes
        checking if gcc supports -c -o file.lo... yes
        checking if gcc supports -fno-rtti -fno-exceptions ... yes
        checking if gcc static flag -static works... -static
        checking if the linker (/usr/bin/ld) is GNU ld... yes
        checking whether the linker (/usr/bin/ld) supports shared libraries... yes
        checking command to parse /usr/bin/nm -B output... ok
        checking how to hardcode library paths into programs... immediate
        checking for /usr/bin/ld option to reload object files... -r
        checking dynamic linker characteristics... no
        checking if libtool supports shared libraries... no
        checking whether to build shared libraries... no
        checking whether to build static libraries... yes
        checking for objdir... .libs
        creating libtool
        loading cache ./config.cache
        -----------------------------------------------

Why is this so hellishly difficult to install and use?


-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to