Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19

Warning: Function ereg() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 4

Warning: Function split() is deprecated in ..../includes/class_postbit.php(345) : eval()'d code on line 19
Compiling PHP-4.2.1
Results 1 to 2 of 2

Thread: Compiling PHP-4.2.1

  1. #1

    Compiling PHP-4.2.1

    I can't seem to compile it! Here is the output ...

    Code:
    make[3]: Entering directory `/home/ash/php-4.2.1/sapi/apache2filter'
    /bin/sh /home/ash/php-4.2.1/libtool --silent --mode=compile gcc  -I. -I/home/ash
    /php-4.2.1/sapi/apache2filter -I/home/ash/php-4.2.1/main -I/home/ash/php-4.2.1 -
    I/var/apache2/include -I/home/ash/php-4.2.1/Zend -I/home/ash/php-4.2.1/ext/mysql
    /libmysql -I/home/ash/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/home/ash/php-4.2.
    1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c sapi_apache2.c
    /bin/sh /home/ash/php-4.2.1/libtool --silent --mode=compile gcc  -I. -I/home/ash
    /php-4.2.1/sapi/apache2filter -I/home/ash/php-4.2.1/main -I/home/ash/php-4.2.1 -
    I/var/apache2/include -I/home/ash/php-4.2.1/Zend -I/home/ash/php-4.2.1/ext/mysql
    /libmysql -I/home/ash/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/home/ash/php-4.2.
    1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c apache_config.c
    /bin/sh /home/ash/php-4.2.1/libtool --silent --mode=compile gcc  -I. -I/home/ash
    /php-4.2.1/sapi/apache2filter -I/home/ash/php-4.2.1/main -I/home/ash/php-4.2.1 -
    I/var/apache2/include -I/home/ash/php-4.2.1/Zend -I/home/ash/php-4.2.1/ext/mysql
    /libmysql -I/home/ash/php-4.2.1/ext/xml/expat  -D_REENTRANT -I/home/ash/php-4.2.
    1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c php_functions.c
    php_functions.c:93:27: missing binary operator before '!'
    make[3]: *** [php_functions.lo] Error 1
    make[3]: Leaving directory `/home/ash/php-4.2.1/sapi/apache2filter'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/ash/php-4.2.1/sapi/apache2filter'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/ash/php-4.2.1/sapi'
    make: *** [all-recursive] Error 1
    I am configuring with the following options:
    ./configure --prefix=/var/apache2/php --with-apxs2=/var/apache2/bin/apxs --with-config-file-path=/var/apache2/php --with-mysql

    Help! :-\

  2. #2

    Re:Compiling PHP-4.2.1

    Apparently there is a bug in php-4.2.1 that is fixed in CVS .... so here is the output of the CVS version (yeah, it errors too just in a diffrent place ...).

    Code:
    /bin/sh libtool --silent --mode=compile gcc  -Isapi/apache2filter/ -I/home/ash/php4-200206301200/sapi/apache2filter/ -DPHP_ATOM_INC -I/home/ash/php4-200206301200/include -I/home/ash/php4-200206301200/main -I/home/ash/php4-200206301200 -I/var/apache2/include -I/home/ash/php4-200206301200/Zend -I/home/ash/php4-200206301200/ext/xml/expat  -I/home/ash/php4-200206301200/TSRM -g -O2  -prefer-pic -c /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c -o sapi/apache2filter/sapi_apache2.lo 
    /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c: In function `php_register_hook':
    /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
    /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
    /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
    /home/ash/php4-200206301200/sapi/apache2filter/sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
    make: *** [sapi/apache2filter/sapi_apache2.lo] Error 1

Similar Threads

  1. Kernel 2.6 Compiling PET
    By pbharris in forum Linux - General Topics
    Replies: 5
    Last Post: 07-08-2004, 02:09 PM
  2. Compiling Kernel under RH 8
    By trickster in forum Linux - General Topics
    Replies: 8
    Last Post: 01-04-2003, 03:20 PM
  3. compiling
    By friskydrifter in forum Linux - Software, Applications & Programming
    Replies: 5
    Last Post: 07-23-2002, 02:55 AM
  4. Help with compiling GLE...
    By Daedra in forum Linux - General Topics
    Replies: 3
    Last Post: 03-01-2002, 10:24 PM
  5. LFS - Help - Compiling gcc
    By gmoreno in forum Linux - General Topics
    Replies: 6
    Last Post: 02-10-2002, 02:58 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •