[ 
https://issues.apache.org/jira/browse/XALANC-702?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12903516#action_12903516
 ] 

David Bertoni commented on XALANC-702:
--------------------------------------

There is currently no advantage to using the ICU for the messages, which is 
what the -m option means.

If you had translations for the Xalan-C messages, and you wanted to have a 
single message shared library/DLL with translations for multiple languages in 
it, then the ICU message bundles would be useful.

> Invalid option for genrb while building with ICU 4.4.1
> ------------------------------------------------------
>
>                 Key: XALANC-702
>                 URL: https://issues.apache.org/jira/browse/XALANC-702
>             Project: XalanC
>          Issue Type: Bug
>          Components: XalanC
>    Affects Versions: CurrentCVS
>         Environment: SLES 10 x86_64
> ICU 4.4.1
> Xerces 3.1.1 (build with ICU support)
> Xalan subversion revision 979236
>            Reporter: Bernd Ernesti
>            Priority: Minor
>             Fix For: 1.1.x
>
>
> These are the build settings for Xalan-c:
>  setenv ICUROOT ${HOME}/ICU/icu-linux
>  setenv XALANCROOT `pwd`
>  setenv XERCESCROOT $HOME/xerces-c/linux
>  setenv LD_LIBRARY_PATH $ICUROOT/lib:${XERCESCROOT}/lib
>  ./runConfigure -plinux -cgcc -xg++ -t icu -m icu -P ${HOME}/xalan-c/linux -l 
> "-L${XERCESCROOT}/lib/" -l-m32 -z "-I${XERCESCROOT}/include" -z-m32
> The build fails very early:
> ../../../bin/MsgCreator /xalan/src/xalanc/NLS/en_US/XalanMsg_en_US.xlf -TYPE 
> icu -LOCALE en_US
> mv LocalMsgIndex.hpp ../../../nls/include
> mv en_US.txt ../../../nls/icu
> /ICU/icu-linux/bin/genrb -p xalanMsg -d ../../../nls/icu -i ../../../nls/icu 
> ../../../nls/icu/en_US.txt
> /ICU/icu-linux/bin/genrb: error in command line argument "-p"
> The genrb.c source code from ICU has this comment about the -p option:
>    This option is deprecated and should not be used ever.
> That was changed in this ICU revision:
>  r23588 | Michael Ow | 2008-03-13 23:43:56 +0100 (Thu, 13 Mar 2008) | 1 line
>  ticket:3798: Remove -p option in genrb and update docs to reflect this 
> change.
> See also http://bugs.icu-project.org/trac/ticket/3798

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscr...@xml.apache.org
For additional commands, e-mail: xalan-dev-h...@xml.apache.org

Reply via email to