Nios bash acting bizzar

Do you have a question? Post it now! No Registration Necessary

Translate This Thread From English to

Threaded View
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

Re: Nios bash acting bizzar

Quoted text here. Click to load it

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

Re: Nios bash acting bizzar
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 snipped-for-privacy@hotmail.com (Nir) wrote in message
Quoted text here. Click to load it

Site Timeline