Installation problem
| From: | Hassan Abolhassani | Date: | Wed, 28 Aug 2002 04:18:24 +0000 |
| Subject: | Installation problem | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-8236@lists.php.net to get a copy of this message | ||
OS: LINUX Redhat 7.x
php version: 4.2.2
I am trying to build php using:
./configure --enable-xslt --with-expat --with-xslt-sablot --with-mysql
--with-apxs=/usr/local/apache/bin/apxs
Configure is successful but when i try to make following errors appaears:
/bin/sh /home/habolhas/php-4.2.2/libtool --silent --mode=link gcc -I. -I/home/h
abolhas/php-4.2.2/ -I/home/habolhas/php-4.2.2/main -I/home/habolhas/php-4.2.2 -I
/usr/local/apache/include -I/home/habolhas/php-4.2.2/Zend -I/home/habolhas/php-4
.2.2/ext/mysql/libmysql -I/home/habolhas/php-4.2.2/ext/xml/expat -I/usr/local/in
clude -DLINUX=22 -DNO_DBM_REWRITEMAP -DUSE_HSREGEX -DUSE_EXPAT -I/home/habolhas
/php-4.2.2/TSRM -g -O2 -prefer-pic -o libphp4.la -rpath /home/habolhas/php-4.2
.2/libs -avoid-version -L/usr/local/lib -R /usr/local/lib stub.lo Zend/libZend
.la sapi/apache/libsapi.la main/libmain.la regex/libregex.la /home/habolhas/php-
4.2.2/ext/ctype/libctype.la /home/habolhas/php-4.2.2/ext/mysql/libmysql.la /home
/habolhas/php-4.2.2/ext/pcre/libpcre.la /home/habolhas/php-4.2.2/ext/posix/libpo
six.la /home/habolhas/php-4.2.2/ext/session/libsession.la /home/habolhas/php-4.2
.2/ext/standard/libstandard.la /home/habolhas/php-4.2.2/ext/xml/libxml.la /home/
habolhas/php-4.2.2/ext/xslt/libxslt.la TSRM/libtsrm.la -lsablot -lexpat -lcrypt
-lresolv -lm -ldl -lnsl -lresolv -lcrypt -ldl
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_NAMES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_DIS
POSE_VALUES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
/home/habolhas/php-4.2.2/ext/xslt/.libs/libxslt.al(sablot.lo): In function `zm_s
tartup_xslt':
/home/habolhas/php-4.2.2/ext/xslt/sablot.c:153: multiple definition of `SXPF_SUP
PORTS_UNPARSED_ENTITIES'
main/.libs/libmain.al(internal_functions.lo):/home/habolhas/php-4.2.2/main/inter
nal_functions.c:59: first defined here
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/home/habolhas/php-4.2.2'
make: *** [all-recursive] Error 1
Can anybody help me to resolve this.
Thanks