Re: Installing gtk/gtkmm on Linux



On 7/18/06, Denis Leroy <denis poolshark org> wrote:
Jonathon Jongsma wrote:
> On 7/18/06, Joe Van Dyk <joevandyk gmail com> wrote:
>
>>Oh, it's not that bad.
>>
>>Mick, you'll need to modify the LD_LIBRARY_PATH and PKG_CONFIG_PATH
>>environment variables.  The configure script relies on those
>>environment variables to figure out what's installed and where things
>>are.
>>
>>Say you install glib 2.10 to /opt/local.  The glib libraries will be
>>in /opt/local/lib.  The pkg-config files for glib will be in
>>/opt/local/lib/pkgconfig.  So, you'd set LD_LIBRARY_PATH to be
>>/opt/local/lib and PKG_CONFIG_PATH to be /opt/local/lib/pkgconfig.
>>
>>(Example using bash shell)
>>export LD_LIBRARY_PATH=/opt/local/lib
>>export PKG_CONFIG_PATH=/opt/local/lib/pkgconfig
>>
>>Then when you run the configure script for atk, it should find the
>>glib that's in /opt/local and not know about the other one that's
>>installed.
>
>
> This is the reason I suggested jhbuild.  It handles installing almost
> all of the dependencies and it will set up the LD_LIBRARY_PATH and
> PKG_CONFIG_PATH environment variables for you as well (when you're
> within the `jhbuild shell` environment).

Yes but what about run-time dependencies on things like the gconf daemon ?

No clue, I've never done anything related to gconf.  I imagine that
you'd want to use the gconf daemon that's installed by default on the
machine unless there's a really good reason why you can't.

Joe



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