Difference between revisions of "CompilingSuse"

From Inkscape Wiki
Jump to navigation Jump to search
 
m (link fix)
(One intermediate revision by the same user not shown)
Line 4: Line 4:


Best place to find them:  ftp://ftp.gwdg.de/pub/linux/misc/apt4rpm/suse/usr-local-bin/9.0/
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.
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
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:
To find the .pc files, I had to set:


  setenv PKG_CONFIG_PATH /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig/
  setenv [[PKG_CONFIG_PATH]] /usr/local/lib/pkgconfig:/usr/lib/pkgconfig:/opt/gnome/lib/pkgconfig/


In SuSE 9.1 I ran into this error:
In [[SuSE]] 9.1 I ran into this error:


   configure.in:25: required file `./ltmain.sh' not found
   configure.in:25: required file `./ltmain.sh' not found
Line 19: Line 20:
Copying /usr/share/libtool/ltmain.sh into the top directory fixed it.
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:
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:


   http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3.tar.gz
   http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3.tar.gz
Line 27: Line 28:
   $ ./configure --enable-cplus-plus
   $ ./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
[[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/
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/

Revision as of 02:32, 22 January 2006

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:

  http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc6.3.tar.gz

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/`