On Apr 10, 2004, at 12:33 PM, Alberto Manuel Brandao Simoes wrote:

I am not needing parrot (just checking its state) but compilation failed. Don't know if it is expected or not. In any case, this might be useful:

../data/locales/ja.txt:15: parse error. Stopped parsing with U_INVALID_FORMAT_ERROR
couldn't parse the file ja.txt. Error:U_INVALID_FORMAT_ERROR
make[1]: *** [../data/out/build/icudt26l_ja.res] Error 3
make[1]: Leaving directory `/home/ambs/Junk/Parrot/parrot/icu/source/data'
make: *** [blib/lib/libicuuc.a] Error 2

It's odd, but try this:


1) cd into icu/source/data

2) Edit the Makefile. Look for this:

$(BUILDDIR)/$(ICUDT)%.res: $(INDEX_FILES) $(TOOLDIR)/genrb/genrb$(EXEEXT)
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -d $(BUILDDIR) $(INDEX_FILES)


Add this: -i $(BUILDDIR)
right before: -d $(BUILDDIR)

so that you have:

$(BUILDDIR)/$(ICUDT)%.res: $(INDEX_FILES) $(TOOLDIR)/genrb/genrb$(EXEEXT)
ICU_DATA=$(BUILDDIR) $(INVOKE) $(TOOLDIR)/genrb/genrb $(GENRBOPTS) -p $(ICUDATA_PLATFORM_NAME) -i $(BUILDDIR) -d $(BUILDDIR) $(INDEX_FILES)


3) While in same directory, execute:

make ENABLE_STATIC=

(yes, there's nothing to the right of the "=".)


If that succeeds, then we need to patch icu/source/data/Makefile.in to add that. If it still fails, try one more thing: add a slash, so that you have:


-i $(BUILDDIR)/

instead of:

-i $(BUILDDIR)

and then try the "make ENABLE_STATIC=" again.

If it's still failing, then something else is going on.

If it is, then there's one more thing to try:

1) cd into icu/source/data/out/build

2) Execute this (which will create ja.res in /var/tmp if it succeeds):

../../../tools/genrb/genrb -k -s ../../locales -i . -d /var/tmp ja.txt

If that succeeds, then the above should have also works. If it fails, then send me the message it outputs, which should be similar to your above-reported output, but with a little additional diagnostic information.

Thanks,

JEff



Reply via email to