[CCC DEV] Doh!

Christian Jacobsen cljacobsen at gmail.com
Mon Mar 1 07:49:40 GMT 2010


Hi Dennis,

I'm not currently sure about the Java errors. They look a bit odd...
It could well be due to my java autodetect script.

Could you paste the output from starting msys, ie what JDK version was
found and paths?
Also type `which java` and paste in the output of that
If you could also type 'export' and paste in the output of that.
That may or may not shed light on things.

The ./build_kroc.sh error is entirely my fault. I'd commented out a
line in the build script that takes a very long time on my vm while
developing. If you update your working copy you'll get correct version
of that script, and ./build_kroc.sh should now be able to find the
configure scripts.

Thanks,
  Christian

On 1 March 2010 01:35, Dennis Meade <stone.misc at gmail.com> wrote:
>
> Christian,
>
> I got tangled up and ran "python bootstrap.py" in msys rather than Windows
> which is
> Windows XP Pro SP2. I know now to delete everything and start over for each
> try.
>
> ************************************************************************************
> ************************************************************************************
>
> python bootstrap.py seems to have succeeded. Yay! The last few lines of
> output are below.
>
> C:\kroc-trunk\distribution\windows\tmp\perl-5.10.1\win32\html\pod\perlwin32.html
> -> C:\kroc-trunk\distribution\windows\msys\perl\html\pod\perlwin32.html
> C:\kroc-trunk\distribution\windows\tmp\perl-5.10.1\win32\html\pod\perlxs.html
> ->
> C:\kroc-trunk\distribution\windows\msys\perl\html\pod\perlxs.html
> C:\kroc-trunk\distribution\windows\tmp\perl-5.10.1\win32\html\pod\perlxstut.html
> -> C:\kroc-trunk\distribution\windows\msys\perl\html\pod\perlxstut.html
> 968 File(s) copied
>
> C:\kroc-trunk\distribution\windows>
>
> ************************************************************************************
> ************************************************************************************
>
>
> ./build_occplug.sh failed. When msys started there was a message as to where
> it found Java. I
>
> forgot to copy that.
>
> Dennis at WEDGWOOD-C3A72E ~
> $ cd /tvm/distribution/windows
>
> Dennis at WEDGWOOD-C3A72E /tvm/distribution/windows
> $ ./build_occplug.sh
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                Dload  Upload   Total   Spent    Left  Speed
> 100 2024k  100 2024k    0     0   537k      0  0:00:03  0:00:03 --:--:--
>  685k
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
> tar (child): ../installer/jedit-program.tar.bz2: Cannot open: No such file
> or di
> rectory
> tar (child): Error is not recoverable: exiting now
> tar: Child returned status 2
> tar: Error exit delayed from previous errors
>  % Total    % Received % Xferd  Average Speed   Time    Time     Time
>  Current
>                                Dload  Upload   Total   Spent    Left  Speed
> 100 41596  100 41596    0     0  78335      0 --:--:-- --:--:-- --:--:--
> 78335
> Archive:  ../../../ErrorList-1.5-bin.zip
>  inflating: ErrorList.jar
> Error occurred during initialization of VM
> java/lang/NoClassDefFoundError: java/lang/Object
>
> Dennis at WEDGWOOD-C3A72E /tvm/distribution/windows
> $
>
> ************************************************************************************
> ************************************************************************************
>
> ./build_avrdude.sh succeeded. Yay!. The last few lines are below.
>
> make[2]: Entering directory `/tvm/distribution/windows/build/avrdude-5.10'
> test -z "/tvm/distribution/windows/install-avrdude/bin" || /bin/mkdir -p
> "/tvm/d
> istribution/windows/install-avrdude/bin"
>  /bin/install -c 'avrdude.exe'
> '/tvm/distribution/windows/install-avrdude/bin/a
> vrdude.exe'
> Backing up avrdude.conf in /tvm/distribution/windows/install-avrdude/etc
> test -z "/tvm/distribution/windows/install-avrdude/etc" || /bin/mkdir -p
> "/tvm/d
> istribution/windows/install-avrdude/etc"
> /bin/install -c -m 644 'avrdude.conf'
> '/tvm/distribution/windows/install-avrdud
> e/etc/avrdude.conf'
> test -z "/tvm/distribution/windows/install-avrdude/share/man/man1" ||
> /bin/mkdir
> -p "/tvm/distribution/windows/install-avrdude/share/man/man1"
> /bin/install -c -m 644 './avrdude.1'
> '/tvm/distribution/windows/install-avrdude
> /share/man/man1/avrdude.1'
> make[2]: Leaving directory `/tvm/distribution/windows/build/avrdude-5.10'
> make[1]: Leaving directory `/tvm/distribution/windows/build/avrdude-5.10'
>
> Dennis at WEDGWOOD-C3A72E /tvm/distribution/windows
> $
>
>
> ************************************************************************************
> ************************************************************************************
>
> ./build_kroc.sh failed.
>
> It looks like there is a problem when it starts to build KRoC.
>
>  inflating: arduino-0018/tools/Mangler/src/Mangler.java
>  creating: arduino-0018/tools/Mangler/tool/
> ./build_kroc.sh: line 90: ../../../../configure: No such file or directory
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> ./build_kroc.sh: line 113: ../../../../configure: No such file or directory
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> ./build_kroc.sh: line 116: cd:
> /tvm/distribution/windows/build/kroc-tvm-avr/modu
> les/inmoslibs/libsrc: No such file or directory
> make: *** No targets specified and no makefile found.  Stop.
> make: *** No rule to make target `install'.  Stop.
> autoreconf: Entering directory `.'
> autoreconf: configure.ac: not using Gettext
>
> *************************************************************************************
>
>
> Then it ends with:
>
> configure: creating ./config.status
> config.status: creating Makefile
> config.status: creating config.mk
> config.status: executing depfiles commands
> configure: WARNING: unrecognized options: --with-toolchain
> rm -fr libtvm
> mkdir libtvm
> cd libtvm && ../../../../../tvm/arduino/../../runtime/libtvm/configure \
>               --host=avr \
>               --with-memory-allocator=none \
>               CFLAGS="-g -Wall -Os -mmcu=atmega328p"
> /bin/sh: line 1: ../../../../../tvm/arduino/../../runtime/libtvm/configure:
> No s
> uch file or directory
> make: *** [libtvm/libtvm.a] Error 127
> rm -fr libtvm
> mkdir libtvm
> cd libtvm && ../../../../../tvm/arduino/../../runtime/libtvm/configure \
>               --host=avr \
>               --with-memory-allocator=none \
>               CFLAGS="-g -Wall -Os -mmcu=atmega328p"
> /bin/sh: line 1: ../../../../../tvm/arduino/../../runtime/libtvm/configure:
> No s
> uch file or directory
> make: *** [libtvm/libtvm.a] Error 127
>
> Dennis at WEDGWOOD-C3A72E /tvm/distribution/windows
> $
>
> Dennis
>
> Christian Jacobsen wrote:
>>
>> Hi Dennis,
>>
>> I was wondering if you could let me know a bit about the system you
>> are building on? Ie the version of Windows and stuff like that (I
>> can't at the moment think if there is anything other than Windows
>> version I should be asking for, but if you think anything might be
>> important it might well be :) ). Also could you tell me how you run
>> the bootstrap script? do you double click it or open a command prompt
>> and type 'python bootstrap.py'?
>>
>> Also if you open a command prompt and type 'cd C:\some\directory' it
>> works ok right? There is nothing strange about your setup that would
>> make that fail is there? Also you are not using cygwin as your command
>> prompt are you? If you start the bootstrap script from cygwin it is
>> almost certainly going to go wrong.
>>
>> Answers to those would be a great help in eliminating some possible
>> sources of error.
>>
>> Thanks!
>>  Christian
>>
>
>
> _______________________________________________
> developers mailing list
> developers at concurrency.cc
> https://ssl.unhosting.org/mailman/listinfo/developers
>




More information about the developers mailing list