Package Details: icu58 58.3-1

Git Clone URL: https://aur.archlinux.org/icu58.git (read-only, click to copy)
Package Base: icu58
Description: International Components for Unicode library
Upstream URL: http://www.icu-project.org/
Licenses: custom:"icu"
Submitter: mkljczk
Maintainer: petronny
Last Packager: petronny
Votes: 7
Popularity: 0.000000
First Submitted: 2017-04-30 14:59 (UTC)
Last Updated: 2019-06-11 05:33 (UTC)

Latest Comments

JohnnyDeacon commented on 2018-08-20 21:16 (UTC)

Hi, how can I fix the following error while compiling?

g++ ... decimalformatpattern.cpp g++ ... dcfmtsym.cpp g++ ... digitlst.cpp digitlst.cpp:67:13: fatal error: xlocale.h: No such file or directory # include <xlocale.h> ^~~~~~~~~~~ compilation terminated. Failed compilation command follows: ---------------------------------------------------------- g++ -D_FORTIFY_SOURCE=2 -D_REENTRANT -DU_HAVE_ELF_H=1 -DU_HAVE_ATOMIC=1 -DU_HAVE_STRTOD_L=1 -I. -I../common -DU_ATTRIBUTE_DEPRECATED= -DU_I18N_IMPLEMENTATION -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -W -Wall -pedantic -Wpointer-arith -Wwrite-strings -Wno-long-long --std=c++0x -c -DPIC -fPIC -o digitlst.o digitlst.cpp --- ( rebuild with "/usr/bin/make VERBOSE=1 all" to show all parameters ) -------- make[1]: [../config/mh-linux:51: digitlst.o] Error 1 make[1]: Leaving directory '/tmp/yaourt-tmp-jairo/aur-icu58/src/icu/source/i18n' make: *** [Makefile:143: all-recursive] Error 2 ==> ERROR: A failure occurred in build(). Aborting... ==> ERROR: Makepkg was unable to build icu58. ==> Restart building icu58 ? [y/N] ==> ------------------------------ ==> </xlocale.h>

muflone commented on 2018-08-12 17:09 (UTC)

Please fix the xlocale.h header using:

prepare() {
    # fix xlocale.h problems ([FS#55246](https://bugs.archlinux.org/task/55246))
    cd ${srcdir}/${_pkgname}/source
    sed -i 's/xlocale/locale/' i18n/digitlst.cpp
}

Took from the icu60 package

Pastafarianist commented on 2018-01-03 15:20 (UTC) (edited on 2018-01-03 15:20 (UTC) by Pastafarianist)

The following helps with fixing the missing xlocale.h header:

sudo ln -s /usr/include/locale.h /usr/include/xlocale.h

Don't forget to remove it once build is completed:

sudo unlink /usr/include/xlocale.h

MightyPork commented on 2017-12-10 23:00 (UTC) (edited on 2017-12-10 23:00 (UTC) by MightyPork)

this package fails to build for me with this error:

make[1]: Entering directory '/home/ondra/Downloads/icu58/src/icu/source/i18n'
   (deps)    digitlst.cpp
digitlst.cpp:67:13: fatal error: 'xlocale.h' file not found
#   include <xlocale.h>
            ^~~~~~~~~~~

some missing dependency?

parnmatt commented on 2017-09-01 14:57 (UTC)

I'm a little confused where the binaries this compiles are installed. Only the abs build is in my path.