RE: please help me install gtkmm-dev in my linux system



Dmitry,

 

I built gtkmm 2.4 last Spring on a CentOS release 5.8 system. I hope that the attached notes from that build will be helpful to you.

 

Jim Tilton

 


Dr. James C. Tilton                                                Voice:   301-286-9510

NASA Goddard Space Flight Center                   FAX:     301-286-1776

Mail Code 606.3                                                    E-Mail:  James C Tilton nasa gov

(Computational & Information Sciences and Technology Office)

Greenbelt, MD 20771      

URLs:      http://ipp.gsfc.nasa.gov/ft_tech_rhseg.shtm, http://science.gsfc.nasa.gov/606.3/TILTON/ and

https://powellcenter.usgs.gov/globalcroplandwater/.

 

 

-----Original Message-----
From: gtkmm-list-bounces gnome org [mailto:gtkmm-list-bounces gnome org] On Behalf Of Dmitry Kruglov
Sent: Monday, November 05, 2012 3:53 AM
To: gtkmm list
Subject: please help me install gtkmm-dev in my linux system

 

Hi all.

 

I found new linux (alternative Ubuntu), last kernel and gnome 2. http://www.fuduntu.org/ This Linux super, but I do not know how to put the library gtkmm. I previously used ubuntu 10.10 (deb) , and now rpm (Fedora).

 

what files I need to install to use glade and gtkmm? I want to try to write in gtkmm 2.4 and gtkmm 3.

This Linux has the right package and where to take the packages, I do not know. I spent two days on the search for packages, but I was unable to find glade and gtkmm.

Some of the packages are installed, some packages are not installed as is not the same version.

maybe someone can help me?

I was tired and lost all power. I do not want to go back to ubuntu.

 

Please help me.

Thank you.

 

_______________________________________________

gtkmm-list mailing list

gtkmm-list gnome org

https://mail.gnome.org/mailman/listinfo/gtkmm-list

		Notes for building gtkmm-2.4 on CentOS release 5.8 (Final release)

(To skip to the actual build notes, search for "Building the software")

Obtained gtkmm-2.24.2.tar.xz (or gtkmm-2.24.2.tar.bz2) from http://ftp.gnome.org/pub/GNOME/sources/gtkmm/2.24/

Prerequisites for gtkmm-2.24.2:

giomm-2.4 version 2.24 or higher
pangomm-1.4 version 2.27.1 or higher
gtk+-2.0 version 2.24.0 or higher

NOTE: giomm-2.4 is contained in glibmm-2.4, so glibmm-2.4 version 2.24 or higher is required.

Decided to install glibmm-2.28.2: obtained glibmm-2.28.2.tar.xz from http://ftp.gnome.org/pub/GNOME/sources/glibmm/2.28/

Prerequisites for glibmm-2.28.2:

libsigc++-2.2.10
glib-2.0 version 2.28.0 or higher
gobject-2.0 version 2.28.0 or higher,
gmodule-2.0 version 2.28.0 or higher.

NOTE: gobject-2.0 and gmodule-2.0 are in glib-2.0

Decided to install pangomm-1.4 version 2.28.2: obtained pango-2.28.2.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/pangomm/2.28/

Prerequisites for pangomm-1.4 version 2.28.2:

glibmm-2.4 version 2.14.1 or higher
cairomm-1.0 version 1.2.2 or higher,
pangocairo version 1.23.0 or higher (in pango)

Decided to install cairomm-1.0 version 1.10.0: obtained cairomm-1.10.0.tar.gz from http://cairographics.org/releases/

Prerequisites for cairomm-1.0 version 1.10.0:

cairo version 1.10.0 or higher
libsigc++-2.2.10

Decided to install gtk+-2.0 version 2.24.5: obtained gtk+-2.24.5.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/gtk+/2.24/

Prerequisites for gtk+-2.0 version 2.24.5:

glib-2.0 version 2.27.3 or higher
atk version 1.29.2 or higher, 
pango version 1.20 or higher, 
cairo version 1.6 or higher and 
gdk-pixbuf-2.0 version 2.21.0 or higher.

Decided to install cairo version 1.10.2: obtained from cairo-1.10.2.tar.gz from http://cairographics.org/releases/

Prerequisites for cairo version 1.10.2:

cairo-1.10.2 needs pixman-1 version 0.18.4 or higher
NOTE: cairo-1.10.2 optionally needs poppler version 0.13.3 or higher and librsvg version 2.15.0 or higher

Decided to install poppler version 0.20.2: obtained poppler-0.20.2.tar.gz from http://poppler.freedesktop.org/releases.html

Prerequisites for poppler version 0.20.2:

cairo version 1.10.0 or higher
Also can use zlib, libcurl, libopenjpeg

Decided to install librsvg version 2.36.1: obtained librsvg-2.36.1.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/librsvg/2.36/

Prerequisites for librsvg version 2.36.1:

gdk-pixbuf version 1.3.7 or higher,
glib-2.0 version 2.12.0 or higher,
pangocairo version 1.16.0 or higher,
cairo version 1.2.0 or higher, 
libxml-2.0 version 2.7.0 or higher,
gio-2.0 version 2.24.0 or higher and 
libcroco-0.6 version 0.6.1 or higher

Decided to install pango version 1.29.3: obtained pango-1.29.3.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/pango/1.29/

