Re: Environment suggestion

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

 



Hi,

On Thu, 2008-11-13 at 18:57 +0100, Martin Nordholts wrote:

> * Use a distro which has packages for reasonably new versions of the
> libraries GIMP depend on. Ubuntu 8.10 should work just fine.
> * Don't install any dependencies you need to build yourself (typically
> babl and GEGL) into /usr/local, that will only create problems. Instead
> put those in /opt and refer to the libraries in /opt explicitly when
> configuring GIMP/the dependencies.

It doesn't hurt to put babl and GEGL into /usr/local. Just run configure
without any extra arguments and things will just work.

> * Build unoptimized, debbugable versions of GLib and GTK+ so that you
> can debug seamlessly through the GIMP/GTK+/GEGL/GLib/babl stack.

There's no need to do that. You can simply install the debug symbols for
these libraries. The most important packages are libgtk2.0-0-dbg and
libglibglib2.0-0-dbg.

> For
> example, this is the autogen command I use to configure a fresh checkout
> of GIMP trunk:
> 
> export CFLAGS='-g -O0'; ACLOCAL_FLAGS="-I /opt/glib-trunk/share/aclocal
> -I /opt/gtk-trunk/share/aclocal"
> PKG_CONFIG_PATH=/opt/babl-trunk/lib/pkgconfig:/opt/libexif-0.6.17/lib/pkgconfig:/opt/glib-trunk/lib/pkgconfig:/opt/gtk-trunk/lib/pkgconfig:/opt/gegl-trunk/lib/pkgconfig
> LD_LIBRARY_PATH=/opt/babl-trunk/lib:/opt/libexif-0.6.17/lib:/opt/glib-trunk/lib:/opt/gtk-trunk/lib:/opt/gegl-trunk/lib
> ./autogen.sh --prefix=/opt/gimp-trunk

If you follow my advice to install babl and GEGL into /usr/local, you
can just run autogen.sh without any extra arguments.


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux