Hi!

On Mon, 11 Jan 2010, Martin Osterloh wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi again,
>
> so, how can I force SL to install the 1.3.1 version?
>

You need to make sure that the 'file:///...' statement in the sources.conf 
is before the 'rsync' one (the @1.3.1 syntax doesn't seem to work :|). 
Without the comments, my sources.conf looks like this:

file:///Users/razvanm/ports
rsync://rsync.macports.org/release/ports/ [default]

--
Razvan ME

>> The nesc 1.3.0 is the one from the official macports repository:
>>      http://www.macports.org/ports.php?by=name&substr=nesc
>>
>> The hinrg reposiory contains nesc 1.3.1 which should install properly on 
>> Snow Leopard.
>>
>> --
>> Razvan ME
>>
>>> Any other hints?
>>>
>>> Thanks again,
>>> Martin
>>>
>>> Am 11.01.2010 um 19:33 schrieb Razvan Musaloiu-E.:
>>>
>>>> Hi!
>>>>
>>>> On Mon, 11 Jan 2010, Martin Osterloh wrote:
>>>>
>>>>> -----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? :(
>>>>>
>>>>
>>>> Can you try to do 'sudo port install [email protected]'? I think you added in the 
>>>> the local ports (file://...) in the sources.conf after the official repo 
>>>> and this causes the local nesc to be ignored. :-)
>>>>
>>>> --
>>>> Razvan ME
>>>
>>> -----BEGIN PGP SIGNATURE-----
>>> Version: GnuPG v1.4.9 (Darwin)
>>>
>>> iEYEARECAAYFAktLaRQACgkQa1gn+vovozPUvwCfZDzio2ozzNxmEpMk0Wlo2zgx
>>> UtAAnRcG8canwOj9X7MOujT/DcxX+IY4
>>> =HIay
>>> -----END PGP SIGNATURE-----
>>>
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (Darwin)
>
> iEYEARECAAYFAktLcbgACgkQa1gn+vovozPDAwCfRPzVIVuX1uq2KuV6x1Eityp5
> m+kAn3JuBVto/Q3l/ou9ql74gc13s1sh
> =3Z8F
> -----END PGP SIGNATURE-----
>
_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to