This appendix includes sample instructions to download ICU, configure it not to use multi-threading, and compile it for various platforms. Note that download sites, versions of compilers, and milli and micro releases of ICU may have changed ICU since the embedded dates when these instructions were tested making them out-of-date. Therefore, these instructions must be considered examples, not a cookbook.
Although GT.M uses ICU, ICU is not FIS software and FIS does not support ICU. The sample instructions for installing and configuring ICU are merely provided as a convenience to you.
All GT.M versions prior to V5.3-004 require exactly ICU 3.6, however, V5.3-004 (or later) accept ICU 3.6 or later.
As of November 2011, ICU version 4.4 can be compiled on AIX with the following configuration:
Operating System: AIX
Version: AIX 6.1 64-bit
Compilers: IBM XL C/C++ 10, GNU make 3.80
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Set the environment variable OBJECT_MODE to 64.
Download the source code of ICU version 4.4 for C from http://site.icu-project.org/download
At the shell prompt, execute the following commands:
gunzip -d < icu4c-4_4-src.tgz | tar -xf - cd icu/source ./runConfigureICU AIX --disable-threads --enable-renaming=no --with-library-bits=64 CC=xlc gmake gmake -k check gmake install
Set the environment variable LIBPATH to point to the location of ICU. AIX uses the environment variable LIBPATH to search for dynamically linked libraries.
This installs ICU in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To install ICU in a different directory, use --prefix=<install_path> with the runConfigureICU command. |
As of December 2009, ICU version 4.2 can be compiled on AIX with the following configuration:
Operating System: UNIX
Version: AIX 6.1 64-bit
Compilers: IBM XL C/C++ 10, GNU make 3.80
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Set the environment variable OBJECT_MODE to 64.
Download the source code of ICU version 4.2 for C from http://site.icu-project.org/download
At the shell prompt, execute the following commands:
gunzip -d < icu4c-4_2_1-AIX6_1-VA9.tgz | tar -xf - cd icu/source ./configure CC=/usr/vac/bin/cc CXX=/usr/vacpp/bin/xlc++ --disable-threads --disable-renaming gmake gmake check gmake install
Set the environment variable LIBPATH to point to the location of ICU. AIX uses the environment variable LIBPATH to search for dynamically linked libraries.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed on |
As of December 2009, ICU version 4.2 could be compiled on AIX with the following configuration:
Operating System: AIX
Version: AIX 5.3 (PowerPC 64-bit)
Compilers: VisualAge 6, GNU make (3.77+), ANSI C compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 3.6 for C from http://site.icu-project.org/download
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh ./configure --disable-renaming --disable-threads --enable-debug CC=cc CFLAGS=-q64 gmake gmake check gmake install
Set the environment variable LIBPATH to point to the location of ICU. AIX uses the environment variable LIBPATH to search for dynamically linked libraries.
This installs ICU in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To install ICU in a different directory, use --prefix=<install_path> with the runConfigureICU command. |
As of January 2007, ICU version 3.6 could be compiled on AIX with the following configuration:
Operating System: AIX
Version: AIX 5.2 (PowerPC
64-bit)
Compilers: VisualAge 6, GNU make (3.77+), ANSI C
compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU AIX --disable-64bit-libs --disable-threads gmake gmake check gmake install
Set the environment variable LIBPATH to point to the location of ICU. AIX uses the environment variable LIBPATH to search for dynamically linked libraries.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed on
|
As of November 2009, ICU version 4.2 could be compiled on HP Integrity IA64 HP-UX with the following configuration:
Operating System: UNIX
Version: IA64 HP-UX 11.31
Compilers: HP C/aC++ B3910B A.06.15, GNU make (3.81)
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU (in this example version 3.6 for C from http://icu.sourceforge.net/).
At the shell prompt, run the following commands:
gunzip -d < icu4c-4_2_1-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh ./runConfigureICU HP-UX/ACC --disable-renaming --disable-threads --with-library-bits=64 gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. HP-UX uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries.
This installs ICU in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To install ICU in a different directory, use --prefix=<install_path> with the runConfigureICU command. |
As of November 2009, ICU version 3.6 could be compiled on HP Integrity IA64 HP-UX with the following configuration:
Operating System: UNIX
Version: IA64 HP-UX 11.31
Compilers: HP C/aC++ B3910B A.06.15, GNU make (3.81)
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU (in this example version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C).
At the shell prompt, run the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU HP-UX/ACC --disable-threads gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. HP-UX uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed in the
|
As of November 2009, ICU version 3.6 could be compiled on HP PA-RISC HP-UX with the following configuration:
Operating System: UNIX
Version:HP-UX 11.31 (11iv3)
Compiler: cc HP C/aC++ B3910B A.06.12, aCC HP C/aC++ B3910B A.06.15, GNU Make 3.81
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU (in this example, version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C)
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU HP-UX/ACC --disable-64bit-libs? --enable-rpath --disable-threads gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. HP-UX uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed in
|
As of January 2007, ICU version 3.6 could be compiled on PA-RISC HP-UX with the following configuration:
Operating System: UNIX
Version: HP-UX 11.11
Compilers: aCC A.03.50, cc B.11.11.08, GNU make
(3.77+)
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C
Add the following line in the configuration file source/config/mh-hpux-acc to include the appropriate C++ runtime libraries:
DEFAULT_LIBS = -lstd_v2 -lCsup_v2 -lcl
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU HP-UX/ACC --disable-64bit-libs --disable-threads gmake gmake check gmake install
Set the environment variable
LD_LIBRARY_PATH
to point to the location of ICU. HP-UX uses the environment variableLD_LIBRARY_PATH
to search for dynamically linked libraries.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed in the
|
As of December 2009, ICU version 4.2 could be compiled on x86_64 Linux with the following configuration:
Operating System: x86_64 Linux
Version: Red Hat Enterprise Linux 4 Update 2
Compilers: gcc 3.4.4, GNU make (3.77+), ANSI C compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 4.2 for C from http://site.icu-project.org/download.
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh ./runConfigureICU Linux --disable-renaming --disable-threads --with-library-bits=64 gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. Linux uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries to be loaded.
This installs ICU in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To install ICU in a different directory, use --prefix=<install_path> with the runConfigureICU command. |
As of January 2007, ICU version 3.6 could be compiled on x86 Linux with the following configuration:
Operating System: x86 Linux
Version: Red Hat Enterprise Linux 4 Update
2
Compilers: gcc 3.4.4, GNU make (3.77+), ANSI C
compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU Linux --disable-64bit-libs --disable-threads gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. Linux uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries to be loaded.
This installs ICU in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed on
|
As of December 2009, ICU version 4.2 could be compiled on Solaris with the following configuration:
Operating System: Solaris
Version: Solaris 9 (SunOS 5.9)
Compilers: Sun Studio 8 (Sun C++ 5.5), GNU make (3.77+), ANSI C compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 4.2 for C from http://site.icu-project.org/download
Add the following line in the configuration file source/config/mh-solaris to include the appropriate C++ runtime libraries:
DEFAULT_LIBS = -lCstd -lCrun -lm -lc
At the shell prompt, execute the following commands:
gunzip -d < icu4c-4_2_1-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh ./configure --with-library-bits=64 --enable-threads=no LDFLAGS="-lCstd -lCrun" gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. Solaris uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries to be loaded.
ICU is now installed in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To to install ICU in a different directory, use --prefix=<install_path> with the runConfigure command. |
As of December 2009, ICU version 4.2 could be compiled on Solaris with the following configuration:
Operating System: Solaris
Version: Solaris 9 (SunOS 5.9)
Compilers: Sun Studio 8 (Sun C++ 5.5), GNU make (3.77+), ANSI C compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 4.2 for C from http://site.icu-project.org/download
Add the following line in the configuration file source/config/mh-solaris to include the appropriate C++ runtime libraries:
DEFAULT_LIBS = -lCstd -lCrun -lm -lc
At the shell prompt, execute the following commands:
gunzip -d < icu4c-4_2_1-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh ./configure --disable-renaming --disable-threads --enable-64bit-libs gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. Solaris uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries to be loaded.
ICU is now installed in the /usr/local directory.
![]() | Note |
---|---|
By default, ICU is installed in the /usr/local directory. To to install ICU in a different directory, use --prefix=<install_path> with the runConfigure command. |
As of January 2007, ICU version 3.6 could be compiled on Solaris with the following configuration:
Operating System: Solaris
Version: Solaris 9 (SunOS
5.9)
Compilers: Sun Studio 8 (Sun C++ 5.5), GNU make
(3.77+), ANSI C compiler
Ensure that system environment variable PATH includes the location of all the compilers mentioned above.
Download the source code of ICU version 3.6 for C from http://icu.sourceforge.net/download/3.6.html#ICU4C>
Add the following line in the configuration file source/config/mh-solaris to include the appropriate C++ runtime libraries:
DEFAULT_LIBS = -lCstd -lCrun -lm -lc
At the shell prompt, execute the following commands:
gunzip -d < icu4c-3_6-src.tgz | tar -xf - cd icu/source/ chmod +x runConfigureICU configure install-sh runConfigureICU Solaris --disable-64bit-libs --disable-threads gmake gmake check gmake install
Set the environment variable LD_LIBRARY_PATH to point to the location of ICU. Solaris uses the environment variable LD_LIBRARY_PATH to search for dynamically linked libraries to be loaded.
ICU is now installed in the /usr/local
directory.
![]() | Note |
---|---|
By default, ICU is installed in the
|