Re: installing a gtkmm development environment





Jonathon Jongsma wrote:

On 5/2/06, Mitchell Laks <mlaks verizon net> wrote:

Dear gtkmm cognisenti!

Now that I have switched to gtkmm (as well as gtk2-perl), I have tried to compile and install a model environment. I have not found any howto so this
is what I did and this is where I am stuck.


welcome to gtkmm :)

and set up a user for development.

I decided to use --preferences=/home/mlaks/stable_gtk/local as my ./configure
option.


I assume this was just a typo, but if not, that should probably be
--prefix, not --preferences

In general, I find that the easiest way to set up a development
environment of gtkmm is with jhbuild.  For a brief overview of using
jhbuild, you might want to check out
http://www.gtkmm.org/docs/gtkmm-2.4/docs/tutorial/html/apg.html.  By
default, jhbuild will checkout and install everything from cvs, but if
you want to only work with released versions, you can do that too. You'll need to edit your ~/.jhbuildrc file to point to a .modules file
that builds tarball modules instead of cvs modules.  For example, to
build the versions that were released with gnome 2.14.1, you would use
the .modules file here:
http://ftp.gnome.org/pub/gnome/teams/releng/2.14.1/ (there's even a
sample .jhbuildrc configuration file in that directory that you could
use as a starting point).

I realize that I have to set up environmental variable
LD_LOAD_LIBRARY=/home/mlaks/stable_gtk/local/lib
I realize that I have to set up environmental variable
PKG_CONFIG_PATH=/home/mlaks/stable_gtk/local/lib/pkgconfig


If you use jhbuild to build and install the packages from source, you
can then run 'jhbuild shell' to do development.  This will start a
shell that has all these environment variables set up correctly for
you.  You shouldn't need to remove any of your distribution packages.

By the way, does Debian really not ship 2.8.x yet?  Or is there some
other reason you're trying to install from source?

Linux plasma 2.6.12-9-386 #1 Mon Oct 10 13:14:36 BST 2005 i686 GNU/Linux
Ubuntu 5.10 "Badger Breezy" (is what it says on the virtual terminal, not sure what to use to show the version of the distro itself.)

$ apt-cache search libgtkmm-2.8

Gives me no results.

$ apt-cache search libgtkmm

Shows libgtkmm-2.4 as the newest package in the "standard" repositories. By standard, I mean I haven't added any except for the universe and security repos that come commented out.

...and it still says it after an apt-get update.

So yeah, this version hasn't got 2.8 yet.

good luck
Jonner
_______________________________________________
gtkmm-list mailing list
gtkmm-list gnome org
http://mail.gnome.org/mailman/listinfo/gtkmm-list




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