Hi,

I am using PHP 5.1.2. Please see my versions.

dca-agu-iqa-app1 # uname -a
Linux dca-agu-iqa-app1 2.6.18-128.el5 #1 SMP Wed Dec 17 11:41:38 EST 2008
x86_64 x86_64 x86_64 GNU/Linux
dca-agu-iqa-app1 # gcc --version
gcc (GCC) 4.1.2 20080704 (Red Hat 4.1.2-44)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dca-agu-iqa-app1 # libtool --version
ltmain.sh (GNU libtool) 1.5.22 (1.1220.2.365 2005/12/18 22:14:06)
Copyright (C) 2005  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
dca-agu-iqa-app1 #

My configure command is ./configure
--with-apxs2=/usr/local/apache22/bin/apxs

When i run a make i get the below error.

dca-agu-iqa-app1 # make
/bin/sh /Application/agu/software/php-5.1.2-forip6/libtool --silent
--preserve-d
up-deps --mode=compile gcc  -Iext/libxml/
-I/Application/agu/software/php-5.1.2-
forip6/ext/libxml/ -DPHP_ATOM_INC
-I/Application/agu/software/php-5.1.2-forip6/i
nclude -I/Application/agu/software/php-5.1.2-forip6/main
-I/Application/agu/soft
ware/php-5.1.2-forip6 -I/usr/include/libxml2
-I/Application/agu/software/php-5.1
.2-forip6/ext/date/lib -I/Application/agu/software/php-5.1.2-forip6/TSRM
-I/Appl
ication/agu/software/php-5.1.2-forip6/Zend    -I/usr/include -g -O2   -c
/Applic
ation/agu/software/php-5.1.2-forip6/ext/libxml/libxml.c -o
ext/libxml/libxml.lo
In file included from /usr/include/stdlib.h:438,
                 from
/Application/agu/software/php-5.1.2-forip6/include/../main
/php_config.h:2852,
                 from
/Application/agu/software/php-5.1.2-forip6/Zend/zend_confi
g.h:1,
                 from
/Application/agu/software/php-5.1.2-forip6/Zend/zend.h:53,
                 from
/Application/agu/software/php-5.1.2-forip6/main/php.h:34,
                 from
/Application/agu/software/php-5.1.2-forip6/ext/libxml/libx
ml.c:28:
/usr/include/sys/types.h:151: error: duplicate 'unsigned'
make: *** [ext/libxml/libxml.lo] Error 1

Appreciate if you somebody can help.




-- 
Krish

Reply via email to