The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problem compiling Apache (RHEL4)

Discussion in 'EasyApache' started by maxihost2, Sep 18, 2005.

  1. maxihost2

    maxihost2 Well-Known Member
    PartnerNOC

    Joined:
    Feb 28, 2005
    Messages:
    55
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    I tried everything, I already have ticket open with cPanel and with the IDC but nobody could fix the problem yet.

    I have tried all the options of easyapache, tried to Upgrade to Stable release or any other without luck.

    I have these errors while compiling:

    make -j 4 mod_perl-1.29....... . . . . . Done
    ssl_engine_pphrase.c:496: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
    ssl_engine_pphrase.c:496: error: (Each undeclared identifier is reported only once
    ssl_engine_pphrase.c:496: error: for each function it appears in.)
    make[5]: *** [ssl_engine_pphrase.o] Error 1
    make[5]: *** Waiting for unfinished jobs....
    make[4]: *** [all] Error 1
    make[3]: *** [subdirs] Error 1
    make[2]: *** [build-std] Error 2
    make[1]: *** [build] Error 2
    make: *** [apaci_httpd] Error 2

    make mod_perl-1.29...(install).... Done
    ssl_engine_pphrase.c:496: error: `PEM_F_DEF_CALLBACK' undeclared (first use in this function)
    ssl_engine_pphrase.c:496: error: (Each undeclared identifier is reported only once
    ssl_engine_pphrase.c:496: error: for each function it appears in.)
    make[5]: *** [ssl_engine_pphrase.o] Error 1
    make[4]: *** [all] Error 1
    make[3]: *** [subdirs] Error 1
    make[2]: *** [build-std] Error 2
    make[1]: *** [build] Error 2
    make: *** [apaci_httpd] Error 2


    make -j 4 php-4.3.3....... . . . Done
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:604: error: invalid application of `sizeof' to incomplete type `HttpPost'
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c: In function `zif_curl_setopt':
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    make: *** [ext/curl/curl.lo] Error 1
    make: *** Waiting for unfinished jobs....

    make php-4.3.3...(install).... Done
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:604: error: invalid application of `sizeof' to incomplete type `HttpPost'
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c: In function `zif_curl_setopt':
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    make: *** [ext/curl/curl.lo] Error 1

    make -j 4 php-4.3.3....... . . Done
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:604: error: invalid application of `sizeof' to incomplete type `HttpPost'
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c: In function `zif_curl_setopt':
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    make: *** [ext/curl/curl.lo] Error 1
    make: *** Waiting for unfinished jobs....

    make php-4.3.3...(install).... Done
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:604: error: invalid application of `sizeof' to incomplete type `HttpPost'
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c: In function `zif_curl_setopt':
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:884: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 1 of `curl_formadd' from incompatible pointer type
    /home/cpapachebuild/buildapache/php-4.3.3/ext/curl/curl.c:892: warning: passing arg 2 of `curl_formadd' from incompatible pointer type
    make: *** [ext/curl/curl.lo] Error 1

    Any idea what I can do ? Thank you.
     
  2. shashank

    shashank Well-Known Member
    PartnerNOC

    Joined:
    Apr 12, 2003
    Messages:
    159
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Do you run a custom kernel on the server ? May be grsec ?
     
Loading...

Share This Page