Difference between revisions of "CompilingMandrake"

From Inkscape Wiki
Jump to navigation Jump to search
(removed - outdated)
(9 intermediate revisions by 5 users not shown)
Line 1: Line 1:
== 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''):
# download the [http://prdownloads.sourceforge.net/inkscape/inkscape-0.41-1.src.rpm?download download Inkscape's src.rpm] at sourceforge.net
# <code>urpmi gtk2-devel</code> (Inkscape 0.41 needs gtk2-devel >= 2.4.0; use [http://easyurpmi.zarb.org/ urpmi source "main"] if you haven't got a CD/DVD with devel packages)
# <code>urpmi libpng3</code> (libpng >= 1.2 is needed)
# now the '''libgc 6.4+''' is needed. I didn't found or somewhat missed the [http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/ Hans Boehm's gc] package for mdk 10.1, so i downloaded and compiled it like this: <pre>./configure --prefix=/usr
make install</pre> (in fact i used <code>checkinstall</code> instead of <code>make install</code> and then <code>urpmi /usr/src/RPM/RPMS/i586/gc-6.4-1luc.i586.rpm</code>)
# <code>urpmi libxml2-devel</code>
# <code>urpmi libxslt-devel</code>
# <code>urpmi libsigc++2.0_0-devel</code> (to be found at urpmi source "contrib")
# <code>urpmi libgtkmm2.4_1-devel</code> (also urpmi source "contrib")
# <code>urpmi popt-devel</code> (urpmi source "main")
# finally you can perform successfully: <code>rpm -rebuild inkscape-0.41-1.src.rpm</code> (the resulting RPM package will be probably stored as <code>/usr/src/RPM/RPMS/i586/inkscape-0.41-1.i586.rpm</code> according to your RPM settings)
<div align="right">''luci''</div>

Latest revision as of 14:47, 28 May 2019