Re: How do I permanently change to LC_NUMERIC to en_US ?
Hanspeter Niederstrasser <[email protected]>
| Newsgroups | gmane.os.apple.fink.beginners |
|---|---|
| Organization | Snaggled Works |
| Message-ID | <[email protected]> |
On 12/28/20 9:54 PM, Hanspeter Niederstrasser wrote: > On 12/27/20 6:00 PM, Heinz Nabielek via Fink-beginners wrote: >> I do not really want locale LC_NUMERIC en_AT. It messes up my SciLab >> command line. >> How do I permanently change to LC_NUMERIC to en_US ? >> >> echo 'export LC_NUMERIC="en_US.UTF-8"' >>~/.bashrc >> >> does not do it for me..... >> Heinz >> >> build-aux/install-sh -c -d >> '/opt/sw.build/root-gnupg2-2.2.26-1/opt/sw/share/doc/gnupg' >> Warning: Failed to set locale category LC_NUMERIC to en_AT. >> Warning: Failed to set locale category LC_TIME to en_AT. >> Warning: Failed to set locale category LC_COLLATE to en_AT. >> Warning: Failed to set locale category LC_MONETARY to en_AT. >> Warning: Failed to set locale category LC_NUMERIC to en_AT. >> Warning: Failed to set locale category LC_TIME to en_AT. >> Warning: Failed to set locale category LC_MESSAGES to en_AT. >> Warning: Failed to set locale category LC_COLLATE to en_AT. >> Warning: Failed to set locale category LC_MONETARY to en_AT. >> Warning: Failed to set locale category LC_MESSAGES to en_AT. > > I believe your LC_* settings are set at the system level in System > Preferences:Language & Region. > > This problem seems to be due to a new feature in gettext-0.20: > https://savannah.gnu.org/forum/forum.php?forum_id=9430 > "The interpretation of the language preferences on macOS has been fixed" > > But 0.20.2 seems to have dealt with the mixed language/locale setting: > https://savannah.gnu.org/forum/forum.php?forum_id=9716 > "The interpretation of the language preferences on macOS has been > improved, especially in the case where a system locale does not exist > for the combination of the selected primary language and the selected > territory. " > > I can make an updated libgettext package for testing to see if it cures > the problem. Save the attached files to /opt/sw/fink/dists/local/main/finkinfo, then try fink install libgettext8-shlibs-0.20.2-1 Then try your scilab command again. Also useful would be if you could try building cmake before and after installing the new libgettext8 from the attached file. Thanks, Hanspeter -- +---------------------------+ | . o c , | | `'#v-- --v#`' | | /'> < \ | +---------------------------+ | I fence, therefore I am. | +---------------------------+ _______________________________________________ Fink-beginners mailing list [email protected] List archive: https://sourceforge.net/p/fink/mailman/fink-users/ Subscription management: https://lists.sourceforge.net/lists/listinfo/fink-beginners
libgettext8-shlibs.info
(text/plain, 3.5 KB)
Package: libgettext8-shlibs
Version: 0.20.2
Revision: 1
CustomMirror: <<
Primary: http://ftpmirror.gnu.org/gettext/
Secondary: http://downloads.sourceforge.net/fink/
<<
Source: mirror:custom:gettext-%v.tar.gz
Source-MD5: 30fec34a895fab4c02584449c500aac2
# libgettext8-shlibs.patch must be regenerated for every update since
# dpkg uses it and needs the correct full file headers for patch -p0
PatchFile: %n.patch
PatchFile-MD5: 925a8d897cd72f6dd0c89bea4dfa868a
PatchScript: <<
patch -p1 < %{PatchFile}
cd build-aux; perl -pi -e 's/.*chmod.*777.*$//g' ltmain.sh
<<
Essential: yes
Depends: <<
base-files,
libiconv (>= 1.14-6),
libiconv-bin (>= 1.14-6)
<<
BuildDepends: libiconv-dev (>= 1.14-6)
#UseMaxBuildJobs: false
SetCFLAGS: -Os
ConfigureParams: <<
--infodir='%p/share/info' \
--mandir='%p/share/man' \
--with-included-gettext \
--disable-csharp \
--disable-rpath \
--disable-libasprintf \
--disable-static \
--with-included-glib \
--with-included-libcroco \
--with-included-libxml \
--with-included-libunistring \
--without-git \
--without-cvs \
--without-xz \
ac_cv_prog_AWK=/usr/bin/awk \
ac_cv_path_GREP=/usr/bin/grep \
ac_cv_path_SED=/usr/bin/sed
<<
CompileScript: <<
#!/bin/sh -ev
cd gettext-runtime
env EMACS=no CCACHE_DISABLE=1 JAVA=/usr/bin/java JAVAC=/usr/bin/javac ./configure %c
make
<<
InfoTest: <<
TestScript: cd gettext-runtime; make check || exit 2
<<
InstallScript: <<
#!/bin/sh -ev
cd gettext-runtime
make install DESTDIR=%d
#No need for dependency_libs in .la files if not building static libs
perl -pi -e "s/dependency_libs=.*$/dependency_libs=''/" %i/lib/libintl.la
<<
DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
Description: GNU Internationalization utils (shared libs)
Splitoff: <<
Package: libgettext8-dev
Conflicts: gettext-dev, libgettext3-dev
Replaces: gettext-dev, libgettext3-dev
Suggests: gettext-doc
Depends: %N (= %v-%r), gettext-bin (>= %v-%r)
BuildDependsOnly: true
DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
Description: Development files for libgettext8-shlibs
Files: include lib/libintl.la lib/libintl.dylib
<<
Splitoff2: <<
Package: gettext-bin
Depends: %N (>= %v-%r)
Replaces: gettext-tools (<< 0.14.5-1), libgettext3-shlibs (<< 0.14.5-1)
DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
Description: GNU Internationalization utils
Files: bin share/gettext share/locale share/man
<<
Splitoff3: <<
Package: gettext-doc
DocFiles: README* AUTHORS gettext-runtime/BUGS COPYING* NEWS THANKS ChangeLog*
Description: Documentation for libgettext8, gettext-bin
Files: share/doc/gettext
<<
DescDetail: <<
The gettext packages provides some of the i18n and l10n support used by
many GNU programs but missing from the Darwin C library.
<<
DescPort: <<
The emacs files have been moved to a separate gettext-emacs package
(EMACS=no prevents them from being compiled here).
<<
DescPackaging: <<
We now follow the packaging advice from the upstream authors, and have
separated gettext-tools into its own package (a separate build from
the same source). The libraries from that portion have gone into
libgettextpo2-*.
However, we have retained the idea of a gettext-doc splitoff from
the previous version of libgettext3-shlibs, which was prepared by
Chris Zubrzycki.
<<
Shlibs: <<
%p/lib/libintl.8.dylib 10.0.0 %n (>= 0.18-1)
<<
License: GPL/LGPL
Maintainer: Fink Core Group <[email protected]>
Homepage: http://www.gnu.org/software/gettext/
libgettext8-shlibs.patch
(text/plain, 2.4 KB)
diff -ruN gettext-0.20.1-orig/gettext-runtime/libasprintf/Makefile.in gettext-0.20.1/gettext-runtime/libasprintf/Makefile.in --- gettext-0.20.1-orig/gettext-runtime/libasprintf/Makefile.in 2019-05-12 10:08:31.000000000 -0500 +++ gettext-0.20.1/gettext-runtime/libasprintf/Makefile.in 2019-05-13 06:44:58.000000000 -0500 @@ -566,7 +566,7 @@ # How to build libasprintf. # With libtool 1.5.14, on some platforms, like BeOS, "libtool --tag=CXX" fails # to create a shared library, however "libtool --tag=CC" succeeds. -libasprintf_la_LDFLAGS = @LTNOUNDEF@ +libasprintf_la_LDFLAGS = @LTNOUNDEF@ -static libgnu_la_SOURCES = size_max.h xsize.h xsize.c libgnu_la_LIBADD = $(gl_LTLIBOBJS) @LTALLOCA@ libgnu_la_DEPENDENCIES = $(gl_LTLIBOBJS) @LTALLOCA@ diff -ruN gettext-0.20.1-orig/gettext-tools/src/Makefile.in gettext-0.20.1/gettext-tools/src/Makefile.in --- gettext-0.20.1-orig/gettext-tools/src/Makefile.in 2019-05-12 10:09:17.000000000 -0500 +++ gettext-0.20.1/gettext-tools/src/Makefile.in 2019-05-13 06:44:58.000000000 -0500 @@ -3465,10 +3465,10 @@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(urlget_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o urlget-urlget.obj `if test -f 'urlget.c'; then $(CYGPATH_W) 'urlget.c'; else $(CYGPATH_W) '$(srcdir)/urlget.c'; fi` xgettext-xgettext.o: xgettext.c - $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xgettext_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xgettext-xgettext.o `test -f 'xgettext.c' || echo '$(srcdir)/'`xgettext.c + $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xgettext_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -O0 -c -o xgettext-xgettext.o `test -f 'xgettext.c' || echo '$(srcdir)/'`xgettext.c xgettext-xgettext.obj: xgettext.c - $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xgettext_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xgettext-xgettext.obj `if test -f 'xgettext.c'; then $(CYGPATH_W) 'xgettext.c'; else $(CYGPATH_W) '$(srcdir)/xgettext.c'; fi` + $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xgettext_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -O0 -c -o xgettext-xgettext.obj `if test -f 'xgettext.c'; then $(CYGPATH_W) 'xgettext.c'; else $(CYGPATH_W) '$(srcdir)/xgettext.c'; fi` xgettext-xg-pos.o: xg-pos.c $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xgettext_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xgettext-xg-pos.o `test -f 'xg-pos.c' || echo '$(srcdir)/'`xg-pos.c