Nios bash acting bizzar

N

Nir

Guest
Hello to All

I don't know what I did wring but I've uninstalled Nios by mistake and
when I try to install it back, I get the following messages when I run
the sopc_builder and also the bash:
bash.exe: warning: could not find /tmp, please create!
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
....

This is very weird, because when I try to go directly to
C:\Altera\Excalibur\sopc_builder_2_5\Cygwin\bin and double click the
bash.exe file I also get a message saying that /tmp is not found and
it does not know any commands (grep, uname, ls etc).

I've uninstalled and reinstalled Nios but with no success. One success
I did have though: when I log in as a different user all is well. The
problem is that I don't to log in as a different user each time I have
to work on Nios.

This has happened a few times to other people in my company and we
could not get any help from our local Altera representative. I'm sure
someone here must have encountered this in the past. Please help me

Thanks in advance
Nir
 
In <9b862770.0307070826.214d4754@posting.google.com> Nir wrote:

I've uninstalled and reinstalled Nios but with no success. One success
I did have though: when I log in as a different user all is well. The
problem is that I don't to log in as a different user each time I have
to work on Nios.
I do not know NIOS development kit, but try to compare environment variables
in non-working and working user account, then fix it. This should do the trick.
Not sure if it's the matter of Win environment, or missing bash startup file.
It looks more like cygwin problem, not NIOS DK itself.

Regards
Chris
 
Hi Nir,

Have you tried changing directory to the bin directory where grep, ls,
etc executables are ("cd /bin" should probably take you there in the
Nios Bash shell)?

From there, type ./ls and press enter.

If this works, your PATH variable has problems.

-- Pete

nir_drabkin@hotmail.com (Nir) wrote in message news:<9b862770.0307070826.214d4754@posting.google.com>...
Hello to All

I don't know what I did wring but I've uninstalled Nios by mistake and
when I try to install it back, I get the following messages when I run
the sopc_builder and also the bash:
bash.exe: warning: could not find /tmp, please create!
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
bash: grep: command not found
bash: uname: command not found
...

This is very weird, because when I try to go directly to
C:\Altera\Excalibur\sopc_builder_2_5\Cygwin\bin and double click the
bash.exe file I also get a message saying that /tmp is not found and
it does not know any commands (grep, uname, ls etc).

I've uninstalled and reinstalled Nios but with no success. One success
I did have though: when I log in as a different user all is well. The
problem is that I don't to log in as a different user each time I have
to work on Nios.

This has happened a few times to other people in my company and we
could not get any help from our local Altera representative. I'm sure
someone here must have encountered this in the past. Please help me

Thanks in advance
Nir
 

Welcome to EDABoard.com

Sponsor

Back
Top