Installing Camelia OCaml IDE on Ubuntu Gutsy Gibbon

03 11 2007

[will be filled in later; put up for immediate use]

CODE:
sudo apt-get update
sudo apt-get install g++
sudo apt-get install qt3-dev-tools


tar xvfz camelia-1.1.tar.gz
cd src
sudo ./config
sudo make
sudo make install


sudo nano console/console.h

look for the following block of code and insert the last line:

class OProcess;
#include "ocamlprocess.h"
#include "debugprocess.h"
#include "olineedit.h"
#include "color.h"
#include "debugger/debug.h"
class Debugger;
class OCamlProcess; // insert this line here

You'll get an error regarding the tips if you don't complete this step:
sudo chmod -R 755 /usr/local/lib/camelia/tips/

Finally, run Camelia:
/usr/local/bin/camelia
You can also simply type "camelia" at the command line, so long as /usr/local/bin/ is in your $PATH; it should be on a default Ubuntu install.


Trackbacks


No Trackbacks

Comments

Display comments as (Linear | Threaded)
31 03 2009
#1 Sil (Reply)

If there are problems, you can try
sudo apt-get install qt3-apps-dev

I did that and saw some improvement but still getting: "console/console.h:119: error: ‘OCamlProcess’ has not been declared" and don't know what to do...
31 03 2009
#2 Sil (Reply)

Oh, forgot to do that:

sudo nano console/console.h

look for the following block of code and insert the last line:

class OProcess;
#include "ocamlprocess.h"
#include "debugprocess.h"
#include "olineedit.h"
#include "color.h"
#include "debugger/debug.h"
class Debugger;
class OCamlProcess; // insert this line here


Anyways, it's true with this qt3-apps-dev..
05 11 2010
#2.1 Velu (Reply)

Moreover, if anyone gets error: abs was not declared in this scope

during

sudo make

or

sudo make install

then open the error file and add the #include in that .h or .c file.

I did this in my Ubuntu 10..10 and now running camelia happily :-).

thanks to the solution from http://www.larryullman.com/forum/read.php?14,46888,46888

Add Comment


You can use [geshi lang=lang_name [,ln={y|n}]][/geshi] tags to embed source code snippets.
Enclosing asterisks marks text as bold (*word*), underscore are made via _word_.
Standard emoticons like :-) and ;-) are converted to images.
BBCode format allowed

To prevent automated Bots from commentspamming, please enter the string you see in the image below in the appropriate input box. Your comment will only be submitted if the strings match. Please ensure that your browser supports and accepts cookies, or your comment cannot be verified correctly.
CAPTCHA