avara

Well-Known Member
Oct 28, 2001
89
0
306
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?
 

avara

Well-Known Member
Oct 28, 2001
89
0
306
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..... :(
 

avara

Well-Known Member
Oct 28, 2001
89
0
306
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