Re: Build envrionment
- From: Paul Davis <pjdavis engineering uiowa edu>
- To: Jonathon Jongsma <jonathon jongsma gmail com>
- Cc: gtkmm list <gtkmm-list gnome org>
- Subject: Re: Build envrionment
- Date: Tue, 16 May 2006 21:48:29 -0500
Jonathon Jongsma wrote:
On 5/16/06, Paul Davis <pjdavis engineering uiowa edu> wrote:
I was looking through different bugs listed in Bugzilla and I think I
found another one I might be able to fix with the parent/child menu
Anyway, this one is a bit more complicated and I want to be able to
compile my changes before I start wasting anyone's time.
So, the question is, what kind of build environment should I be using?
Is there an easy way to get everything out of CVS?
I like having a copy of the gtk+ source around too for reference, but
when compiling gtkmm, should I be compiling it against libraries I built
And how do you guys keep this stuff separate from the packaged libraries
(meaning libraries managed by my distro's package manager)? Or do
If you haven't already, I'd suggest you look at the section I wrote
about this as an appendix to the gtkmm tutorial. You can find it
Basically, jhbuild solves most of these problems for you. If you're
not using jhbuild, I'd highly recommend it. It allows you to more
easily do a parallel install of development libraries and makes it
easier to switch back and forth between your development environment
and your distribution-packaged stable environment.
Also, If you run into places in that brief tutorial that are confusing
to you, please let me know so that I can improve it. Note that the
links in the online version are messed up, though. I've fixed them in
CVS, but they've not been updated online yet. I think most of the
'jhbuild' links are supposed to point to
http://www.gnome.org/~jamesh/jhbuild.html. You can get jhbuild from
GNOME cvs or from its bzr repository (see
http://blogs.gnome.org/view/jamesh/2006/05/01/0 for a little more info
on the bzr repository)
Now that its finally building, I found a few things.
$ jhbuild sanitycheck
Could not find DocBook XSL Stylesheets in XML catalog
I figured this is harmless so I didn't pay it much attention.
More importantly though:
moduleset = 'gnome-2.14.modules'
You have this line in your docs about selecting which moduleset. I was
getting an error that it couldn't find
So I trimmed the .modules like this:
moduleset = 'gnome-2.16'
Notice I went up a version to get the latest greatest version.
So far, I'm on 5/21 thingies being built. ahhhh, building software.
Otherwise, jhbuilder looks pretty slick. I tried the bzr thing briefly,
but it didn't work out so well. Then I realized the modules.moduels bit
and all was good.
] [Thread Prev