Package Details: icu58 58.3-1

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

Latest Comments

JohnnyDeacon commented on 2018-08-20 21:16

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

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

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

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

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