- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Need help in compiling locale from source
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 03:17 PM
07-19-2004 03:17 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 07:57 PM
07-19-2004 07:57 PM
Re: Need help in compiling locale from source
This may help
http://hpux.connect.org.uk/hppd/hpux/Development/Libraries/libutf8-0.8/
But please give more data about the software yopu want to use to compile locale
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 08:24 PM
07-19-2004 08:24 PM
Re: Need help in compiling locale from source
I need russian language support in my HP-UX 11.00
I try to compile the source like this:
localedef -f /usr/lib/nls/loc/charmaps/utf8.cm -e -n -c -i /usr/lib/nls/loc/src/ru_RU.utf8.src -m /usr/lib/nls/loc/src/univ.utf8.m ru_RU.utf8.src
But I get some errors and compilation failed then.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 09:32 PM
07-19-2004 09:32 PM
Re: Need help in compiling locale from source
What errors
Try
localedef -f /usr/lib/nls/loc/charmaps/utf8.cm \
-e -n -c -i /usr/lib/nls/loc/src/ru_RU.utf8.src \
-m /usr/lib/nls/loc/src/univ.utf8.m \
ru_RU.utf8
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 09:48 PM
07-19-2004 09:48 PM
Re: Need help in compiling locale from source
Here's what I've got:
# localedef -f /usr/lib/nls/loc/charmaps/utf8.cm \
> -e -n -c -i /usr/lib/nls/loc/src/ru_RU.utf8.src \
> -m /usr/lib/nls/loc/src/univ.utf8.m \
> ru_RU.utf8
Processed LC_CTYPE
Processed LC_COLLATE
Processed LC_MONETARY
Processed LC_NUMERIC
Processed LC_TIME
Processed LC_MESSAGE
(Bundled) cc: warning 480: The -A option is available only with the C/ANSI C product; ignored.
(Bundled) cc: warning 480: The +z option is available only with the C/ANSI C product; ignored.
cpp: "./locAAAa04683.c", line 6: warning 2013: Unknown preprocessing directive.
(Bundled) cc: "locAAAa04683.c", line 10: error 1000: Unexpected symbol: "*".
(Bundled) cc: "locAAAa04683.c", line 10: warning 5: "const" will become a keyword.
(Bundled) cc: "locAAAa04683.c", line 10: error 1000: Unexpected symbol: "char".
(Bundled) cc: "locAAAa04683.c", line 10: error 1000: Unexpected symbol: "int".
(Bundled) cc: "locAAAa04683.c", line 10: error 1000: Unexpected symbol: "char".
(Bundled) cc: "locAAAa04683.c", line 10: error 1000: Unexpected symbol: "_LC_charmap_t".
(Bundled) cc: "locAAAa04683.c", line 11: warning 5: "const" will become a keyword.
(Bundled) cc: "locAAAa04683.c", line 11: error 1000: Unexpected symbol: "*".
(Bundled) cc: "locAAAa04683.c", line 11: error 1000: Unexpected symbol: "char".
(Bundled) cc: "locAAAa04683.c", line 11: error 1000: Unexpected symbol: "int".
(Bundled) cc: "locAAAa04683.c", line 11: error 1000: Unexpected symbol: "*".
(Bundled) cc: "locAAAa04683.c", line 12: error 1000: Unexpected symbol: "__pcstombs_utf8".
(Bundled) cc: error 2017: Cannot recover from earlier errors, terminating.
localedef [ERROR]: FILE: /usr/lib/nls/loc/src/ru_RU.utf8.src, LINE: 4191, CHAR: 1
Required header files sys/localedef.h and sys/lc_core.h are the wrong version or are missing.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 09:49 PM
07-19-2004 09:49 PM
Re: Need help in compiling locale from source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 11:05 PM
07-19-2004 11:05 PM
SolutionRequired header files sys/localedef.h and sys/lc_core.h are the wrong version or are missing.
Suspect you miss libutf8 on
ll /usr/lib/nls/loc/pa20_64/methods.2
total 252
-r-xr-xr-x 1 bin bin 20928 Nov 14 2000 libHP15.sl
-r-xr-xr-x 1 bin bin 20480 Nov 14 2000 libSJIS.sl
-r-xr-xr-x 1 bin bin 20552 Nov 14 2000 libeucJP.sl
-r-xr-xr-x 1 bin bin 20744 Nov 14 2000 libeucTW.sl
-r-xr-xr-x 1 bin bin 21720 Nov 14 2000 libhp15CN.sl
-r-xr-xr-x 1 bin bin 20488 Nov 14 2000 libutf8.sl
What does
swlist -l file|grep libutf8
OS-Core.CMDS-MIN: /usr/lib/nls/loc/methods.1/libutf8.sl
OS-Core.CMDS-MIN: /usr/lib/nls/loc/methods.2/libutf8.sl
OS-Core.CMDS-MN-64SLIB: /usr/lib/nls/loc/pa20_64/methods.2/libutf8.sl
give
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-19-2004 11:10 PM
07-19-2004 11:10 PM
Re: Need help in compiling locale from source
# ll /usr/lib/nls/loc/pa20_64/methods.2
total 146
-r-xr-xr-x 1 bin bin 12208 Nov 7 1997 libHP15.sl
-r-xr-xr-x 1 bin bin 11760 Nov 7 1997 libSJIS.sl
-r-xr-xr-x 1 bin bin 11776 Nov 7 1997 libeucJP.sl
-r-xr-xr-x 1 bin bin 12112 Nov 7 1997 libeucTW.sl
-r-xr-xr-x 1 bin bin 12752 Nov 7 1997 libhp15CN.sl
-r-xr-xr-x 1 bin bin 11768 Nov 7 1997 libutf8.sl
# swlist -l file|grep libutf8
OS-Core.CMDS-MIN: /usr/lib/nls/loc/methods.1/libutf8.sl
OS-Core.CMDS-MIN: /usr/lib/nls/loc/methods.2/libutf8.sl
OS-Core.CMDS-MN-64SLIB: /usr/lib/nls/loc/pa20_64/methods.2/libutf8.sl
The errors still occure
I've recently installed libutf8, but did not reboot. Do I need to do reboot after installing?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 12:01 AM
07-20-2004 12:01 AM
Re: Need help in compiling locale from source
reboot can be useful but first
swlist -l file|grep localedef.h
ProgSupport.C-INC: /usr/include/localedef.h
swlist -l file|grep lc_core.h
ProgSupport.C-INC: /usr/include/lc_core.h
what /usr/include/localedef.h
what /usr/include/lc_core.h
ll /usr/include/lc_core.h
ll /usr/include/localedef.h
steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-20-2004 10:32 PM
07-20-2004 10:32 PM
Re: Need help in compiling locale from source
That's what I've got:
# swlist -l file|grep localedef.h
ProgSupport.C-INC: /usr/include/localedef.h
# swlist -l file|grep lc_core.h
ProgSupport.C-INC: /usr/include/lc_core.h
# what /usr/include/localedef.h
/usr/include/localedef.h:
$Revision: ../hdr/localedef.h@@/main/r11ros/2 $ */
# what /usr/include/lc_core.h
/usr/include/lc_core.h:
$Revision: ../hdr/lc_core.h@@/main/r11ros/1 $ */
# ll /usr/include/lc_core.h
-r--r--r-- 1 bin bin 9874 Oct 27 1997 /usr/include/lc_core.h
# ll /usr/include/localedef.h
-r--r--r-- 1 bin bin 11075 Oct 27 1997 /usr/include/localedef.h
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 08:46 PM
07-25-2004 08:46 PM
Re: Need help in compiling locale from source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 08:52 PM
07-25-2004 08:52 PM
Re: Need help in compiling locale from source
Do You have
Patch Name: PHCO_30248
Patch Description: s700_800 11.00 localedef(1M) patch
Creation Date: 04/03/14
Post Date: 04/04/12
Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 09:00 PM
07-25-2004 09:00 PM
Re: Need help in compiling locale from source
I have
#swlist -l product PHCO_30248
PHCO_30248 1.0 localedef(1M) patch
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 09:32 PM
07-25-2004 09:32 PM
Re: Need help in compiling locale from source
You do not have a usable C compiler
localedef(1M) localedef(1M)
NAME
localedef - generate a locale environment
Creation of locales (both private and public) requires access to the
ANSI C compiler.
Bundled c is only for compiler ebuilds
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 09:41 PM
07-25-2004 09:41 PM
Re: Need help in compiling locale from source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2004 11:15 PM
07-25-2004 11:15 PM
Re: Need help in compiling locale from source
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 02:44 PM
07-27-2004 02:44 PM
Re: Need help in compiling locale from source
Thank you!
I have sucessfully compiled my locale ru_RU.utf8 after installing ANSI Compiler.
But I cant see ru_RU.utf8 in the list of locale -a
How to add new locale to the existing locales set?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 06:35 PM
07-27-2004 06:35 PM
Re: Need help in compiling locale from source
/usr/lib/nls/loc/locales (for 32-bit system)
/usr/lib/nls/loc/pa20_64/locales (for 64-bit system)
Is your locale in one of these dirs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2004 06:47 PM
07-27-2004 06:47 PM
Re: Need help in compiling locale from source
I've moved locale to the wrong directory
Now it okey I see it in locale -a
thax