[ 
https://issues.apache.org/jira/browse/XERCESC-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12881041#action_12881041
 ] 

Steven R. Loomis commented on XERCESC-1882:
-------------------------------------------

Boris,
 Your current patch calls gencmn but it doesn't use the correct libraries.
 It's better to just use pkgdata directly.

 You can call gencmn with the output of:  icu-config --invoke=gencmn
  or, use the $(INVOKE) variable in Makefile.inc



> Xerces-C++ 3.0.1 fails to build with ICU 4.2
> --------------------------------------------
>
>                 Key: XERCESC-1882
>                 URL: https://issues.apache.org/jira/browse/XERCESC-1882
>             Project: Xerces-C++
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: 3.0.1
>         Environment: Affects any platform with ICU 4.2, but I reproduced on 
> OS X.
>            Reporter: Scott Cantor
>            Assignee: Boris Kolpackov
>             Fix For: 3.1.0
>
>         Attachments: pkgdata.patch
>
>
> Xerces-C++ 3.0.1 fails to build with ICU 4.2 because of a dependency on 
> pkgdata's command line that apparently broke.
> The error is "pkgdata no longer supports -M option".
> make  all-recursive
> make[1]: Entering directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
> Making all in src
> make[2]: Entering directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
> Making all in xercesc/util/MsgLoaders/ICU/resources
> make[3]: Entering directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
> /usr/bin/genrb root.txt
> /usr/bin/pkgdata --name xercesc_messages_3_0 --mode dll -d . -M 
> '"CC=x86_64-pc-linux-gnu-gcc" "CXX=x86_64-pc-linux-gnu-g++" 
> "AR=x86_64-pc-linux-gnu-ar" "RANLIB=x86_64-pc-linux-gnu-ranlib" "CPPFLAGS=" 
> "CFLAGS=-march=core2 -pipe -O2" "CXXFLAGS=-march=core2 -pipe -O2 " 
> "LDFLAGS=-Wl,-O1,--as-needed,--gc-sections,--hash-style=gnu,--sort-common"' 
> ./res-file-list.txt
> /usr/bin/pkgdata: error in command line argument "-M"
> Run '/usr/bin/pkgdata --help' for help.
> make[3]: *** [xercesc_messages.lo] Error 1
> make[3]: Leaving directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src/xercesc/util/MsgLoaders/ICU/resources'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory 
> `/var/tmp/portage/dev-libs/xerces-c-3.0.1/work/xerces-c-3.0.1'
> make: *** [all] Error 2

-- 
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: c-dev-unsubscr...@xerces.apache.org
For additional commands, e-mail: c-dev-h...@xerces.apache.org

Reply via email to