Mantis - Kaputt
Erweiterte Problemanzeige
45 general schwerer Fehler immer 2009-09-12 16:59 2009-12-17 19:59
anonymous  
xclerc  
normal  
geschlossen 1.0-beta  
erledigt  
keine    
keine 1.0  
0000045: Can't load library - "The external function `caml_ba_num_dims' is not available"
When trying to load the library in the toplevel, I get the following error:

kiv@C:~/Desktop/kaputt-1.0-beta$ ocaml
        Objective Caml version 3.10.2

# #directory "+kaputt";;
# #load "kaputt.cma";;
The external function `caml_ba_num_dims' is not available

Unfortunately I am new to OCaml and don't know how to debug this, so my apologies if this is a dumb question. Maybe I am missing some dependency I didn't see listed in the documentation?

I'm running the standard OCaml package on Ubuntu.
Problem-Historie
2009-09-12 16:59 anonymous Neues Problem
2009-09-12 22:06 xclerc Problemnotiz hinzugefügt: 0000186
2009-09-12 22:06 xclerc Bearbeitung durch => xclerc
2009-09-12 22:06 xclerc Status neu => anerkannt
2009-09-12 22:07 xclerc Problemnotiz bearbeitet: 0000186
2009-09-12 22:16 anonymous Problemnotiz hinzugefügt: 0000187
2009-10-04 03:55 anonymous Problemnotiz hinzugefügt: 0000188
2009-10-04 04:13 anonymous Problemnotiz hinzugefügt: 0000189
2009-10-04 05:14 anonymous Problemnotiz hinzugefügt: 0000190
2009-10-04 05:30 anonymous Problemnotiz hinzugefügt: 0000191
2009-10-04 06:14 anonymous Problemnotiz hinzugefügt: 0000192
2009-10-04 06:31 anonymous Problemnotiz hinzugefügt: 0000193
2009-10-04 06:49 anonymous Problemnotiz hinzugefügt: 0000194
2009-10-04 08:09 anonymous Problemnotiz hinzugefügt: 0000195
2009-10-04 09:10 anonymous Problemnotiz hinzugefügt: 0000196
2009-10-04 09:25 administrator Problemnotiz gelöscht: 0000188
2009-10-04 09:25 administrator Problemnotiz gelöscht: 0000189
2009-10-04 09:25 administrator Problemnotiz gelöscht: 0000190
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000191
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000192
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000193
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000194
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000195
2009-10-04 09:26 administrator Problemnotiz gelöscht: 0000196
2009-12-17 19:59 xclerc Status anerkannt => geschlossen
2009-12-17 19:59 xclerc Lösung offen => erledigt
2009-12-17 19:59 xclerc Behoben in Version => 1.0

Notiz
(0000186)
xclerc   
2009-09-12 22:06   
(bearbeitet am: 2009-09-12 22:07)
Kaputt contains generators and assertions for various OCaml types
including arbitrary-precision integers ("nums" library), and large
arrays ("bigarray" library).

To use Kaputt from the toplevel, you should hence load these libraries
beforehand. This leads to the following sequence:
# #load "bigarray.cma";;
# #load "nums.cma";;
# #directory "+kaputt";;
# #load "kaputt.cma";;

This should solve the problem. However, I acknowledge that this problem
could be regarded as a "packaging" bug. I mean, if you are not interested
in arbitrary-precision integers / large arrays, you should not have to
load (or link with) these libraries.
As a consequence, the next version should feature a better packaging
(or, at the very least, the documentation should be updated to point this
problem, and provide the aforementioned workaround).

(0000187)
anonymous   
2009-09-12 22:16   
Thank you for the prompt reply; the workaround fixes my problem. It does seem preferable not to have to link those libraries, and I look forward to the next version.