barzi
12-01-2008, 12:21
Ciao a tutti.
Sto installando tinyOS sul mio ibook e ho trovato una guida fatta molto bene. Ho installato i vari fink, macports e anche stow (che dovrebbe fare piu o meno le stesse cose)
Ho riscontrato perņ dei problemi in alcune fasi di "creazione" del mio ambiente di lavoro. Allora durante l'installazione di nesc ho dato questi comandi:
$ cd /opt/local/stow
$ sudo stow nesc-1.2.9
E' andato tutto a buon fine tranne per il fatto che mi ha dato qualche warning (del tipo che č richiesta l'installazione di alcune componenti al di fuori delle dir standard).
Beh io sono andato avanti e ho fatto
sudo port install avr-libc
E proprio qui mi ha dato altri problemi. Ve lo incollo sotto:
---> 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 --prefix=/opt/local --host=avr --build=`./config.guess` " returned error 1
Command output: checking build system type... powerpc-apple-darwin8.11.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... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.
il path che ho č:
/sw/bin:/sw/sbin:/opt/local/bin/:/opt/local/sbin:/opt/local/avr/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
Qualcuno puņ aiutarmi a risolvere?
Grazie :)
Sto installando tinyOS sul mio ibook e ho trovato una guida fatta molto bene. Ho installato i vari fink, macports e anche stow (che dovrebbe fare piu o meno le stesse cose)
Ho riscontrato perņ dei problemi in alcune fasi di "creazione" del mio ambiente di lavoro. Allora durante l'installazione di nesc ho dato questi comandi:
$ cd /opt/local/stow
$ sudo stow nesc-1.2.9
E' andato tutto a buon fine tranne per il fatto che mi ha dato qualche warning (del tipo che č richiesta l'installazione di alcune componenti al di fuori delle dir standard).
Beh io sono andato avanti e ho fatto
sudo port install avr-libc
E proprio qui mi ha dato altri problemi. Ve lo incollo sotto:
---> 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 --prefix=/opt/local --host=avr --build=`./config.guess` " returned error 1
Command output: checking build system type... powerpc-apple-darwin8.11.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... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
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.
il path che ho č:
/sw/bin:/sw/sbin:/opt/local/bin/:/opt/local/sbin:/opt/local/avr/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
Qualcuno puņ aiutarmi a risolvere?
Grazie :)