Opened 15 years ago

Closed 15 years ago

#17315 closed defect (worksforme)

avr-libc fails on sudo port install avr-libc

Reported by: athundt@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: Cc: athundt@…
Port: avr-gcc

Description (last modified by blb@…)

CMU-212642:~ andrewhundt$ sudo port install avr-libc
--->  Configuring avr-libc
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_cross_avr-libc/work/avr-libc-1.4.4" && ./configure --prefix=/opt/local --host=avr --build=`./config.guess` " returned error 1
Command output: checking build system type... i686-apple-darwin9.5.0
checking host system type... avr-unknown-none
checking if configuring for cross compile... yes
checking if target host is avr... yes
checking for a BSD-compatible install... /usr/bin/install
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for avr-strip... avr-strip
checking for avr-gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /usr/bin/gcc-4.0 accepts -g... yes
checking for /usr/bin/gcc-4.0 option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of /usr/bin/gcc-4.0... gcc3
checking for avr-as... avr-as
checking for avr-ranlib... avr-ranlib
checking for avr-ar... avr-ar
configure: error: Wrong C compiler found; check the PATH!

Error: Status 1 encountered during processing.

avr-libc fails to build and install. It appears it is not correctly finding avr-gcc.

Change History (4)

comment:1 Changed 15 years ago by athundt@…

Cc: athundt@… added

Cc Me!

comment:2 Changed 15 years ago by blb@…

Description: modified (diff)

That should have been fixed in ticket #13851, make sure you're up to date:

sudo port selfupdate
sudo port clean --work avr-libc
sudo port install avr-libc

comment:3 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:4 Changed 15 years ago by tobypeterson

Resolution: worksforme
Status: newclosed

blb's comment indicates that this is fixed; no reply for 9 months - closing

Note: See TracTickets for help on using tickets.