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.

Getting error configuring PHP

Discussion in 'General Discussion' started by avara, Jul 30, 2002.

  1. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Using the following configure command, I am getting the error: &configure: error: iconv not found&:

    ./configure --with-apxs=/usr/local/apache/bin/apxs --with-xml --with-swf=/usr/local/flash --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-png-dir=/usr --with-ming=../ming-0.1.1 --enable-magic-quotes --with-mysql --enable-safe-mode --enable-track-vars --with-ttf --enable-versioning --with-zlib --with-kerberos --with-sablot --with-sablot-lib=/usr/local/lib --with-pear --enable-xslt --with-xslt-sablot

    Any ideas how to fix this?
     
  2. taivu

    taivu Well-Known Member

    Joined:
    Nov 22, 2001
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Is libiconv installed?
    http://www.gnu.org/software/libiconv/
     
  3. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Thanks very much for the tip, I thought it was installed but it wasn't.

    Getting one new error (/usr/bin/ld: cannot find -lxmltok), so I'm searching for that one now.

    Edit: Just tried make clean in case the source needs to be cleaned up after all that compiling, and make again. Only other thing I noticed this time were some of the following lines during the end of make:

    sablot.c:125: warning: initialization from incompatible pointer type
    sablot.c:126: warning: initialization from incompatible pointer type
    etc.

    Hrm..... :(
     
  4. avara

    avara Well-Known Member

    Joined:
    Oct 28, 2001
    Messages:
    90
    Likes Received:
    0
    Trophy Points:
    6
    Found and installed everything. Upon make, PHP is still spitting out one error though:

    collect2: ld returned 1 exit status
    make[1]: *** [libphp4.la] Error 1
    make[1]: Leaving directory `/usr/src/php-4.1.2'
    make: *** [all-recursive] Error 1

    Any ideas? It's probably something very obvious, but kind of hard after having been up for 48 hours. :D

    Edit: In more detail, the following are the only errors that I could see during compiling:
    sablot.c:126: warning: initialization from incompatible pointer type
    sablot.c:127: warning: initialization from incompatible pointer type
    sablot.c:128: warning: initialization from incompatible pointer type
    sablot.c:130: warning: initialization from incompatible pointer type
    sablot.c: In function `zif_xslt_process':
    sablot.c:512: warning: passing arg 5 of `SablotRunProcessor' from incompatible pointer type
    sablot.c:512: warning: passing arg 6 of `SablotRunProcessor' from incompatible pointer type
     
Loading...

Share This Page