Difference between revisions of "CompilingFedora"

From Inkscape Wiki
Jump to navigation Jump to search
(→‎Fedora 8, 9 & 10: update the command to get the latest sources from launchpad)
Line 1: Line 1:
== Fedora 8, 9 & 10 ==
== Fedora 8, 9 & 10 ==


Load up a terminal and run the following 4 commands to download the Inkscape sourcecode, install the programs Inkscape needs to compile, and compile and install it, and then run it:
Load up a terminal and run the following 4 commands to download the Inkscape sourcecode, install the programs Inkscape needs to compile, and compile and install it, and then run it.
 
=== Getting the source code ===


     bzr branch lp:inkscape ; cd inkscape  
     bzr branch lp:inkscape ; cd inkscape  
=== Installing dependencies ===


     sudo yum install ImageMagick-c++-devel ImageMagick-c++ ImageMagick-devel ImageMagick glibmm24-devel libsigc++-devel gtkmm24-devel glibmm24 libsigc++ gtkmm24 intltool gc gc-devel lcms lcms-devel gsl gsl-devel libxml2-devel libxslt-devel boost-devel popt-static poppler-devel inkscape
     sudo yum install ImageMagick-c++-devel ImageMagick-c++ ImageMagick-devel ImageMagick glibmm24-devel libsigc++-devel gtkmm24-devel glibmm24 libsigc++ gtkmm24 intltool gc gc-devel lcms lcms-devel gsl gsl-devel libxml2-devel libxslt-devel boost-devel popt-static poppler-devel inkscape
For more details, see and follow the up to date list of [[Tracking Dependencies|dependencies]].
=== Configuring ===


     ./autogen.sh
     ./autogen.sh
     ./configure
     ./configure
=== Compiling ===
     make
     make
=== Installing ===
     sudo make install
     sudo make install
=== Running ===


     /usr/local/bin/inkscape
     /usr/local/bin/inkscape
Line 16: Line 32:
Note: for Fedora 8 you might need to do this before running ./configure
Note: for Fedora 8 you might need to do this before running ./configure
     export PKG_CONFIG_PATH="/usr/lib/pkgconfig/"
     export PKG_CONFIG_PATH="/usr/lib/pkgconfig/"
[[Category:Developer Documentation]]

Revision as of 18:08, 28 March 2012

Fedora 8, 9 & 10

Load up a terminal and run the following 4 commands to download the Inkscape sourcecode, install the programs Inkscape needs to compile, and compile and install it, and then run it.

Getting the source code

   bzr branch lp:inkscape ; cd inkscape 

Installing dependencies

   sudo yum install ImageMagick-c++-devel ImageMagick-c++ ImageMagick-devel ImageMagick glibmm24-devel libsigc++-devel gtkmm24-devel glibmm24 libsigc++ gtkmm24 intltool gc gc-devel lcms lcms-devel gsl gsl-devel libxml2-devel libxslt-devel boost-devel popt-static poppler-devel inkscape

For more details, see and follow the up to date list of dependencies.

Configuring

   ./autogen.sh
   ./configure

Compiling

   make

Installing

   sudo make install

Running

   /usr/local/bin/inkscape

Note: for Fedora 8 you might need to do this before running ./configure

   export PKG_CONFIG_PATH="/usr/lib/pkgconfig/"