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.

PHP copile Error

Discussion in 'General Discussion' started by mahdy_sharifi, Nov 19, 2012.

  1. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Hello :

    I get following error during compile PHP 5.2.17

    root@---- [/opt/php-5.2.17]# make
    /bin/sh /opt/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/dom/ -I/opt/php-5.2.17/ext/dom/ -DPHP_ATOM_INC -I/opt/php-5.2.17/include -I/opt/
    php-5.2.17/main -I/opt/php-5.2.17 -I/opt/php-5.2.17/ext/date/lib -I/opt/xml2/include/libxml2 -I/opt/php-5.2.17/TSRM -I/opt/php-5.2.17/Zend -I/usr/include -g -O2 -c
    /opt/php-5.2.17/ext/dom/node.c -o ext/dom/node.lo
    /opt/php-5.2.17/ext/dom/node.c: In function â€کdom_canonicalization’:
    /opt/php-5.2.17/ext/dom/node.c:1953: error: dereferencing pointer to incomplete type
    /opt/php-5.2.17/ext/dom/node.c:1955: error: dereferencing pointer to incomplete type
    make: *** [ext/dom/node.lo] Error 1

    anybody know how can resolve it ?

    Thanks
     
  2. asfik

    asfik Member

    Joined:
    Mar 31, 2006
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Pamulang, Indonesia
    cPanel Access Level:
    Root Administrator
  3. mahdy_sharifi

    mahdy_sharifi Well-Known Member

    Joined:
    Feb 26, 2012
    Messages:
    175
    Likes Received:
    0
    Trophy Points:
    16
    cPanel Access Level:
    Root Administrator
    Thanks your post .
    but not help me .
     
  4. ceylon

    ceylon Member

    Joined:
    Nov 15, 2009
    Messages:
    17
    Likes Received:
    0
    Trophy Points:
    1
    Is that on cPanel ? If yes, Why don't you use easyapache ?
     
Loading...

Share This Page