https://wiki.inkscape.org/wiki/api.php?action=feedcontributions&user=Rava-sama&feedformat=atomInkscape Wiki - User contributions [en]2024-03-29T11:04:16ZUser contributionsMediaWiki 1.36.1https://wiki.inkscape.org/wiki/index.php?title=CompilingUbuntu&diff=15061CompilingUbuntu2007-06-14T02:29:03Z<p>Rava-sama: /* Dapper and Edgy */</p>
<hr />
<div>== Dapper and Edgy ==<br />
If you're going to build Inkscape, you'll need to have a full complement of build requirements. This is very easy to do in Ubuntu Dapper and Edgy:<br />
<br />
Note: the libgc-6.7 that is available in Edgy removes the need for the following:<br />
<br />
<pre><br />
sudo apt-get build-dep inkscape<br />
sudo apt-get install liblcms-dev build-essential<br />
echo "deb-src http://ftp.us.debian.org/debian/ unstable main" >> /etc/apt/sources.list<br />
sudo apt-get update<br />
sudo apt-get source libgc-dev<br />
sudo apt-get install fakeroot debhelper<br />
cd libgc*<br />
sudo fakeroot dpkg-buildpackage -uc -us<br />
sudo dpkg -i ../libgc*.deb<br />
</pre><br />
<br />
If you want version 0.44 from Debian Unstable, you can compile it in the same way as libgc above:<br />
<br />
<pre><br />
apt-get source inkscape<br />
cd inkscape*<br />
fakeroot dpkg-buildpackage -uc -us<br />
sudo dpkg -i ../inkscape*.deb<br />
</pre><br />
<br />
To build the SVN snapshots:<br />
<br />
<pre><br />
# Untar and navigate to the inkscape source folder<br />
./configure<br />
make<br />
sudo make install<br />
</pre><br />
<br />
Instead of doing "make install", on Debian-based distributions (such as Ubuntu) it is better to do<br />
<pre><br />
sudo checkinstall<br />
</pre><br />
since checkinstall first builds the .deb package and then installs it, thus making the package system aware of the newly installed inkscape.<br />
If you get the "command not found" message, do<br />
<pre><br />
sudo apt-get install checkinstall<br />
</pre><br />
<br />
<br />
'''Notes:'''<br />
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. <br />
<br />
<br />
libcms-dev was required for ./configure to work<br />
<br />
<br />
This was done on a recently installed Dapper (Ubuntu 6.06) system. I built Inkscape version 0.44.<br />
<br />
<br />
<br />
<br />
The following packages are need to compile cvs inkscape under a default Ubuntu Hoary/Breezy/Dapper system:<br />
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<br />
<br />
Inkscape requires libgc-6.7.<br />
<br />
Breezy uses 6.4, Dapper uses 6.6, Edgy uses 6.7<br />
<br />
Hoary uses version 6.3, which is provided in the Repos. (Is there somewhere to get a .deb for 6.4?)<br />
<br />
To overwrite libgc-6.3 with libgc-6.4:<br />
Download gc6.4<br />
./configure --prefix=/usr<br />
make<br />
sudo make install<br />
<br />
== Old libgc 6.5 debs for Breezy ==<br />
<br />
http://inkscape.modevia.com/ap/libgc-dev_6.5-1_i386.deb<br />
http://inkscape.modevia.com/ap/libgc1_6.5-1_i386.deb<br />
<br />
[[Category:Developer Documentation]]</div>Rava-sama