Pages: [1]   Go Down
Author Topic: Can't figure out installing AVRdude on Mac...  (Read 552 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I've downloaded AVRdude 5.4 from Ladyada.com. Tried to follow instructions, but don't see these directories:

usr/local/etc  <- avrdude.conf here, according to instructions
usr/local/bin  <- avrdude goes here     "           "        "

How do I get AVRdude installed?

FYI, I've got Xtools and DarwinPorts installed (not that I know how these relate to AVRdude, but somewhere along the way they were recommended...

Ideas?

Thanks,
Dave
Logged

0
Offline Offline
Faraday Member
**
Karma: 7
Posts: 2526
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Caveat: I haven't looked at LadyAda's instructions.

The directories are /usr/local/... (note leading "/" - it's important).  The install process should create them if they are not there.  I had already populated /usr/local before avrdude, so I don't know how avrdude's install will react if it isn't there.  It's conveivable you need to do a "sudo mkdir /usr/local" before the "sudo make install" step.

In general, unix open source packages are built from source by extracting the source tarball, cd-ing into that directory, and issuing the commands

./configure
make
sudo make install

If you own the target install directories and there is no suid funny stuff, that last one can be just "make install" without the sudo.

As best I recall, avrdude only depended on libusb (to get support for my avrispmkII).

hope these random thoughts help...

-j
Logged

0
Offline Offline
Newbie
*
Karma: 0
Posts: 11
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
It's conveivable you need to do a "sudo mkdir /usr/local" before the "sudo make install" step.
I did sudo mkdir /usr/local/etc and /usr/local/bin then moved the 2 files (avrdude and avrdude.conf) into these directories. Executing avrdude without having any sketch gives appropriate errors  smiley

Looks like I'm ready to roll!

Thanks,
Dave
Logged

Pages: [1]   Go Up
Jump to: