怎样编译安装libunistring

2017年11月27日 | 分类: 【技术】

【介绍】

参考:http://linuxfromscratch.org/blfs/view/svn/general/libunistring.html

【编译】

wget ftp://ftp.gnu.org/gnu/libunistring/libunistring-0.9.7.tar.xz  && xz -d libunistring-0.9.7.tar.xz && tar -xvf libunistring-0.9.7.tar && cd libunistring-0.9.7
./configure --prefix=/usr --disable-static --docdir=/usr/share/doc/libunistring-0.9.7
make && make check
make install

输出:

----------------------------------------------------------------------
Libraries have been installed in:
   /usr/lib
...
 /usr/bin/mkdir -p '/usr/include/unistring'
 /usr/bin/install -c -m 644  unistring/inline.h '/usr/include/unistring'
 /usr/bin/install -c -m 644  unitypes.h unistr.h uniconv.h unistdio.h uniname.h unictype.h uniwidth.h unigbrk.h uniwbrk.h unilbrk.h uninorm.h unicase.h '/usr/include/.'
...

备注:

Installed Libraries: libunistring.so
Installed Directory: /usr/include/unistring and /usr/share/doc/libunistring-0.9.7