I'm finding installing the XML Services on the 14.0 Express to be extremely painful...much like you the fact that the 13.10 XML Services doesn't appear to be setup to run against anything past V2R6 seems like a huge oversight. As it stands right now I am getting 5603 errors after editing the initdb script to work on TD14.
These are the erros I am getting at this point.
REPLACE FUNCTION stub_xerces(
)
RETURNS INTEGER
LANGUAGE CPP
NO SQL
EXTERNAL NAME 'SP!/home/tdatuser/xml/TeradataXML.13.10.00.00/libxerces-c.s
o'
PARAMETER STYLE SQL;
*** Create function completed with error(s).
*** Warning: 5603 Errors encountered in compiling UDF/XSP/UDM/UDT/JAR.
*** Total elapsed time was 1 second.
Errors/Warnings reported during compilation
---------------------------------------------------------------------------
/usr/bin/gcc -D_REENTRANT -D_LIBC_REENTRANT -I/usr/tdbms/etc -L/usr/td
bms/lib -fpic -c Teradata_new_delete.cpp
/usr/bin/gcc -D_REENTRANT -D_LIBC_REENTRANT -I/usr/tdbms/etc -L/usr/td
bms/lib -fpic -c pre_stub_xerces.c
/usr/bin/gcc -shared -fpic -Xlinker -rpath -Xlinker /usr/tdbms/lib -Wl,--ve
rsion-script=/var/opt/teradata/tdtemp/UDFTemp/0404.16383.5c20a/UserUdf_vers
ions.scr -D_REENTRANT -D_LIBC_REENTRANT -I/usr/tdbms/etc -L/usr/tdbms/
lib -o libudf_0404_1.so Teradata_new_delete.o pre_stub_xerces.o xmlinstal
lpkg_t.o pre_installpkg.o /home/tdatuser/xml/TeradataXML.13.10.00.00/libx
erces-c.so -ludf -lm -ljil -lstdc++
gcc: /home/tdatuser/xml/TeradataXML.13.10.00.00/libxerces-c.so: No such fil
e or directory
make: *** [libudf_0404_1.so] Error 1
/var/opt/teradata/tdtemp/UDFTemp/0404.16383.5c20a/libudf_0404_1.so: cannot
open shared object file: No such file or directory
So like you, I guess I am going to have to copy these files over manually. This is much different than what the Orange Book talks about, and if they are releasing these for the different versions at least make sure you fix the version check...
↧