You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stdcxx.apache.org by Martin Sebor <se...@roguewave.com> on 2008/06/27 20:48:16 UTC

Re: problem in installing apache standard library on HPUX 11.23PA

pendiala jaipal wrote:
> Hi all,
> 
> When i install Apache standard library to /opt/iexpress/stdcxx location it is giving problem.
> 
>  gmake install PREFIX=/opt/iexpress/stdcxx
> 
> -----------------------------------------------------------------------------------------------
> mkdir -p /opt/iexpress/stdcxx
> gmake -Clib install
> gmake[1]: Entering directory `/home/jaipal/Stdcxx/stdcxx-4.2.1/build/lib'
> mkdir -p /opt/iexpress/stdcxx/lib
> cp libstd.sl.4.2.1 /opt/iexpress/stdcxx/lib
> if [ libstd.sl != libstd.sl.4.2.1 ]; then          \
>             rm /opt/iexpress/stdcxx/lib/libstd.sl;           \
>             ln -s libstd.sl.4.2.1 /opt/iexpress/stdcxx/lib/libstd.sl; \
>         fi
> mkdir -p /opt/iexpress/stdcxx/etc
> cp rwstderr.cat /opt/iexpress/stdcxx/etc
> gmake[1]: Leaving directory `/home/jaipal/Stdcxx/stdcxx-4.2.1/build/lib'
> gmake -Cbin install
> gmake[1]: Entering directory `/home/jaipal/Stdcxx/stdcxx-4.2.1/build/bin'
> ./localedef -w -c -f /home/jaipal/Stdcxx/stdcxx-4.2.1/etc/nls/charmaps/GB18030 -i /home/jaipal/Stdcxx/stdcxx-4.2.1/etc/nls/src/zh_CN /home/jaipal/Stdcxx/stdcxx-4.2.1/build/nls/zh_CN.GB18030
> /bin/sh: 948 Memory fault(coredump)
> gmake[1]: *** [zh_CN.GB18030] Error 139
> gmake[1]: Leaving directory `/home/jaipal/Stdcxx/stdcxx-4.2.1/build/bin'
> gmake: *** [install] Error 2
> ------------------------------------------------------------------------------------------------------
> 
> Can you help me regarding this issue....

You should be able to avoid the error by removing the problem
locale(s) from the list:
http://svn.apache.org/repos/asf/stdcxx/tags/4.2.1/etc/nls/gen_list

You can also specify the set of locales you want installed
using the LOCALES make variable. E.g.,

     gmake -Clib install LOCALES="en_US.UTF-8 ja_JP.EUC-JP"

If you need this locale, you should be able to build it on
another similar system (all that matters is the endianness
of the OS/CPU, so for instance Solaris/SPARC will work)
and copy it to your installation directory on HP-UX.

Martin