Prerequisites for pango version 1.29.3:

pango-1.29.3 needs glib version 2.26.0 or higher

Decided to install atk version 2.0.1: obtained atk-2.0.1.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/atk/2.0/

Prerequisites for atk version 2.0.1:

Requires glib version 2.0.0 or higher

Decided to install gdk-pixbuf version 2.23.5: obtained gdk-pixbuf-2.23.5.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/gdk-pixbuf/2.23/

Prerequisties for gkd-pixbuf version 2.23.5:

gdk-pixbuf-2.23.5 requires glib-2.0 version 2.27.2 or higher

Decided to install glib version 2.28.8: obtained glib-2.28.8.tar.gz from http://ftp.gnome.org/pub/GNOME/sources/glib/2.28/

Prerequisites for glib version 2.28.8:

glib-2.28.8 optionally needs FAM libary

Decided to install FAM library version 2.7.0: obtained fam-2.7.0.tar.gz from http://oss.sgi.com/projects/fam/download.html

No further prerequisites required!

Building the software:

libsigc++-2.2.10:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

pixman-0.22.2:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

fam-2.7.0:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
Encountered an error: Don't bother with this optional package.

glib-2.28.8:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

gdk-pixbuf-2.23.5:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

atk-2.0.1:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

pango-1.29.3:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'

Noticed pango-1.29.3 can optionally use fontconfig

fontconfig-2.8.0:

tar xvfz fontconfig-2.8.0.tar.gz
cd fontconfig-2.8.0
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

Back to pango-1.29.3:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

cairo-1.10.2:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

Need to reinstall pango so that it has pangocairo support:

Back to pango-1.29.3:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make clean
make
make install

librsvg-2.36.1:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'

Need libcroco-0.6.5:
tar xvfz libcroco-0.6.5.tar.gz
cd libcroco-0.6.5
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64' --disable-Bsymbolic
make
make install

Back to librsvg-2.36.1:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'

Needs gobject-introspection. Forget this optional package for now.

poppler-0.20.2:
cd poppler-data-0.4.5
make install prefix=/home/tilton/local datadir=/home/tilton/local
cd ../poppler-0.20.2
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

Reinstall cairo-1.10.2 to pick up poppler support:
make clean
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'

Got:

cairo (version 1.10.2 [release]) will be compiled with:

The following surface backends:
  Image:         yes (always builtin)
  Recording:     yes (always builtin)
  Tee:           no (disabled, use --enable-tee to enable)
  XML:           no (disabled, use --enable-xml to enable)
  Skia:          no (disabled, use --enable-skia to enable)
  Xlib:          yes
  Xlib Xrender:  yes
  Qt:            no (disabled, use --enable-qt to enable)
  Quartz:        no (requires CoreGraphics framework)
  Quartz-image:  no (disabled, use --enable-quartz-image to enable)
  XCB:           no (disabled, use --enable-xcb to enable)
  Win32:         no (requires a Win32 platform)
  OS2:           no (disabled, use --enable-os2 to enable)
  CairoScript:   no (disabled, use --enable-script to enable)
  PostScript:    yes
  PDF:           yes
  SVG:           yes
  OpenGL:        no (disabled, use --enable-gl to enable)
  BeOS:          no (disabled, use --enable-beos to enable)
  DirectFB:      no (disabled, use --enable-directfb to enable)
  OpenVG:        no (disabled, use --enable-vg to enable)
  DRM:           no (disabled, use --enable-drm to enable)

The following font backends:
  User:          yes (always builtin)
  FreeType:      yes
  Fontconfig:    yes
  Win32:         no (requires a Win32 platform)
  Quartz:        no (requires CoreGraphics framework)

The following functions:
  PNG functions:   yes
  GLEW functions:  no (not required by any backend)
  GLX functions:   no (not required by any backend)
  WGL functions:   no (not required by any backend)
  EGL functions:   no (not required by any backend)
  X11-xcb functions: no (disabled, use --enable-xlib-xcb to enable)
  XCB-drm functions: no (disabled, use --enable-xcb-drm to enable)
  XCB-shm functions: no (requires --enable-xcb)
  DRM-Xr functions: no (disabled, use --enable-drm-xr to enable)

The following features and utilities:
  cairo-trace:                yes
  cairo-script-interpreter:   yes

And the following internal features:
  pthread:       yes
  gtk-doc:       no
  gcov support:  no
  symbol-lookup: no (requires bfd)
  test surfaces: no (disabled, use --enable-test-surfaces to enable)
  ps testing:    no (requires libspectre)
  pdf testing:   yes
  svg testing:   no (requires librsvg-2.0 >= 2.15.0)

make
make install

gtk+-2.24.5:
./configure --pr
efix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

cairomm-1.10.0:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

glibmm-2.28.2:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

pangomm-2.28.2:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

Need atkmm-1.6 version 2.22.2 or higher:

atkmm-2.22.5:
tar xvfz atkmm-2.22.5.tar.gz
cd atkmm-2.22.5
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install

gtkmm-2.24.2:
./configure --prefix=/home/jtilton/local CPPFLAGS='-I/home/jtilton/local/include' \
LDFLAGS='-L/home/jtilton/local/lib64 -L/home/jtilton/local/lib -L/usr/local/lib64'
make
make install


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]