You are using bash so you need to source etc/profile not etc/login.
Tim
On Oct 7, 2009, at 3:30 PM, Sumedh Anathpindika wrote:
> Dear Peter,
> I have downloaded the version (md5sum:
> 283ab952f0f481fb48f2420537339f72)
> for a 32-bit architecture and there seems to be a bug in the /etc/
> login file. After running the source command, I got the following
> error message,
>
> bash: /home/sumedh/Download/star-nanahope//etc/login: line 20:
> syntax error near unexpected token `set'
> bash: /home/sumedh/Download/star-nanahope//etc/login: line 20: ` if
> (-e ${STARLINK_DIR}/bin) set relocate=1'
>
> \home\sumedh\Download being the directory where the source code
> currently lives.
>
> Regards,
> Sumedh
>
> On Wed, 7 Oct 2009, Peter W. Draper wrote:
>
>> On Wed, 7 Oct 2009, Sumedh Anathpindika wrote:
>>
>>> Dear Tim,
>>> The following are the results after executing the suggested
>>> commands;
>>> % 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.
>>> % kaphelp
>>> bash: /home/sumedh/Download/star-nanahope//bin/kappa/kaphelp:
>>> cannot execute binary file
>>> % uname -a
>>> Linux localhost.localdomain 2.6.27.25-170.2.72.fc10.i686 #1 SMP
>>> Sun Jun 21 19:03:24 EDT 2009 i686 i686 i386 GNU/Linux
>>
>> Hi Sumedh,
>>
>>>> It sounds like something fundamental.
>>
>> it is, that uname command reports that you have an "i686" kernel
>> installed. That means the operating system is 32-bit not 64-bit, so
>> you need to download the 32-bit release of Starlink.
>>
>> If you really want 64-bit then you'll need to remove your current
>> installation and re-install from the "x86_64" Fedora distribution,
>> not the "i386" version.
>>
>> Cheers,
>>
>> Peter.
>>
>>>> Please try a simple command such as
>>>> % kappa
>>>> % kaphelp
>>>> does kaphelp run up?
>>>> What is the output from
>>>> % uname -a
>>>> which version of the nanahope software did you download?
>>>> Tim
>>>> On Tue, Oct 6, 2009 at 6:17 PM, Sumedh Anathpindika
>>>> <[log in to unmask]> wrote:
>>
>>>> Hello,
>>
>>>> I have been unsuccessfully attempting to install the
>>>> STARLINK package on my laptop (64-bit design) and therefore need
>>>> some aid. I downloaded the star-nanahope files from the starlink
>>>> website, following the associated instructions I successfully
>>>> executed the source comand, after which the following message was
>>>> obtained as I typed 'gaia' in the terminal:
>>>>
>>>> GAIA_DIR = /home/sumedh/Download/star-nanahope//bin/gaia
>>>> /home/sumedh/Download/star-nanahope//bin/gaia/gaia.sh: line
>>>> 145:
>>>> /home/sumedh/Download/star-nanahope//bin/gaia/gaia_wish:
>>>> cannot execute
>>>> binary file
>>>> /home/sumedh/Download/star-nanahope//bin/gaia/gaia.sh: line
>>>> 145:
>>>> /home/sumedh/Download/star-nanahope//bin/gaia/gaia_wish:
>>>> Success
>>>>
>>>> Any help in this regard will be greatly appreciated.
>>>>
>>>> Regards,
>>>> Sumedh
>>>>
>>>> =================================
>>>>
>>>> School Of Physics and Astronomy,
>>>> Queens Buildings,
>>>> Cardiff University,
>>>> The Parade,
>>>> Cardiff, CF24 3AA,
>>>> UK.
>>>> OFF: N 3.27
>>>> Tel:+44(0)29 2087 5999
>>>> Fax:+44(0)29 2087 4056
>>> School Of Physics and Astronomy,
>>> Queens Buildings,
>>> Cardiff University,
>>> The Parade,
>>> Cardiff, CF24 3AA,
>>> UK.
>>> OFF: N 3.27
>>> Tel:+44(0)29 2087 5999
>>> Fax:+44(0)29 2087 4056
>>
>> --
>> Peter W. Draper, http://astro.dur.ac.uk/~pdraper
>>
>
> School Of Physics and Astronomy,
> Queens Buildings,
> Cardiff University,
> The Parade,
> Cardiff, CF24 3AA,
> UK.
> OFF: N 3.27
> Tel:+44(0)29 2087 5999
> Fax:+44(0)29 2087 4056
--
Tim Jenness
|