Difference between revisions of "CompilingMandrake"

From Inkscape Wiki
Jump to navigation Jump to search
(No difference)

Revision as of 21:15, 1 March 2005

Building RPM Package on Mandrakelinux 10.1

I did it with the src.rpm package available at sf.net. The RPM rebuild process is pretty similar to compiling from source but first we need to satisfy the dependencies (the fastest way is Mandrakelinux's urpmi):

  1. download the download Inkscape's src.rpm at sourceforge.net
  2. urpmi gtk2-devel (Inkscape 0.41 needs gtk2-devel >= 2.4.0; use urpmi source "main" if you haven't got a CD/DVD with devel packages)
  3. urpmi libpng3 (libpng >= 1.2 is needed)
  4. now the libgc 6.4+ is needed. I didn't found or somewhat missed the Hans Boehm's gc package for mdk 10.1, so i downloaded and compiled it like this:
    ./configure --prefix=/usr

make su make install (in fact i used checkinstall instead of make install and then urpmi /usr/src/RPM/RPMS/i586/gc-6.4-1luc.i586.rpm)

  1. urpmi libxml2-devel
  2. urpmi libxslt-devel
  3. urpmi libsigc++2.0_0-devel (to be found at urpmi source "contrib")
  4. urpmi libgtkmm2.4_1-devel (also urpmi source "contrib")
  5. urpmi popt-devel (urpmi source "main")
  6. finally you can perform successfully: rpm -rebuild inkscape-0.41-1.src.rpm (the resulting RPM package will be probably stored as /usr/src/RPM/RPMS/i586/inkscape-0.41-1.i586.rpm according to your RPM settings)