Robot-Will / Stino

A Sublime Text Plugin for Arduino
Other
1.58k stars 249 forks source link

/bin/sh: 1: /bin/avrdude: not found #259

Closed eni23 closed 9 years ago

eni23 commented 9 years ago

when trying to upload it fails because stino tries to access avrdude via:

"/bin/avrdude" "-C/etc/avrdude.conf" -v -patmega32u4 -cusbasp -Pusb -e -Ulock:w:0x3F:m -Uefuse:w:0xcb:m -Uhfuse:w:0xd8:m -Ulfuse:w:0xff:m /bin/sh: 1: /bin/avrdude: not found [Error 127]

i tried to grep in the code for that but not found anything related to that. workaround is symlinks but this is really a ugly solution

twxia commented 9 years ago

same as here~ my avrdude is located in /usr/bin/ not in /bin

eni23 commented 9 years ago

the issue is fixed in 1.6.4, see https://github.com/arduino/toolchain-avr/issues/23 for more details..

twxia commented 9 years ago

hi @eni23 I'm using 1.6.4 but it still exist~

terxw commented 9 years ago

Same as @twxia, I am using 1.6.4, but the problem still exists

DrSensor commented 9 years ago

Same as @terxw and @twxia , i'm using arduino 1.6.4 linux 64bit but avrdude still not located cc: @eni23

shimanyi commented 9 years ago

@twxia @terxw @eni23 got any work-arounds on this issue?

shimanyi commented 9 years ago

@Robot-Will Hi, any solutions on this issue?

twxia commented 9 years ago

@shimanyi u can have a soft link to solved it (ln -s ....)

shimanyi commented 9 years ago

@twxia I am a bit new to this :( How do I do that? Thanks

shimanyi commented 9 years ago

So guys, I found a fix, I think it is just some configurations I had wrong. Nonetheless, I downgraded a little to 1.6.0, previously running on 1.6.3 and it worked like charm.