Difference between revisions of "CompilingUbuntu"

From Inkscape Wiki
Jump to navigation Jump to search
Line 1: Line 1:
Building under Ubuntu Dapper is easier than ever:
Building under Ubuntu Dapper is easier than ever:
(Done on a system that already had build-essential installed, may or may not matter. Used Inkscape version inkscape-0.43+0.44pre4)


<pre>
<pre>
sudo apt-get build-dep inkscape
  sudo apt-get build-dep inkscape
sudo apt-get install liblcms-dev libboost-graph-dev
  sudo apt-get install liblcms-dev libboost-graph-dev
./configure
  # Untar and navigate to the inkscape source folder
make
  ./configure
sudo make install
  make
  sudo make install
</pre>
</pre>


'''Notes:'''
'''Notes:'''
build-dep gets all the dependencies for the version of Inkscape that comes with Ubuntu. We're not building the same version, but most of the dependencies are the same.  
build-dep gets all the dependencies for the version of Inkscape that comes with Ubuntu. We're not building the same version, but most of the dependencies are the same.  


libcms-dev was required for ./configure to work, and libboost-graph-dev was needed for "network connector layout functionality"
libcms-dev was required for ./configure to work, and libboost-graph-dev was needed for "network connector layout functionality"
This was done on a recently installed Dapper system that already had build-essential installed which may or may not matter. I built Inkscape version inkscape-0.43+0.44pre4.





Revision as of 00:12, 23 June 2006

Building under Ubuntu Dapper is easier than ever:

   sudo apt-get build-dep inkscape
   sudo apt-get install liblcms-dev libboost-graph-dev
   # Untar and navigate to the inkscape source folder
   ./configure
   make
   sudo make install

Notes: build-dep gets all the dependencies for the version of Inkscape that comes with Ubuntu. We're not building the same version, but most of the dependencies are the same.


libcms-dev was required for ./configure to work, and libboost-graph-dev was needed for "network connector layout functionality"


This was done on a recently installed Dapper system that already had build-essential installed which may or may not matter. I built Inkscape version inkscape-0.43+0.44pre4.



The following packages are need to compile cvs inkscape under a default Ubuntu Hoary/Breezy/Dapper system:

  apt-get install cvs build-essential intltool libtool libgtkmm-2.4-dev libglib2.0-dev libpng12-dev libxslt1-dev libsigc++-2.0-dev libpopt-dev libgc-dev

Inkscape requires libgc-6.4.

Breezy/Dapper doesn't require any further work.

Hoary uses version 6.3, which is provided in the Repos. (Is there somewhere to get a .deb for 6.4?)

To overwrite libgc-6.3 with libgc-6.4:

  Download gc6.4
  ./configure --prefix=/usr
  make
  sudo make install

libgc 6.5 debs for ubuntu

http://inkscape.modevia.com/ap/libgc-dev_6.5-1_i386.deb

http://inkscape.modevia.com/ap/libgc1_6.5-1_i386.deb