Hello all,

My group is tasked with choosing a transcoder, and I'm not sure the
differences between them.

I recognize that when using the ICU transcoder, there is an external
dependency on the ICU library.  But when using the other transcoders,
will I introduce dependencies similarly?  If so, what libraries will be
required?

I tried to build using each of the different transcoders, each of which
gave errors, shown below.  (ICU and native not shown; I can build those
no problem.)  Can anyone give some tips as to how I can get these to
build?

If there is documentation covering this, please do refer me to it; I
could find documentation only on "Building with ICU".

Thanks in advance,
Gene



Iconv400:

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/Iconv400
  (C++) Iconv400TransService.o
yes: invalid option -- D
Try `yes --help' for more information.
make[2]: *** [Iconv400TransService.o] Error 1
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2


Uniconv390 (Why does this refer to ICU?):

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/ICU
  (C++) ICUTransService.o
ICUTransService.cpp:33:26: error: unicode/uloc.h: No such file or
directory
[...I cut out hundreds (thousands?) of errors here. Seem to be from lack
of ICU includes...]
ICUTransService.cpp:1414: error: 'U_FAILURE' was not declared in this
scope
make[2]: *** [ICUTransService.o] Error 1
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2


IconvGNU:

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/IconvGNU
  (C++) IconvGNUTransService.o
IconvGNUTransService.cpp: In function 'void
xercesc_2_8::reinitIconvGNUMutex()':
IconvGNUTransService.cpp:433: error: 'gIconvMutex' was not declared in
this scope
make[2]: *** [IconvGNUTransService.o] Error 1
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2


IconvFBSD:

  (CP)
/home1/hub/staff/geneg/xerc+icu/xerces-c-src_2_8_0/include/xercesc/util/
Transcoders/IconvFBSD
  (C++) IconvFBSDTransService.o
IconvFBSDTransService.cpp:31:29: error: machine/endian.h: No such file
or directory
IconvFBSDTransService.cpp: In member function 'XMLCh
xercesc_2_8::IconvFBSDCD::toUpper(XMLCh) const':
IconvFBSDTransService.cpp:344: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:344: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp:353: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:353: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp: In member function 'XMLCh
xercesc_2_8::IconvFBSDCD::toLower(XMLCh) const':
IconvFBSDTransService.cpp:376: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:376: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp:385: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:385: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp: In member function 'virtual bool
xercesc_2_8::IconvFBSDCD::isSpace(XMLCh) const':
IconvFBSDTransService.cpp:409: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:409: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp: In member function 'size_t
xercesc_2_8::IconvFBSDCD::iconvFrom(const char*, size_t*, char**,
size_t) const':
IconvFBSDTransService.cpp:502: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:502: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
IconvFBSDTransService.cpp: In member function 'size_t
xercesc_2_8::IconvFBSDCD::iconvTo(const char*, size_t*, char**, size_t)
const':
IconvFBSDTransService.cpp:511: error: invalid conversion from 'const
char**' to 'char**'
IconvFBSDTransService.cpp:511: error:   initializing argument 2 of
'size_t iconv(void*, char**, size_t*, char**, size_t*)'
make[2]: *** [IconvFBSDTransService.o] Error 1
make[1]: *** [transcoders] Error 2
make: *** [Util] Error 2

Micro Focus Live - May 11-13, 2009
100% Online - 100% Convenient - 100% Free
Industry Experts, Core Developers, Customer ROI Case Studies
Register today @ www.microfocuslive.com
 
Please consider the environment before printing this e-mail.

Reply via email to