You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Martin Baute (JIRA)" <xa...@xml.apache.org> on 2010/08/24 15:20:18 UTC

[jira] Commented: (XALANC-702) Invalid option for genrb while building with ICU 4.4.1

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

Martin Baute commented on XALANC-702:
-------------------------------------

...because removing the "-m icu" means it's using inmem instead of ICU for localization, i.e. the need to use genrb goes away.

Which isn't much of a solution if, for some reason, you *have* to use ICU.

> 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-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org