Pages: 1 [2]   Go Down
Author Topic: Cant Get Compiler to Complete 0022 OSX 10.6.7  (Read 1998 times)
0 Members and 1 Guest are viewing this topic.
Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

1. If you drop into terminal what do you see with this:
Code:
ls -l /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/bin
(Assuming Arduino is in the Applications folder.)

2.  Do you have Xcode installed?  (If so, what version)

3.  Create a new user account (Administrator or Regular) and see if you have the same problem.  (This will tell if there is a problem with OSX or if there is a problem with your particular user account.)
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Sugar,
I am sure you are right. I have run the Arduimno software on other Macs  and it was no problem. It has to be my machine, just not sure how to fix it..

-Stephen
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 16
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

James,
1) If i put that code into terminal i get the following:

total 58784
-rwxr-xr-x  1 gruv2ths  admin  1293348 Dec 24 13:56 avarice
-rwxr-xr-x  1 gruv2ths  admin  1043968 Dec 24 13:55 avr-addr2line
-rwxr-xr-x  1 gruv2ths  admin  1085208 Dec 24 13:55 avr-ar
-rwxr-xr-x  1 gruv2ths  admin  1445760 Dec 24 13:55 avr-as
-rwxr-xr-x  1 gruv2ths  admin      209 Dec 24 13:55 avr-c++
-rwxr-xr-x  1 gruv2ths  admin  1043980 Dec 24 13:55 avr-c++filt
-rwxr-xr-x  1 gruv2ths  admin      209 Dec 24 13:56 avr-cpp
-rwxr-xr-x  1 gruv2ths  admin      209 Dec 24 13:55 avr-g++
-rwxr-xr-x  1 gruv2ths  admin      209 Dec 24 13:55 avr-gcc
-rwxr-xr-x  1 gruv2ths  admin   195116 Dec 24 13:56 avr-gcc-3.4.6
-rwxr-xr-x  1 gruv2ths  admin   404576 Dec 24 13:56 avr-gcc-4.3.2
-rwxr-xr-x  1 gruv2ths  admin      401 Dec 24 13:56 avr-gcc-select
-rwxr-xr-x  1 gruv2ths  admin      215 Dec 24 13:55 avr-gccbug
-rwxr-xr-x  1 gruv2ths  admin      211 Dec 24 13:55 avr-gcov
-rwxr-xr-x  1 gruv2ths  admin  4957872 Dec 24 13:55 avr-gdb
-rwxr-xr-x  1 gruv2ths  admin  4957872 Dec 24 13:56 avr-gdbtui
-rwxr-xr-x  1 gruv2ths  admin  1175204 Dec 24 13:55 avr-gprof
-rwxr-xr-x  1 gruv2ths  admin       58 Dec 24 13:55 avr-help
-rwxr-xr-x  1 gruv2ths  admin       53 Dec 24 13:55 avr-info
-rwxr-xr-x  1 gruv2ths  admin  1822508 Dec 24 13:55 avr-ld
-rwxr-xr-x  1 gruv2ths  admin       51 Dec 24 13:55 avr-man
-rwxr-xr-x  1 gruv2ths  admin  1064452 Dec 24 13:55 avr-nm
-rwxr-xr-x  1 gruv2ths  admin  1388288 Dec 24 13:55 avr-objcopy
-rwxr-xr-x  1 gruv2ths  admin  1523416 Dec 24 13:56 avr-objdump
-rwxr-xr-x  1 gruv2ths  admin      709 Dec 24 13:55 avr-project
-rwxr-xr-x  1 gruv2ths  admin  1085208 Dec 24 13:55 avr-ranlib
-rwxr-xr-x  1 gruv2ths  admin   580272 Dec 24 13:55 avr-readelf
-rwxr-xr-x  1 gruv2ths  admin  1052160 Dec 24 13:55 avr-size
-rwxr-xr-x  1 gruv2ths  admin  1044000 Dec 24 13:55 avr-strings
-rwxr-xr-x  1 gruv2ths  admin  1388288 Dec 24 13:56 avr-strip
-rwxr-xr-x  1 gruv2ths  admin   671000 Dec 24 13:55 avrdude
-rwxr-xr-x  1 gruv2ths  admin     1074 Dec 24 13:56 ice-gdb
-rwxr-xr-x  1 gruv2ths  admin       51 Dec 24 13:55 ice-insight
-rwxr-xr-x  1 gruv2ths  admin      264 Dec 24 13:56 kill-avarice
-rwxr-xr-x  1 gruv2ths  admin     1345 Dec 24 13:56 libusb-config
-rwxr-xr-x  1 gruv2ths  admin   344092 Dec 24 13:56 make
-rwxr-xr-x  1 gruv2ths  admin   305720 Dec 24 13:55 simulavr
-rwxr-xr-x  1 gruv2ths  admin    59800 Dec 24 13:55 simulavr-disp
-rwxr-xr-x  1 gruv2ths  admin    75992 Dec 24 13:55 simulavr-vcd
-rwxr-xr-x  1 gruv2ths  admin      225 Dec 24 13:55 start-avarice

2) I have the latest and greatest iOS SDK installed and it came with Xcode 3.2.6
3) the guy at the genius bar tried making a guest account then running Arduino and the same failure occurred.


Thanks again for all the help guys, hope we can get this fixed..
Logged

Fort Lauderdale, FL
Offline Offline
Faraday Member
**
Karma: 71
Posts: 6144
Baldengineer
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
2) I have the latest and greatest iOS SDK installed and it came with Xcode 3.2.6

The latest and greatest ships with Xcode 4.x.  iOS 4.x ships with 4.0 while iOS 5.0 ships with 4.2.

Xcode is my only other thought at this point.  For some reason the Arduino environment is not seeing the path to the correct copy of gcc.  (Arduino ships with GCC for ATmega, while Xcode contains GCC for Cocoa/iOS.)

For what it is worth (which is probably not worth much to you if yours isn't working *grin*), I have Arduino 0022 and Xcode 4.2 with no problems compiling.

Okay, one more idea.

If you run "java -version" on the command line, what do you get back?  I get:
Code:
James-MBP2b:~ james$ java -version
java version "1.6.0_24"
Java(TM) SE Runtime Environment (build 1.6.0_24-b07-334-10M3326)
Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02-334, mixed mode)
Logged

Capacitor Expert By Day, Enginerd by night.  ||  Personal Blog: www.baldengineer.com  || Electronics Tutorials for Beginners:  www.addohms.c

Pages: 1 [2]   Go Up
Jump to: