Difference between revisions of "CompilingFedora"

From Inkscape Wiki
Jump to navigation Jump to search
 
(12 intermediate revisions by 7 users not shown)
Line 1: Line 1:
== Fedora 8, 9 & 10 ==


== Fedora Core 2 for Inkscape 0.40CVS ==
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:


After having the most up to date RPMs for FC2 from fedora updates, this is what I found for compiling Inkscape.
    svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape ; cd inkscape


Well...after checking out a clean copy of the inkscape module, autogen.sh will not generate ltmain.sh, so I had to make a softlink to a copy of ltmain.sh, which was located here: /usr/share/libtools/ltmain.sh
    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 inkscape


So I ran:
    ./autogen.sh
    ./configure
    make
    sudo make install


  $ ln -s /usr/share/libtools/ltmain.sh ./
    /usr/local/bin/inkscape


Then I ran:
Note: for Fedora 8 you might need to do this before running ./configure
 
    export PKG_CONFIG_PATH="/usr/lib/pkgconfig/"
  $ ./autogen.sh
 
Then to get all the makefiles, I ran:
 
  $ ./configure
 
Now need to have Boehm Garbage collector installed. Follow the Boehm Garbage Collector instructions on the CompilingInkscape page for this to work. After installed, then rerun:
 
  $ ./configure
 
For libsigc++2 currently you must download and install: http://sourceforge.net/project/showfiles.php?group_id=1970
 
Now you need gtkmm 2.4 and glibmm 2.4:
 
http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.4/
 
http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/
 
You need to ./configure; make; make install for libsigc++, glibmm 2.4 and gtkmm 2.4
 
Afterwards update your paths and all that and then run ./autogen.sh; ./configure; make; make install on the CVS version of inkscape...

Revision as of 19:39, 3 December 2008

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:

   svn co https://inkscape.svn.sourceforge.net/svnroot/inkscape/inkscape/trunk inkscape ; cd 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 inkscape
   ./autogen.sh
   ./configure
   make
   sudo make install
   /usr/local/bin/inkscape

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

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