maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   Tcl library not found (https://talk.maemo.org/showthread.php?t=96020)

marmistrz 2015-10-06 18:46

Tcl library not found
 
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?

nieldk 2015-10-06 19:31

Re: Tcl library not found
 
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

marmistrz 2015-10-07 20:30

Re: Tcl library not found
 
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

nieldk 2015-10-08 07:13

Re: Tcl library not found
 
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.

marmistrz 2015-10-08 16:17

Re: Tcl library not found
 
Hmmm.... I don't see any '-j N' call in the whole log. It seems not to be parallel.

marmistrz 2015-10-12 19:26

Re: Tcl library not found
 
Ok, I used Scratchbox Hathor with Qemu 0.13 and the problem is gone


All times are GMT. The time now is 23:55.

vBulletin® Version 3.8.8