|
[Date Index]
[Thread Index]
[Author Index]
Re: Mathematica won't run if LANG var is set to pt_BR
- To: mathgroup at smc.vnet.net
- Subject: [mg60260] Re: Mathematica won't run if LANG var is set to pt_BR
- From: Scott Hemphill <hemphill at hemphills.net>
- Date: Fri, 9 Sep 2005 04:07:00 -0400 (EDT)
- References: <dfm7v8$hcn$1@smc.vnet.net> <dfov2u$f77$1@smc.vnet.net>
- Reply-to: hemphill at alumni.caltech.edu
- Sender: owner-wri-mathgroup at wolfram.com
Scott Hemphill <hemphill at hemphills.net> writes:
> Renan <renan.birck at gmail.com> writes:
>
> > Hello,
> >
> > I have installed Mathematica in Linux (Ubuntu Linux 5.04 - essentially
> > Debian) and works OK, as long as my LANG environment variable is set to 'C'
> > (which means 'no specific language') or 'US'.
> >
> > But I want to use the GNOME window manager in Portuguese, and this,
> > "automagically" sets the LANG variable to pt_BR (which means 'Brazilian
> > Portuguese'). When this is set, Mathematica will not run, it will error at
> > startup with "An illegal right-hand side value was specified for the cell
> > style option "FontColor"".
> >
> > Anybody knows how to fix this problem?
> >
> > I use Mathematica 5.0.
>
> I use Mathematica 5.1, but I expect my solution to work for you. In my
> installation, links for "math", "mathematica" and "Mathematica" were placed
> in /usr/local/bin. I replaced each of these links with the following
> shell script:
>
> #!/bin/bash
> MATH=`basename "$0"`
> export LANG=C
> export LD_ASSUME_KERNEL=2.4.1
> export OMP_NUM_THREADS=1
> exec /usr/local/Wolfram/Mathematica/5.1/Executables/"$MATH" "$@"
You should also replace "MathKernel". I don't know whether "mcc" benefits
from any of these environment variables, but it wouldn't hurt to replace it
too.
Scott
--
Scott Hemphill hemphill at alumni.caltech.edu
"This isn't flying. This is falling, with style." -- Buzz Lightyear
Prev by Date:
Looking for n for which all 2-partitions are prime partitions.
Next by Date:
New SetFaceAndFont Palette, please help me to check!
Previous by thread:
Re: Mathematica won't run if LANG var is set to pt_BR
Next by thread:
true limit of mathematica ? Help me !!!
|