Peter W. Draper wrote:
> On Wed, 5 Aug 2009, Roderick Johnstone wrote:
>
>> Peter W. Draper wrote:
>>> On Tue, 4 Aug 2009, Roderick Johnstone wrote:
>>>
>>>> I'm having some problems with the linux x86_64 bit install of
>>>> nanahope on
>>>> Fedora 10.
>>>>
>>>> Some commands like kappa work:
>>>> linux> kappa
>>>>
>>>>
>>>> KAPPA commands are now available -- (Version 1.10-10)
>>>>
>>>> Type kaphelp for help on KAPPA commands.
>>>> Type 'showme sun95' to browse the hypertext documentation.
>>>>
>>>> NOTE, several applications have had major changes made to their
>>>> parameter lists. See the 'Release Notes' section of SUN/95 for
>>>> details.
>>>>
>>>> But others don't, like:
>>>> linux> figaro
>>>> bash: /figaro/figaro.sh: No such file or directory
>>>>
>>>> I think the problem is in star-nanahope/etc/profile. In the second
>>>> figaro
>>>> setup section figaro is defined as:
>>>>
>>>> figaro () { . ${bindir}/figaro/figaro.sh; }
>>>>
>>>> but bindir is not defined at run time.
>>>>
>>>> kappa is defined like:
>>>> kappa () { . $KAPPA_DIR/kappa.sh; }
>>>>
>>>> and KAPPA_DIR is defined at run time
>>>
>>> Hi Roderick,
>>>
>>> thanks for the report. Tim stopped the export of $bindir so a few
>>> package initialisation commands have been broken like FIGARO
>>> (EXTRACTOR, DIPSO and DATACUBE). I've fixed this in the attached
>>> "profile" which should get you working again. Just replace your
>>> existing file.
>>>
>>> Brad, committed to master as 3dabcb41270 if you want to issue an
>>> official
>>> patch.
>>>
>>> Cheers,
>>>
>>> Peter.
>>>
>> Thanks for the response... With your attached file I now get:
>>
>> : command not found
>> : command not found
>> : command not found
>> : command not found
>> : command not found
>> 'ash: /data/soft3/starlink/star-nanahope/etc/profile: line 140: syntax
>> error near unexpected token `in
>> 'ash: /data/soft3/starlink/star-nanahope/etc/profile: line 140: ` case
>> "x86_64-unknown-linux-gnu" in
>
> Hi Roderick,
>
> you are using bash, not ash? As far as I know the non-csh scripts will
> only work with a bash compatible shell.
>
> Either way I realised that the script in the last message had an incorrect
> installation root, so try the attached version instead.
>
> Cheers,
>
> Peter.
>
Peter
It works now. I'm using bash. emacs showed your the file 'profile' as
having DOS characteristics. When I ran dos2unix on it, it worked fine.
Thanks for your help.
Roderick
|