[Thread Prev][Thread Next][Index]
Re: [ferret_users] Installing problem with FC9 on the laptop
- To: ferret_users@xxxxxxxx
- Subject: Re: [ferret_users] Installing problem with FC9 on the laptop
- From: Lu Wang <wanglu.air@xxxxxxxxx>
- Date: Thu, 22 Jan 2009 17:57:39 +0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=nN2P1EX8OWnb21Q3qieBolCOWtfV0Ke2mRv51d/1/9o=; b=Xbi6cd9UpF+0wb8s5aQV3Oy+FIEzj5UGybActJra1TLhBBQ+JQxUlImo1dBtdfMpNB XHTVEOSk1Ppf+v1+HP0CWYurrxWWSX8zjAXa7O//kxFiqTi0fvB+4gv/7GSwQDMK9Gv+ Ez6Yx1Xuo4uLg4fqyD6JqODHOOOBOvKTYgT8o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=uwTCMcWf7bZfV9dnJRAKnhWcLNwg5+Q80PUVvHdb2LtRvYF0covQk00H3IZdSd87pr MYlOn4WShCo0RG0IxkBPMg8GLskPB/Olc4Y7JZo0ycmXDbLkhqWkauAW2BUWqWFh5lds OHVhDLToZJLhmTVzGeyCVeNjyMADKNJw0IQd8=
- In-reply-to: <20090119.172803.93448132.furue@xxxxxxxxxx>
- References: <e40d23190901161927s778d5020h479daabaf70d7920@xxxxxxxxxxxxxx> <20090119.172803.93448132.furue@xxxxxxxxxx>
- Sender: owner-ferret_users@xxxxxxxx
Hi, Ryo!
Thanks very much for your helpful advice.
The problem was really due to the LANGUAGE. If it is in Chinese as I used before, the results are as follow:
% echo README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`
README_23 1月09
% env | grep LC_
% env | grep LANG
LANG=zh_CN.UTF-8
GDM_LANG=zh_CN.UTF-8
LANGUAGE=
% env | grep LOCALE
% setenv LANG C
% echo README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`
README_23jan09
So, I set
setenv LANG C
at the top of the Finstall script. Then it worked OK and I successfully installed FERRET on my laptop.
I also tried another method to solve this problem that I log in FC9 system with LANGUAGE--English. FERRET installation worked OK, too.
Thank you again!
Laura
On Tue, Jan 20, 2009 at 11:28 AM, Ryo Furue
<furue@xxxxxxxxxx> wrote:
Hi Laura and Ferret developers,
| I am trying to install FERRET on my laptop. The system is Fedoral
| Core 9. I executed Finstall, chose 1 and give the path of
| "FER_DIR". However, it stopped after I gave the path of
| fer_executables.tar.Z, and showed:
|
| Moving to usr/local/ferret/bin...
| README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`: Ambiguous
I guess this error is from
echo "FERRET executables installed this date by $user" \
>! README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`
of Finstall. The cause of the error may that your "date" command
returns a string that contains white spaces or some non-ASCII
characters.
For example,
$ csh
% echo hello > `echo my file`
`echo my file`: Ambiguous.
% echo hello > `echo my-file`
% echo hello > README_`/bin/date +'%d %h%y'|tr '[A-Z]' '[a-z]'`
README_`/bin/date +'%d %h%y'|tr '[A-Z]' '[a-z]'`: Ambiguous.
%
Notice that I've deliberately inserted a white space between %d and %h.
Laura, I'm wondering if you could type this and report what's printed?
% echo README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`
% env | grep LC_
% env | grep LANG
% env | grep LOCALE
What about this?
% setenv LANG C
% echo README_`/bin/date +'%d%h%y'|tr '[A-Z]' '[a-z]'`
Ferret developers, the output of the "date" command depends on
locale. So, it's safe to set
setenv LANG C
at the top of a shell script.
Cheers,
Ryo
--
Have a nice day !
Laura,WangLu ^_^
Ph.D candidate
Peking University, Beijing, China
[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Privacy Policy | Disclaimer | Accessibility Statement