Reply
Thread Tools
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#1
I'll have ocaml as my primary programming language during my univeristy classes, so I thought about building ocaml for N900

What's weird, Tcl is not detected by configure, although tcl8.5-dev is installed: https://garage.maemo.org/builder/fre...ubuntu1maemo1/

Do you have any ideas why this happens?
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 1,289 | Thanked: 4,317 times | Joined on Oct 2014
#2
Yeah, its finding the header files, those were specified with -I

Code:
tcl.h and tk.h version 8.5 found with "-I/usr/include/tcl8.5 -I/usr/include/tk8.5".
But, its not findin corresponding libraries.

Code:
Tcl library not found.
So you probably want to provide library path as well
 

The Following 2 Users Say Thank You to nieldk For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#3
Well, the library path was provided by debian/rules but was some Ubuntuism. After removing the definitions from debian/rules, tcl was found properly.

Now I've got some qemu segfault:
Code:
../ocamlcomp.sh -c -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte' -I camlp4/Camlp4Parsers -I camlp4 -I stdlib -o camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.cmo camlp4/Camlp4Parsers/Camlp4OCamlOriginalQuotationExpander.ml
../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4Parsers -I camlp4 -I stdlib -o camlp4/Camlp4Parsers/Camlp4OCamlParser.cmx camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Exit code 126 while executing this command:
  ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4Parsers -I camlp4 -I stdlib -o camlp4/Camlp4Parsers/Camlp4OCamlParser.cmx camlp4/Camlp4Parsers/Camlp4OCamlParser.ml
make[2]: *** [camlp4opt] Error 126
I don't have the scratchbox locally, so my testing possibilities are rather limited.

https://garage.maemo.org/builder/fre...log.FAILED.txt
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 

The Following User Says Thank You to marmistrz For This Useful Post:
Posts: 1,289 | Thanked: 4,317 times | Joined on Oct 2014
#4
Most likely one of those situations where running into an old, not Solved, issue, where qemu just crashes. Usually because og multiple threads, which it doesnt handle very well.
 

The Following User Says Thank You to nieldk For This Useful Post:
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#5
Hmmm.... I don't see any '-j N' call in the whole log. It seems not to be parallel.
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Posts: 3,328 | Thanked: 4,476 times | Joined on May 2011 @ Poland
#6
Ok, I used Scratchbox Hathor with Qemu 0.13 and the problem is gone
__________________
If you want to support my work, you can donate by PayPal or Flattr

Projects no longer actively developed: here
 
Reply


 
Forum Jump


All times are GMT. The time now is 06:19.