Building AbiWord from Source on Ubuntu

From AbiWiki

(Difference between revisions)
Jump to: navigation, search
(comments)
 
Line 4: Line 4:
If you are a committer,
If you are a committer,
-
  svn+ssh://<username>@svn.abisource.com/svnroot/abiword/trunk
+
  svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword/trunk
For others,
For others,

Current revision as of 13:43, 1 April 2012

This is tested on Ubuntu 11.10/64 bit.

First checkout the source from the trunk.

If you are a committer,

svn co svn+ssh://<username>@svn.abisource.com/svnroot/abiword/trunk

For others,

svn co http://svn.abisource.com/abiword/trunk abiword

Change to the abiword directory, and execute the below commands.

The commonest build dependencies for AbiWord can be installed by a single command, as below.

sudo apt-get build-dep abiword

Installing gtk+-3.0.

sudo apt-get install gtk+-3.0

Installing RDF.

sudo apt-get install librdf0-dev

You can optionally install Valgrind for Unit testing.

sudo apt-get install valgrind 

Configuring using the provided autogen.sh.

sh autogen.sh

Make and make install.

make

Unless changed the location or permissions, make install will require admin privileges to install to the default location.

sudo make install

Link from the lib directory,

cd /lib
sudo ln -s /usr/local/lib/libabiword-2.9.so

Now you should be able to run abiword

abiword

This post discusses the quick and dirty way of building abiword from the source. More detailed building instructions are available in the "Compiling AbiWord" article. "Developing AbiWord on Windows using Visual C++" discusses building Abiword for Windows.

Personal tools