Hi Urs,

So sorry I have been away from office the last two days.

I have removed the java in the subdir line of Makefile.am
I have removed the three lines containing /tinyos/java in the configure.acfile.
I have removed the java dir in the /tools/tinyos/java dir. (I guess what you
meant here is the /tools/tinyos/java dir right?).

I then issue command make distclean, and I got these error messages:
-----------------------------
CDPATH="${ZSH_VERSION+.}:" && cd . && /bin/sh
/Users/yusnaidi/tinyos-2.x/tools/config-aux/missing --run aclocal-1.11
 cd . && /bin/sh /Users/yusnaidi/tinyos-2.x/tools/config-aux/missing --run
automake-1.11 --foreign
tinyos/Makefile.am:4: required directory tinyos/java does not exist
make: *** [Makefile.in] Error 1


I then issue the command ./Bootstrap, and got these error messages:
---------------------------

+ aclocal
+ autoconf
+ '[' -d config-aux ']'
+ automake -a -c
tinyos/Makefile.am:4: required directory tinyos/java does not exist

+ set -x
+ cd platforms/mica/uisp
+ ./bootstrap
+ rm -f config.cache src/config.cache


Should I proceed to issue other commands? as you advice me not to proceed if
I encountered any error messages...

many thanks for you support...

Yusnaidi





On Wed, Mar 30, 2011 at 2:56 PM, Urs Hunkeler <urs.hunke...@epfl.ch> wrote:

