Vector Linux
Apache_1.3.24
php-4.2.1

I am trying t install php. I configure with:

./configure --with-mysql --with-xml --with-imap=/usr/local/imap-2001a/c-client --enable-sockets --enable-track-vars --with-apxs=/usr/local/apache/bin/apxs

no errors. I run make. No errors
I run make install, and it quits with;

....
Making install in regex
make[1]: Entering directory /root/download/php-4.2.1/regex'
make[2]: Entering directory
/root/download/php-4.2.1/regex'
make[2]: Nothing to be done for install-p'.
make[2]: Leaving directory
/root/download/php-4.2.1/regex'
make[1]: Leaving directory /root/download/php-4.2.1/regex'
Making install in .
make[1]: Entering directory
/root/download/php-4.2.1'
make[1]: [install-sapi] Error 1
make[1]: Leaving directory `/root/download/php-4.2.1'
make:
[install-recursive] Error 1

any idea?

    Using PHP 4.2.1 and Apache 1.3.19 I get a similar error, but it fails during the make stage.

    XtOffsetOf is being redefined in the SAPI module causing the problem.

    A search of the net finds many others having this problem.

    A newer version of apache is supposed to fix it but I haven't tried it yet.

      Write a Reply...