Difference between revisions of "CompilingUbuntu"

From Inkscape Wiki
Jump to navigation Jump to search
(remove all redundant content that is already covered in https://inkscape.org/develop/getting-started/)
 
(68 intermediate revisions by 25 users not shown)
Line 1: Line 1:
Building under Ubuntu Dapper is easier than ever:
== Consider using pre-built packages ==
(Done on a system that already had build-essential installed, may or may not matter. Used Inkscape version inkscape-0.43+0.44pre4)
This is a short how to build the latest development version. '''If you don't want to change the source code, you can avoid this effort and use pre-built packages''', either the well-tested stable version, or the newest developer's version intended for testing. See [[Installing_Inkscape#Ubuntu_or_Debian_Linux]].


<nowiki>
== Compiling unstable developement version ==
sudo apt-get build-deb inkscape # gets all deps for version in Ubuntu -- covers most our bases
sudo apt-get install liblcms-dev libboost-graph-dev # For little CMS and network connector layout functionality
./configure
make
sudo make install
</nowiki>


Please refer to https://inkscape.org/en/develop/getting-started/


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.
=== Installing ===


Breezy/Dapper doesn't require any further work.
If you used some CMAKE_INSTALL_PREFIX other than /usr, then you may install using usual 'make install' or 'sudo make install', depending on the location.
If the the location prefix was /usr, then "sudo make install" is not recommended, as debian package manager would know nothing about new package. The better alternative is using checkinstall. If checkinstall is not installed, you can install it the usual way "sudo apt-get install checkinstall".


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


To overwrite libgc-6.3 with libgc-6.4:
Happy inkscapeing.
  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


[[Category:Developer Documentation]]
[[Category:Developer Documentation]]

Latest revision as of 20:06, 16 February 2020

Consider using pre-built packages

This is a short how to build the latest development version. If you don't want to change the source code, you can avoid this effort and use pre-built packages, either the well-tested stable version, or the newest developer's version intended for testing. See Installing_Inkscape#Ubuntu_or_Debian_Linux.

Compiling unstable developement version

Please refer to https://inkscape.org/en/develop/getting-started/


Installing

If you used some CMAKE_INSTALL_PREFIX other than /usr, then you may install using usual 'make install' or 'sudo make install', depending on the location. If the the location prefix was /usr, then "sudo make install" is not recommended, as debian package manager would know nothing about new package. The better alternative is using checkinstall. If checkinstall is not installed, you can install it the usual way "sudo apt-get install checkinstall".

   sudo checkinstall

Happy inkscapeing.