Re: installing a gtkmm development environment



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?

good luck
Jonner



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