Martin Osterloh
Mon, 11 Jan 2010 07:05:52 -0800
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Guys,
I encountered a weird problem while I was following this install instructions ( http://docs.tinyos.net/index.php/Installing_tinyos-2.x_on_Mac_OS_X_(Tiger_%26_Leopard) ). I made it till the "nesc" section. Then I tried to compile the downloaded tar ball, but this failed. ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... config-aux/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking for style of include used by make... GNU checking dependency style of gcc... gcc3 checking for perl... /opt/local/bin/perl configure: creating ./config.status config.status: creating Makefile config.status: creating doc/Makefile config.status: creating tools/Makefile config.status: creating tools/nescc-mig config.status: creating tools/nescc-ncg config.status: creating tools/nescc config.status: creating tools/nescc-diff config.status: creating tools/nescc-wiring config.status: creating tools/java/Makefile config.status: creating tools/java/net/Makefile config.status: creating tools/java/net/tinyos/Makefile config.status: creating tools/java/net/tinyos/nesc/Makefile config.status: creating tools/java/net/tinyos/nesc/wiring/Makefile config.status: creating tools/java/net/tinyos/nesc/dump/Makefile config.status: creating tools/java/net/tinyos/nesc/dump/xml/Makefile config.status: executing depfiles commands === configuring in src (/Users/ritchie_blackmore/Downloads/nesc-1.3.1/src) configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../config-aux/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for darwin... yes checking for gcc... gcc checking for C compiler default output file name... configure: error: in `/Users/ritchie_blackmore/Downloads/nesc-1.3.1/src': configure: error: C compiler cannot create executables See `config.log' for more details. configure: error: ./configure failed for src This is the output. I searched it on the net and found the workaround here (http://hinrg.cs.jhu.edu/git/?p=ports.git). This worked, I could install msp430 tools and avr tools, no problems at all. Then I tried to install nesC via sudo port install nesc But again, an error: sudo port install nesc Password: - ---> Computing dependencies for nesc - ---> Configuring nesc 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_lang_nesc/work/nesc-1.3.0" && ./configure --prefix=/opt/local --exec-prefix=/opt/local " returned error 1 Command output: config.status: creating doc/Makefile config.status: creating tools/Makefile config.status: creating tools/nescc-mig config.status: creating tools/nescc-ncg config.status: creating tools/nescc config.status: creating tools/nescc-diff config.status: creating tools/nescc-wiring config.status: creating tools/java/Makefile config.status: creating tools/java/net/Makefile config.status: creating tools/java/net/tinyos/Makefile config.status: creating tools/java/net/tinyos/nesc/Makefile config.status: creating tools/java/net/tinyos/nesc/wiring/Makefile config.status: creating tools/java/net/tinyos/nesc/dump/Makefile config.status: creating tools/java/net/tinyos/nesc/dump/xml/Makefile config.status: executing depfiles commands === configuring in src (/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_nesc/work/nesc-1.3.0/src) configure: running /bin/sh ./configure '--prefix=/opt/local' '--exec-prefix=/opt/local' 'CC=/usr/bin/gcc-4.2' 'CFLAGS=-O2 -arch x86_64' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' --cache-file=/dev/null --srcdir=. checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... ../config-aux/install-sh -c -d checking for gawk... gawk checking whether make sets $(MAKE)... yes checking build system type... i386-apple-darwin10.2.0 checking host system type... i386-apple-darwin10.2.0 checking for darwin... yes checking for gcc... /usr/bin/gcc-4.2 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. configure: error: ./configure failed for src Error: Status 1 encountered during processing. Before reporting a bug, first run the command again with the -d flag to get complete output. So, I am not able to install nesC at my Mac. Any Hints? Solutions? :( Please, that would be great! Best, Martin -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (Darwin) iEYEARECAAYFAktLL+kACgkQa1gn+vovozOvRACfclQX6OrRaEhwHlP/YOVqlODp lbIAn36E2RH+Ca9umNUvTA8t9A/jJbqV =TU46 -----END PGP SIGNATURE----- _______________________________________________ Tinyos-help mailing list Tinyos-help@millennium.berkeley.edu https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help