Install problem when configuring PHP with Sablot
I am trying to install the latest release of Sablot to use with php. I have downloaded sablot 0.71 source code and installed with no problems. I have also downloaded the latest apache (1.3.22) with no problems. However, when I configured php, the following error occurs.
can anybody help ??
configure:55751: checking libexpat dir for Sablotron XSL support
configure:55951: checking for Sablotron libraries in the default path
configure:56131: checking for iconv_open in -lc
configure:56150: gcc -o conftest -g -O2 -DLINUX=22 -DEAPI -DEAPI_MM -DUSE_EXPAT -DEAPI_MM_CORE_PATH=/var/run/httpd.mm conftest.c -lc -lxmltok -lxmlparse -lcrypt -lresolv -lm -ldl -lnsl -lresolv -lcrypt 1>&5
/usr/bin/ld: cannot find -lxmltok
collect2: ld returned 1 exit status
configure: failed program was:
#line 56139 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char iconv_open();
int main() {mount
iconv_open()
; return 0; }
Above is a copy of config.log and below is the configure command to configure php.
./configure -with-apxs -with-wddx -with-xml -with-mysql -with-xslt -enable-xslt-sablot
I am using Redhat 7.2.
thanks
|