We're updating the issue view to help you get more done. 

ICU4C : compilation with MSYS2 + mingw-w64 : "Couldn't create the udata mappings/cns-11643-1992.cnv"

Description

Hello

I want to compile ICU with MSYS2 + mingw-w64. I cloned the git repository, went into icu4c/source, then I configured ICU that way :

./runConfigureICU MinGW --prefix=/opt/icu

then just run 'make'

the DLL has been created, but later there is this error :

PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/genrb -s ./locales -d ./out/build/icudt63l/ -i ./out/build/icudt63l --usePoolBundle ./out/build/icudt63l/ -k ckb_IR.txt
PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s . -d ./out/build/icudt63l -c mappings/cns-11643-1992.ucm
Warning: mappings/cns-11643-1992.cnv claims to be 'CNS-11643-1992'
Couldn't create the udata mappings/cns-11643-1992.cnv: U_FILE_ACCESS_ERROR
Error writing "./out/build/icudt63l\mappings/cns-11643-1992.cnv" file for ".\mappings/cns-11643-1992.ucm" (U_FILE_ACCESS_ERROR)

Indeed, the subdirectory data/out/build/icudt63l\mappings does not exists.

So, i created manually this mappings directory to see if it completes the build, and launched 'make' again. I got this error :

PATH=../lib:../stubdata:../tools/ctestfw:$PATH ../bin/makeconv -s . -d ./out/build/icudt63l -c mappings/ibm-1363_P110-1997.ucm
Error creating converter for "./out/build/icudt63l\mappings/ibm-1363_P110-1997.cnv" file for ".\mappings/ibm-1363_P110-1997.ucm" (U_FILE_ACCESS_ERROR)

any idea what is going wrong ?

thank you

Vincent Torri

Status

Assignee

Jeff Genovy

Reporter

Vincent Torri

Components

Fix versions

Priority

major