Re: gegl build problem (babl include)
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
> Date: Sat, 18 Jul 2009 20:01:57 +0200|
> On 07/18/2009 07:52 PM, Mason Thomas wrote:
> > Hi,
> > I am having some difficulty building the most recent gegl (from a git
> > clone). I cloned the babl repository and successfully built that, but
> > the gegl build stops when it tries to include <babl.h> in
> > gegl/buffers/gegl-tile-source.h.
> > Note I am building these libraries in a local directory. For babl I do:
> > ./autogen.sh --prefix=/home/mason/localinstall
> > make
> > make install
> > and for gegl I use:
> > BABL_LIBS=/home/mason/localinstall/lib BABL_CFLAGS="-O2" ./autogen.sh
> > --prefix=/home/mason/localinstall
> > make
> Hi Mason,
> Instead of setting the BABL_LIBS/CFLAGS manually you should use
> pkg-config. To use pkg-config you set the
> But there is an even better trick, the config.site. Put this content in
> the file /home/mason/localinstall/share/config.site:
> export CFLAGS="-g -O0"
> export PKG_CONFIG_PATH="/home/mason/li/lib/pkgconfig:$PKG_CONFIG_PATH"
> export LD_LIBRARY_PATH="/home/mason/li/lib:$LD_LIBRARY_PATH"
> and then that file will be sourced automatically whenever you invoke
> configure with that prefix. This means that the Makefile.am build
> dependencies that are setup are managed correctly and most of the time
> it is enough to make after a git pull --rebase.
Yes, that worked. Many thanks.
Bing™ brings you maps, menus, and reviews organized in one place. Try it now.
_______________________________________________ Gegl-developer mailing list Gegl-developer@xxxxxxxxxxxxxxxxxxxxxx https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer