Hello Fahad,

I think that the problem is on tinyos installation.
Follow next steps for your distribution's package manager and package
names. Do not use alien for rpm packages ( I think opensuse uses rpm).
If you have installed 64bit OS, you must download nesc and deputy
packages from sourceforge. 
http://sourceforge.net/projects/szte-wsn/files/deputy/

http://sourceforge.net/projects/nescc/files/nescc/

That's a copy of the guide I've sent some days ago.
        
        1) Uninstall any common tools and compilers from tinyos
        repository..
        2) Install those packages... from ubuntu repositories (It may be
        need of
        canonical community repositories be enabled)
                build-essential,sun-java6-jdk,python-all-dev,automake,
                avarice,avr-libc,avrdude,binutils-avr,
                gcc-avr,gdb-avr,subversion,alien,graphviz
        3) Go
        
http://docs.tinyos.net/tinywiki/index.php/Installing_TinyOS_2.1.1#Manual_installation_on_your_host_OS_with_RPMs
        and download pxa27x- Tools ( if you need them) , TI MSP430 Tools
        (if you
        need them), NesC and Deputy, for linux. You can install rpm
        packages
        using alien -i <package_name>
        Note : DO NOT INSTALL tinyos-tools package
        
        4)Download tinyos source code using svn
           svn checkout
        http://tinyos-main.googlecode.com/svn/trunk/ tinyos-2x
        
        5)Compile and install tinyos-tools
                cd tinyos-2x/tools
                ./Bootstrap
                ./configure --prefix=$HOME/local/tosTools
                make all
                make install
         --prefix is optional... That's the directory tinyosTools will
        be
        installed
        
        6) Setting env variables
           I've put tinyos source in $HOME/local/src/tinyos-2x folder.
           I 've made a script file like next:
                #!/bin/bash
                echo "Setting TinyOs 2 enviroment variables!"
                export PATH=$HOME/local/tosTools/bin:$PATH
                export TOSROOT=$HOME/local/src/tinyos-2x
                export TOSDIR=$TOSROOT/tos
                export MAKERULES=$TOSROOT/support/make/Makerules
                export CLASSPATH=$TOSROOT/support/sdk/java/tinyos.jar:.
                export PYTHONPATH=.:$TOSROOT/support/sdk/python:
        $PYTHONPATH
                export PATH=$TOSROOT/support/sdk/c:$PATH
           made it executable and added the next lines at the end of
        ~/.bashrc
        file
                # TinyOS enviroment variables
                
                
                source $HOME/local/src/tinyos-env.sh
        
        Hope that was helpful enough!.
        
        Regards,
        Igglezakis Antonios

On Wed, 2012-02-15 at 18:25 +0500, محمدفہدمنظور wrote:
> Hello Yanbo
> 
> 
> Thank you very much for taking time and writing to me. I wanted to use
> the TOS on my existing Linux (Open SuSE 12.1 KDE)set up. However, if
> the VM solution you have pointed out is stable and does not hog much
> CPU & memory then I would prefer to stick with this.
> 
> 
> I would be thankful to you if you could point me to some good tutorial
> on VM setup for XubunTOS.
> 
> 
> Thank you very much.
> 
> 
> --
> Best Regards
> Fahad
> 
> 
> 
> ______________________________________________________________________
> From: Yanbo SHOU <[email protected]>
> Date: 15 February 2012 18:18
> Subject: RE: unable to make Blink app
> To: [email protected]
> Cc: Tinyo Help <[email protected]>
> 
> 
> Hello Fahad,
> 
> Have you tried XubunTOS ? The VMWare virtual machine for TinyOS (ver.
> 2.1.0) development.
> Very stable and easy to use, install it and then you will be able to
> concentrate yourself on your work.
> 
> Best regards
> 
> - Yanbo
> 
> 
> 
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help


_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to