Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Mar 1997 18:11:57 +0900 (KST)
From:      Choi Jun Ho <junker@moderato.snu.ac.kr>
To:        freebsd-hackers@freebsd.org
Subject:   EUC locales and XF86 3.2 for 2.2R?
Message-ID:  <199703240911.SAA27946@moderato.snu.ac.kr>

next in thread | raw e-mail | index | archive | help
I want to know about two questions...

1. EUC locale support?

I have installed 2.2R, it says:(uname -a)

FreeBSD moderato.snu.ac.kr 2.2-RELEASE FreeBSD 2.2-RELEASE #0: Wed Mar 19 21:51:45 KST 1997     junker@moderato.snu.ac.kr:/usr/src/sys/compile/MODERATO  i386

But, it reports when I running perl:

moderato:~% env LANG=C perl
^D
moderato:~% env LANG=ko_KR.EUC perl
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "ko_KR.EUC",
warning: falling back to the "C" locale.
^D
moderato:~% env LANG=ja_JP.EUC perl
warning: setlocale(LC_CTYPE, "") failed.
warning: LC_ALL = "(null)", LC_CTYPE = "(null)", LANG = "ja_JP.EUC",
warning: falling back to the "C" locale.
^D
moderato:~% env LANG=fr_FR.ISO_8859-1 perl
^D
moderato:~% env LANG=ru_SU.CP866 perl
^D
moderato:~% env LANG=ru_SU.KOI8-R perl
^D

Is there no support for EUC locales in setlocale()?

2. XFree86 3.2 built for 2.2R?

I downloaded all the stuff from (yesterday - 3/23)
ftp://ftp.freebsd.org/pub/FreeBSD/2.2-RELEASE/XF8632/*, and I installed
it from /stand/sysinstall..

I tested some example for Xaw(it is from O'Reilly's Book, Xt programming)

moderato:~/work/X11/him/sample% ls
Imakefile       XTextEntry      XTextEntry.ko   xtextentry.c
moderato:~/work/X11/him/sample% xmkmf -a
imake -DUseInstalled -I/usr/X11R6/lib/X11/config
make Makefiles
make includes
make depend
moderato:~/work/X11/him/sample% make
cc -m486 -O2     -I/usr/X11R6/include  -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -c xtextentry.c
rm -f xtextentry
cc -o xtextentry -m486 -O2      -L/usr/X11R6/lib xtextentry.o -lXaw -lXmu -L/usr/X11R6/lib -lXt -lX11 -lXt -lSM -lICE -lXext -lX11    -lgnumalloc  
ld: -lgnumalloc: no match
*** Error code 1

Stop.

What is that? And in /usr/X11R6/lib/X11/config/FreeBSD.cf...

#ifndef OSName
#define OSName                  FreeBSD 2.1.5
#endif
#ifndef OSVendor
#define OSVendor                /**/
#endif
XCOMM operating system:  OSName
#ifndef OSMajorVersion
#define OSMajorVersion          2
#endif
#ifndef OSMinorVersion
#define OSMinorVersion          1
#endif
#ifndef OSTeenyVersion
#define OSTeenyVersion          5
#endif

...

#ifndef UseGnuMalloc
/* 2.2 doesn't really have GnuMalloc */
#if OSMajorVersion < 2 || (OSMajorVersion == 2 && OSMinorVersion < 2)
#define UseGnuMalloc            YES
#else
#define UseGnuMalloc            NO
#endif
#endif

Of course I don't have gnumalloc library. Is it a binary built for 2.1.5R?

I failed to found the binaries built for 2.2R in ftp.freebsd.org,
ftp.xfree86.org. where can I find it or is it strange only for me?

--
--------------------------------------------------------------^^---
Judgement Uninfected Naked Kind & Executive Ranger    - J U N K E R
                             from KONAMI 1990 "SD-Snatcher" in MSX2
Choi Jun Ho <junker@jazz.snu.ac.kr>   http://jazz.snu.ac.kr/~junker
Distributed Computing System Lab,   CS Dept.,  Seoul National Univ.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199703240911.SAA27946>