Why can't I install icu?
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:
> ******* [Total error count: 1]
> Errors in
> 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.
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-*"
make -C /usr/ports/devel/icu deinstall clean install
If the problem still occurs, then you should file a problem report:
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
post-build test regression-test: iotest cintltst intltest
(Of course, this change will probably be wiped out each time you
update your ports tree.)
More information about the freebsd-questions