Why can't I install icu?

b. f. bf1783 at googlemail.com
Sat Feb 5 01:04:58 UTC 2011


> Icu is a necessary dependency for Gimp, but I can't get it to install.
> I checked UPDATING and it states that icu4 is now deprecated, and one
> should install /devel/icu.  But when I try to do that the file that is
> downloaded is icu4c, and the install goes along until it chokes with
> this error message:
>
> SUMMARY:
> ******* [Total error count:     1]
>   Errors in
> [/tsformat/ccaltst/TestCalendar]
> Elapsed Time: 00:00:48.205
> *** Error code 1
> Stop in /usr/ports/devel/icu.
>
> Very frustrating.  I need to get Gimp onto my computer, and I can
> install it as a package, but if I try to upgrade the program the upgrade
> always chokes on icu at the same place, and with the same error message.
>
> Anyone?

Try again, with a clean build, after having made sure that you've
removed all remnants of the earlier icu versions; and make a
transcript of the build:

pkg_delete -fv "icu2-*" "icu-*"
script /tmp/icu.log
make -C /usr/ports/devel/icu deinstall clean install
exit

If the problem still occurs, then you should file a problem report:

http://www.freebsd.org/doc/en_US.ISO8859-1/articles/problem-reports/article.html

Make sure you attach the config.log from the failed build (look for it
in the work directory of the port before cleaning up), as well as the
transcript (/tmp/icu.log) of the failed build.

If there aren't any pre-built binary packages of the latest versions
of icu and gimp available, and you don't want to wait for them to be
produced, or for the problem to be fixed; and (as apparently is the
case) the build is working, but only the post-build tests are failing;
then first disable the tests and then try to build and install icu.
You can do that by editing the port Makefile and commenting-out the
following line:

post-build test regression-test: iotest cintltst intltest

(Of course, this change will probably be wiped out each time you
update your ports tree.)

b.


More information about the freebsd-questions mailing list