> Hi Yusnaidi,
>
> Thanks for the information. The approach that I am suggesting is not very
> clean, normally it would be better to try to fix the problems that you are
> having, but since my PowerBook is too old for the newest Mac OS X, I cannot
> reproduce your errors or compare with my system.
>
> I therefore can only help you with a hack trying to get rid of the java
> parts of the compilation. I tested this on my system, and it removes the
> java compilation part.
>
> edit the file $TOSROOT/tools/tinyos/Makefile.am and remove "java" in the
> subdirs line.
>
> edit the file $TOSROOT/tools/configure.ac and remove the three lines
> containing "tinyos/java" (towards the end of the file)
>
> remove the directory $TOSROOT/tools/java (if you haven't done so yet)
>
> Then cd to $TOSROOT/tools (if you haven't done so yet) and issue the
> following commands (if any of the commands gives you errors, don't continue
> and send me the error message):
>
> make distclean
>
> ./Bootstrap
> ./configure --prefix=/stow/repository/tinyos-2.x-tools
> make
> sudo make install
> cd /stow/repository/
> sudo stow tinyos-2.x-tools
>
> Cheers,
> Urs
>
>
>
> On 03/29/2011 06:57 PM, Yusnaidi Md Yusof wrote:
>
>> Hi Urs,
>>
>> Sorry for the late reply.
>>
>> I have removed the java directory from the $TOSROOT/tools/tinyos/, and
>> followings are the output of the compilation:
>>
>> 1. ./Bootstrap
>> ----------------------------
>> -bash: ./Booststrap: No such file or directory
>> ymdyusof-air:tools yusnaidi$ ls
>> Bootstrap Makefile.in autom4te.cache config.log configure.ac
>> <http://configure.ac> tinyos
>>
>> Makefile README build.xml config.status platforms
>> Makefile.am aclocal.m4 config-aux configure release
>> ymdyusof-air:tools yusnaidi$ ./Bootstrap
>> + aclocal
>> + autoconf
>> + '[' -d config-aux ']'
>> + automake -a -c
>> tinyos/Makefile.am:3: required directory tinyos/java does not exist
>> configure.ac:125 <http://configure.ac:125>: required file
>>
>> `tinyos/java/Makefile.in' not found
>> configure.ac:125 <http://configure.ac:125>: required file
>>
>> `tinyos/java/env/Makefile.in' not found
>> configure.ac:125 <http://configure.ac:125>: required file
>>
>> `tinyos/java/serial/Makefile.in' not found
>> + set -x
>> + cd platforms/mica/uisp
>> + ./bootstrap
>> + rm -f config.cache src/config.cache
>>
>>
>> 2. ./configure --prefix=/stow/repository/tinyos-2.x-tools
>> --------------------
>> 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... no
>> checking for mawk... no
>> checking for nawk... no
>> checking for awk... awk
>> checking whether make sets $(MAKE)... yes
>> checking build system type... x86_64-apple-darwin10.7.3
>> checking host system type... x86_64-apple-darwin10.7.3
>> checking for gcc... gcc
>> checking whether the C compiler works... yes
>> checking for C compiler default output file name... a.out
>> checking for suffix of executables...
>> checking whether we are cross compiling... no
>> 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 g++... g++
>> checking whether we are using the GNU C++ compiler... yes
>> checking whether g++ accepts -g... yes
>> checking dependency style of g++... gcc3
>> checking for ranlib... ranlib
>> checking for perl... /opt/local/bin/perl
>> checking for python... /usr/bin/python
>> checking for nescc... /stow/bin/nescc
>> configure: Default ncc build target is mica
>> configure: ...but using a tos/.default-platform file is a better choice
>> configure: TinyOS directory is /Users/yusnaidi/tinyos-2.x/tos
>> checking for cygwin... no
>> checking for JDK location...
>> /System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK
>> configure: creating ./config.status
>> config.status: creating Makefile
>> config.status: creating platforms/Makefile
>> config.status: creating platforms/mica/Makefile
>> config.status: creating platforms/mica/cc1000-channelgen/Makefile
>> config.status: creating platforms/msp430/Makefile
>> config.status: creating platforms/msp430/motelist/Makefile
>> config.status: creating platforms/msp430/pybsl/Makefile
>> config.status: creating platforms/msp430/pybsl/tos-bsl.1
>> config.status: creating platforms/msp430/pybsl/serial/Makefile
>> config.status: creating tinyos/Makefile
>> config.status: error: cannot find input file: `tinyos/java/Makefile.in'
>>
>>
>> 3. make
>> ---------------------------
>> Making all in platforms
>> Making all in mica
>> Making all in cc1000-channelgen
>> make[3]: Nothing to be done for `all'.
>> Making all in uisp
>> cd . && /bin/sh ./config.status Makefile
>> config.status: creating Makefile
>> Making all in src
>> cd .. && /bin/sh ./config.status src/Makefile depfiles
>> config.status: creating src/Makefile
>> config.status: executing depfiles commands
>> make all-am
>> make[4]: Nothing to be done for `all-am'.
>> make[3]: Nothing to be done for `all-am'.
>> Making all in msp430
>> Making all in motelist
>> make[3]: Nothing to be done for `all'.
>> Making all in pybsl
>> Making all in serial
>> make[4]: Nothing to be done for `all'.
>> make[4]: Nothing to be done for `all-am'.
>> make[3]: Nothing to be done for `all-am'.
>> make[2]: Nothing to be done for `all-am'.
>> Making all in tinyos
>> Making all in java
>> /bin/sh: line 0: cd: java: No such file or directory
>> make[1]: *** [all-recursive] Error 1
>> make: *** [all-recursive] Error 1
>>
>>
>>
>> 4. sudo make install
>> -------------------------------------
>> Making install in platforms
>> Making install in mica
>> Making install in cc1000-channelgen
>> test -z "/stow/repository/tinyos-2.x-tools/bin" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/bin"
>> /usr/bin/install -c tos-channelgen '/stow/repository/tinyos-2.x-tools/bin'
>> test -z "/stow/repository/tinyos-2.x-tools/share/man/man1" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/share/man/man1"
>> /usr/bin/install -c -m 644 tos-channelgen.1
>> '/stow/repository/tinyos-2.x-tools/share/man/man1'
>> Making install in uisp
>> Making install in src
>> test -z "/stow/repository/tinyos-2.x-tools/bin" || ../config/install-sh
>> -c -d "/stow/repository/tinyos-2.x-tools/bin"
>> /usr/bin/install -c uisp '/stow/repository/tinyos-2.x-tools/bin'
>> make[5]: Nothing to be done for `install-data-am'.
>> make[5]: Nothing to be done for `install-exec-am'.
>> /bin/sh
>> /Users/yusnaidi/tinyos-2.x/tools/platforms/mica/uisp/config/install-sh
>> -d /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos
>> for file in AUTHORS ChangeLog COPYING INSTALL CHANGES CHANGES.old TODO ;
>> do \
>> echo " /usr/bin/install -c -m 644 $file
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/$file"; \
>> /usr/bin/install -c -m 644 ./$file
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/$file; \
>> done
>> /usr/bin/install -c -m 644 AUTHORS
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/AUTHORS
>> /usr/bin/install -c -m 644 ChangeLog
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/ChangeLog
>> /usr/bin/install -c -m 644 COPYING
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/COPYING
>> /usr/bin/install -c -m 644 INSTALL
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/INSTALL
>> /usr/bin/install -c -m 644 CHANGES
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/CHANGES
>> /usr/bin/install -c -m 644 CHANGES.old
>>
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/CHANGES.old
>> install: ./CHANGES.old: No such file or directory
>> /usr/bin/install -c -m 644 TODO
>> /stow/repository/tinyos-2.x-tools/share/doc/uisp-20050519tinyos/TODO
>> test -z "/stow/repository/tinyos-2.x-tools/share/man/man1" ||
>> config/install-sh -c -d "/stow/repository/tinyos-2.x-tools/share/man/man1"
>> /usr/bin/install -c -m 644 uisp.1
>> '/stow/repository/tinyos-2.x-tools/share/man/man1'
>> make[4]: Nothing to be done for `install-exec-am'.
>> make[4]: Nothing to be done for `install-data-am'.
>> Making install in msp430
>> Making install in motelist
>> test -z "/stow/repository/tinyos-2.x-tools/bin" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/bin"
>> /usr/bin/install -c motelist '/stow/repository/tinyos-2.x-tools/bin'
>> test -z "/stow/repository/tinyos-2.x-tools/share/man/man1" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/share/man/man1"
>> /usr/bin/install -c -m 644 motelist.1
>> '/stow/repository/tinyos-2.x-tools/share/man/man1'
>> Making install in pybsl
>> Making install in serial
>> make[5]: Nothing to be done for `install-exec-am'.
>> test -z "/stow/repository/tinyos-2.x-tools/lib/tinyos/serial" ||
>> ../../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/lib/tinyos/serial"
>> /usr/bin/install -c -m 644 __init__.py serialjava.py serialposix.py
>> serialutil.py serialwin32.py
>> '/stow/repository/tinyos-2.x-tools/lib/tinyos/serial'
>> test -z "/stow/repository/tinyos-2.x-tools/bin" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/bin"
>> /usr/bin/install -c tos-bsl '/stow/repository/tinyos-2.x-tools/bin'
>> test -z "/stow/repository/tinyos-2.x-tools/share/man/man1" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/share/man/man1"
>> /usr/bin/install -c -m 644 tos-bsl.1
>> '/stow/repository/tinyos-2.x-tools/share/man/man1'
>> test -z "/stow/repository/tinyos-2.x-tools/share/doc/tinyos-tools-1.2.4"
>> || ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/share/doc/tinyos-tools-1.2.4"
>> /usr/bin/install -c -m 644 tos-bsl.txt tos-bsl-license.txt
>> '/stow/repository/tinyos-2.x-tools/share/doc/tinyos-tools-1.2.4'
>> test -z "/stow/repository/tinyos-2.x-tools/lib/tinyos" ||
>> ../../../config-aux/install-sh -c -d
>> "/stow/repository/tinyos-2.x-tools/lib/tinyos"
>> /usr/bin/install -c -m 644 elf.py
>> '/stow/repository/tinyos-2.x-tools/lib/tinyos'
>> make[4]: Nothing to be done for `install-exec-am'.
>> make[4]: Nothing to be done for `install-data-am'.
>> make[3]: Nothing to be done for `install-exec-am'.
>> make[3]: Nothing to be done for `install-data-am'.
>> Making install in tinyos
>> Making install in java
>> /bin/sh: line 0: cd: java: No such file or directory
>> make[1]: *** [install-recursive] Error 1
>> make: *** [install-recursive] Error 1
>>
>>
>> I guess, there are still errors with the java. configure and make try to
>> search for the java folder...What should I do now...I have no clue...
>>
>> thanks
>>
>> Yusnaidi
>>
>
_______________________________________________
Tinyos-help mailing list
Tinyos-help@millennium.berkeley.edu
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to