Difference between revisions of "ICU"
From CBLFS
Jump to navigationJump to search (→64Bit) |
|||
(One intermediate revision by one other user not shown) | |||
Line 21: | Line 21: | ||
cd source && | cd source && | ||
− | ./configure --prefix=/usr && | + | for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do |
+ | sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in | ||
+ | done && | ||
+ | ./configure --prefix=/usr \ | ||
+ | --disable-debug --disable-samples && | ||
make | make | ||
Line 35: | Line 39: | ||
cd source && | cd source && | ||
+ | for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do | ||
+ | sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in | ||
+ | done && | ||
USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \ | USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \ | ||
− | + | CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ | |
− | + | ./configure --prefix=/usr --libdir=/usr/lib \ | |
+ | --disable-debug --disable-samples && | ||
make | make | ||
Line 60: | Line 68: | ||
cd source && | cd source && | ||
+ | for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do | ||
+ | sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in | ||
+ | done && | ||
USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \ | USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \ | ||
CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ | ||
− | ./configure --prefix=/usr --libdir=/usr/lib64 && | + | ./configure --prefix=/usr --libdir=/usr/lib64 \ |
− | make | + | --disable-debug --disable-samples && |
+ | make | ||
Install the package: | Install the package: |
Latest revision as of 17:44, 23 June 2009
Download Source: | http://download.icu-project.org/files/icu4c/4.2.1/icu4c-4_2_1-src.tgz |
---|
Contents
Introduction to ICU
ICU (International Components for Unicode) is a mature, widely used set of C/C++ and Java libraries providing Unicode and Globalization support for software applications.
Project Homepage: http://site.icu-project.org
Dependencies
Optional
Non-Multilib
Compile the package:
cd source && for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in done && ./configure --prefix=/usr \ --disable-debug --disable-samples && make
Install the package:
make install
Multilib
32Bit
Compile the package:
cd source && for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in done && USE_ARCH=32 PKG_CONFIG_PATH=${PKG_CONFIG_PATH32} \ CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \ ./configure --prefix=/usr --libdir=/usr/lib \ --disable-debug --disable-samples && make
Install the package:
make install && mv -v /usr/bin/icu-config{,-32}
N32
Compile the package:
To do ...
Install the package:
make install
64Bit
Compile the package:
cd source && for x in CFLAGS CXXFLAGS CPPFLAGS LDFLAGS ; do sed -i -e "/^${x} =.*/s:@${x}@::" config/Makefile.inc.in done && USE_ARCH=64 PKG_CONFIG_PATH=${PKG_CONFIG_PATH64} \ CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \ ./configure --prefix=/usr --libdir=/usr/lib64 \ --disable-debug --disable-samples && make
Install the package:
make install && mv -v /usr/bin/icu-config{,-64} && ln -sfv multiarch_wrapper /usr/bin/icu-config
Contents
Installed Directories: | /usr/include/unicode, /usr/include/layout, /usr/share/icu/4.2.1 |
---|---|
Installed Programs: | makeconv, genrb, derb, genuca, genbrk, genctd, gencnval, gensprep, genccode, gencmn, icupkg, pkgdata, icuswap, uconv, icu-config |
Installed Libraries: | libicudata.so, libicuuc.so, libicui18n.so, libicule.so, libiculx.so, libicutu.so, libicutest.so, libicuio.so |