Nios bash acting bizzar

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

Reply to
Nir
Loading thread data ...

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

Reply to
Krzysztof Olesiejuk

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

Reply to
Peter Sommerfeld

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.