[xmlsec] error in compilation xmlsec libraries in AIX 5.2 server

Dario Villalón dvillalo at sii.cl
Mon Jul 25 07:48:33 PDT 2005


Hi Aleksey:
I tried to compile xmlsec libraries in a AIX 5.2 server, but it produces an
error in the 'make' process:
cholguaco> make
make  all-recursive
Making all in include
Making all in xmlsec
Target "all" is up to date.
Target "all-am" is up to date.
Target "all" is up to date.
Making all in src
        /bin/sh ../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I../include  -I/usr/local/include -I/usr/local/include/libxml2 -I/usr/local
/inc
lude/libxml2 -Wall -ansi     -g -O2  -DXMLSEC_OPENSSL096=1 -DXMLSEC_NO_AES=1
 -c
xmlsec.c
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../include -I/usr/local/include -I/u
sr/l
ocal/include/libxml2 -I/usr/local/include/libxml2 -Wall -ansi -g -O2 -DXMLSE
C_OP
ENSSL096=1 -DXMLSEC_NO_AES=1 -c xmlsec.c -o xmlsec.o
In file included from /usr/local/include/libxml2/libxml/parser.h:641,
                 from /usr/local/include/libxml2/libxml/globals.h:16,
                 from /usr/local/include/libxml2/libxml/threads.h:31,
                 from /usr/local/include/libxml2/libxml/xmlmemory.h:163,
                 from /usr/local/include/libxml2/libxml/tree.h:884,
                 from xmlsec.c:14:
/usr/local/include/libxml2/libxml/encoding.h:132: error: parse error before
"iconv_t"
/usr/local/include/libxml2/libxml/encoding.h:132: warning: no semicolon at
end of struct or union
/usr/local/include/libxml2/libxml/encoding.h:133: warning: type defaults to
`int' in declaration of `iconv_out'
/usr/local/include/libxml2/libxml/encoding.h:133: warning: data definition
has no type or storage class
make: 1254-004 The error code from the last command is 1.Stop.
make: 1254-004 The error code from the last command is 1.Stop.
make: 1254-004 The error code from the last command is 2.Stop.

I need to compile  "old" version for the libraries:
	libxmlsec	0.0.11

I need to use the following "olds" versions of the libraries xml:

	libxml2		2.4.27
	libxslt		1.0.23

and the openssl:

	OpenSSL           0.9.7f

Thanks for tour help !!

Regards,
Dario Villalón




More information about the xmlsec mailing list