Results 1 to 2 of 2

Thread: php compile error

  1. #1
    Associate
    Join Date
    Sep 2002
    Posts
    31

    php compile error

    I'm trying to compile php as apache module
    Code:
    ./configure --prefix=/wwwroot/php --with-apxs2=/wwwroot/bin/apxs --with-config-file-path=/wwwroot/php --with-mysql
    gives me no errors

    then I run make
    Code:
    make[4]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml/expat'
    make[3]: Binnengaan van map `/usr/src/php-4.2.3/ext/xml'
    make[3]: Niets te doen voor `all-p'.
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
    make[2]: Weggaan uit map `/usr/src/php-4.2.3/ext/xml'
    make[1]: Weggaan uit map `/usr/src/php-4.2.3/ext'
    Making all in sapi
    make[1]: Binnengaan van map `/usr/src/php-4.2.3/sapi'
    Making all in apache2filter
    make[2]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[3]: Binnengaan van map `/usr/src/php-4.2.3/sapi/apache2filter'
    /bin/sh /usr/src/php-4.2.3/libtool --silent --mode=compile gcc  -I. -I/usr/src/php-4.2.3/sapi/apache2filter -I/usr/src/php-4.2.3/main -I/usr/src/php-4.2.3 -I/wwwroot/include -I/usr/src/php-4.2.3/Zend -I/usr/src/php-4.2.3/ext/mysql/libmysql -I/usr/src/php-4.2.3/ext/xml/expat  -D_REENTRANT -I/usr/src/php-4.2.3/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic  -c sapi_apache2.c
    sapi_apache2.c: In function `php_register_hook':
    sapi_apache2.c:567: incompatible type for argument 3 of `ap_register_output_filter'
    sapi_apache2.c:567: too many arguments to function `ap_register_output_filter'
    sapi_apache2.c:568: incompatible type for argument 3 of `ap_register_input_filter'
    sapi_apache2.c:568: too many arguments to function `ap_register_input_filter'
    make[3]: *** [sapi_apache2.lo] Fout 1
    make[3]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[2]: *** [all-recursive] Fout 1
    make[2]: Weggaan uit map `/usr/src/php-4.2.3/sapi/apache2filter'
    make[1]: *** [all-recursive] Fout 1
    make[1]: Weggaan uit map `/usr/src/php-4.2.3/sapi'
    make: *** [all-recursive] Fout 1
    what could be my probleme ?

  2. #2
    Associate
    Join Date
    Sep 2002
    Posts
    31

    Re:php compile error

    fixed it on my own
    just delete the NULL valuas in that function cause there where to many parameters

Similar Threads

  1. gcc-3.3.3 compile error(Gentoo)
    By gmoreno in forum Linux - Software, Applications & Programming
    Replies: 9
    Last Post: 07-18-2004, 01:48 PM
  2. Compile Error in Redhat 9.0
    By inspire_d in forum Linux - General Topics
    Replies: 2
    Last Post: 03-16-2004, 06:39 PM
  3. kernel compile error
    By Compunuts in forum Linux - General Topics
    Replies: 4
    Last Post: 12-24-2003, 03:49 AM
  4. koffice compile error
    By LiNuts in forum Linux - Software, Applications & Programming
    Replies: 4
    Last Post: 06-02-2002, 04:47 AM
  5. compile error
    By LiNuts in forum Linux - Software, Applications & Programming
    Replies: 2
    Last Post: 06-01-2002, 11:25 AM

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
  •