Search This Blog

Wednesday, June 4, 2008

bash.exe: warning: could not find /tmp, please create!

If you are getting this Warning while compilation then

Set your two environment variable as

Name Value
TEMP C:\temp
TMP C:\temp

Save the settings and restart the computer and you should be fine.

-Mihir Patel.

2 comments:

Anonymous said...

Thanks :)
Helped me today!

Roy said...

Fantastic - solved my problem. Thank you.

I was using WinAVR and Eclipse for Atmel development. Upgraded from 32bit Windows XP to 64bit Windows 7, and took the opportunity to update my Eclipse (Ganymede) and WinAVR.

Two problems resulted:

1) Invalid WinAVR project path (it would not forget the older version settings): the solution was to remove the project .sc file

$WORKSPACE/.metadata/.plugins/org.eclipse.cdt.make.core/$YOU R-PROJECT.sc

Help was thanks to http://www.eclipse.org/forums/index.php?t=msg&goto=545792&)

Then I had the BASH issue - your solution to add additional environment variables was the fixed

Thanks,
Roy