Difference between revisions of "CompilingSuse"

From Inkscape Wiki
Jump to: navigation, search
(removed - outdated)
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== OpenSUSE 10.2 ==
You need to install these packages to pass the compilation of SVN trunk:
* gtkmm-devel
* glibmm-devel
* cairomm-devel
* libsigc-2.0-devel
* popt-devel
* gc-6.6 (Boehm's collector)
* intltool
*  their dependencies
* AND automake-1.8.5 or any other then 1.9.6 that is installed by default.
* and any other optionally required packages
If you compile automake-1.8.5 by yourself then be sure that you install it to /usr prefix and not to /usr/local. If you still install to /usr/local, then instead of running "autogen.sh" on svn version, run:
  ACLOCAL_FLAGS="$ACLOCAL_FLAGS -I /usr/share/aclocal" ./autogen.sh
Then run ./configure; make; sudo make install as usually.
Thanks go to Dobey who helped a lot to figure out what was the problem.
== Suse 9.0 ==
One of the challenges with Suse 9.0 is the lack of a distro provided gtkmm2 and libsigc  packages.
Best place to find them:  ftp://ftp.gwdg.de/pub/linux/misc/apt4rpm/suse/usr-local-bin/9.0/
[ This URL does not exist anymore :-( ]
Suse 9.1 includes both now in the GNOME supplemental downloads.
Note that for SuSE the gtk 2 packages are called gtk2.  The gtk 2 2.4 package is not provided via Yast but can be found via rpmseek as gtk2 and gtk2-devel
To find the .pc files, I had to set:
setenv PKG_CONFIG_PATH/usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig/
In SuSE 9.1 I ran into this error:
  configure.in:25: required file `./ltmain.sh' not found
Copying /usr/share/libtool/ltmain.sh into the top directory fixed it.
For 0.40cvs the libgc dependency is added.  In [[SuSE]] 9.1 this is package 'boehm-gc', but it doesn't work - you need to compile from source.  Download from:
Then configure it with the command:
  $ ./configure --enable-cplus-plus
SuSE 9.1 also does not have libsigc  2.0; I couldn't find an rpm for it so ended up having to compile it from source, from http://prdownloads.sourceforge.net/libsigc/libsigc  -2.0.3.tar.gz
I also had to compile gtkmm 2.4 and glib 2.4 from source; download them from ftp://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.4/ and http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.4/
Looks like these packages are also available from here:ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.1-i386/RPMS.gnome/
Also, stuff got installed to /opt/gnome/bin/, so I had to also
`export PATH=$PATH:/opt/gnome/bin/`
[[Category:Developer Documentation]]
[[Category:Needs Work]]

Latest revision as of 14:45, 28 May 2019