You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Boris Kolpackov (JIRA)" <xe...@xml.apache.org> on 2009/11/10 13:56:28 UTC

[jira] Closed: (XERCESC-1882) Xerces-C++ 3.0.1 fails to build with ICU 4.2

     [ https://issues.apache.org/jira/browse/XERCESC-1882?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Boris Kolpackov closed XERCESC-1882.
------------------------------------

    Resolution: Fixed

Ok, I have completely redone building of the resources for the ICU message loader. Instead of using pkgdata and then snatching some of its by-products (object files), we now call genccode and gencmn to produce a pair of C files which are then compiled normally by automake. I tested this with ICU 3.8.1, 4.0.0, and 4.2.1 and everything works as expected. Let's hope ICU folks won't deprecate one of these tools in the next release...

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