This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Semantik: compilation fails on Slackware64-current

Tags: None
(comma "," separated)
User avatar
sombragris
Registered Member
Posts
15
Karma
0
OS
Hi everyone,

First of all, let me state that I use Slackware64-current with KDE 4.7.

I was trying to compile semantik (http://www.freehackers.org/~tnagy/kdissert.html), a well-known mind-mapping application for KDE that is the sucessor of Kdissert. The build requires ocaml, so I built and installed ocaml 3.11.1 from SlackBuilds.org. Other dependencies are met; at least, './waf configure' didn't complain ;)

Compilation of semantik fails with the following error messages:

Code: Select all
Waf: Entering directory `/home/eduardo/build/slackbuilds/semantik/semantik-0.7.3/build'
[56/62] ocamlx: src/apis.ml -> build/default/src/apis.cmx
/tmp/camlasmc25905.s: Assembler messages:
/tmp/camlasmc25905.s: Error: .size expression for camlApis__entry does not evaluate to a constant
File "/tmp/camlpp28f249", line 1, characters 0-1:
Error: Assembler error, input left in file /tmp/camlasmc25905.s
Waf: Leaving directory `/home/eduardo/build/slackbuilds/semantik/semantik-0.7.3/build'
Build failed
 -> task failed (err #2):
        {task: ocamlx apis.ml -> apis.cmx}


Any pointers on how could I get it compiled??

Thanks in advance :)
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
That appears to be a OCAML compiler error unfortunately. Best to check if Semantik requires a particular OCAML version. KDE applications are usually (but not always) written in C++.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
sombragris
Registered Member
Posts
15
Karma
0
OS
bcooksley: you're right. Upgrading the OCAML compiler solved the issue. Thanks!


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]