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.

Error compiling easyapache

Discussion in 'EasyApache' started by katamiaw, May 27, 2010.

  1. katamiaw

    katamiaw Member

    Joined:
    Jun 18, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    I have an error when i compil apacha and php with easyapache:


    Code:
    Compiling for DSO.
    
    /usr/local/apache/bin/apxs -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4 -c mod_python.c _apachemodule.c requestobject.c tableobject.c util.c serverobject.c connobject.c filterobject.c hlist.c hlistobject.c finfoobject.c -L/usr/lib/python2.4/config  -Xlinker -export-dynamic    -L/usr/kerberos/lib     -lm  -lpython2.4 -lpthread -ldl -lutil -lm 
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o mod_python.lo mod_python.c && touch mod_python.slo
    mod_python.c: In function 'python_init':
    mod_python.c:826: warning: initialization from incompatible pointer type
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o _apachemodule.lo _apachemodule.c && touch _apachemodule.slo
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o requestobject.lo requestobject.c && touch requestobject.slo
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o tableobject.lo tableobject.c && touch tableobject.slo
    tableobject.c:1092: warning: initialization from incompatible pointer type
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o util.lo util.c && touch util.slo
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o serverobject.lo serverobject.c && touch serverobject.slo
    serverobject.c:387: warning: initialization from incompatible pointer type
    /usr/local/apache/build/libtool --silent --mode=compile gcc -prefer-pic   -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -D_LARGEFILE64_SOURCE -pthread -I/opt/pcre/include -I/usr/local/apache/include  -I/usr/local/apache/include   -I/usr/local/apache/include  -I/home/cpeasyapache/src/mod_python-3.3.1/src/include -I/usr/local/apache/include -I/usr/include/python2.4  -c -o connobject.lo connobject.c && touch connobject.slo
    connobject.c: In function '_conn_read':
    connobject.c:142: error: request for member 'next' in something not a structure or union
    apxs:Error: Command failed with rc=65536
    .
    make[1]: *** [mod_python.so] Error 1
    make[1]: Leaving directory `/home/cpeasyapache/src/mod_python-3.3.1/src'
    make: *** [do_dso] Error 2
    !! 'make' failed with exit code '512' !!
    !! Restoring original working apache !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Restarting 'httpd' ... !!
    !! 'httpd' restart complete. !!
    Building global cache for cpanel...Done
    !! Executing '/scripts/initfpsuexec' !!
    !! Executing '/scripts/initsslhttpd' !!
    !! Verbose logfile is at '/usr/local/cpanel/logs/easy/apache/build.1274948962' !!
    
     
  2. serlex

    serlex Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    57
    Likes Received:
    0
    Trophy Points:
    6
  3. katamiaw

    katamiaw Member

    Joined:
    Jun 18, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    Yes, i'm trying to install mod_python and the error come from it.
     
Loading...

Share This Page