Re: [Gegl-developer] Error in compiling GEGL in windows using MSYS/MinGW

2011-05-25 Thread Sayak

Thanks for your tips. But since i dont have much experience in MSYS/MinGW, i am
giving you the commands that i have used. from your weblink i can see that i
need to add ACLOCAL_FLAGS and XDG_DATA_DIRS?? if babl/babl.h is not found, then
why no error in ./configure?

export GIMP_BETA_DIR=/C/gimp-win-beta
export DOWNLOADS_DIR=$GIMP_BETA_DIR/downloads
export BUILD_DIR=$GIMP_BETA_DIR/build
export MSYS_DIR=$BUILD_DIR/msys/1.0
export INSTALL_PREFIX=/opt
export PATH=$INSTALL_PREFIX/bin:$PATH
export PKG_CONFIG_PATH=$INSTALL_PREFIX/lib/pkgconfig:$PKG_CONFIG_PATH
export LD_LIBRARY_PATH=$INSTALL_PREFIX/bin:$LD_LIBRARY_PATH
export CFLAGS=-I$INSTALL_PREFIX/include $CFLAGS
export CPPFLAGS=-I$INSTALL_PREFIX/include $CPPFLAGS
export LIBS=-L$INSTALL_PREFIX/lib $LIBS
mkdir $DOWNLOADS_DIR/src
cd $DOWNLOADS_DIR/src
wget ftp://ftp.gimp.org/pub/babl/0.1/babl-0.1.2.tar.bz2

mkdir ~/stable-sources
tar -xf $DOWNLOADS_DIR/src/babl-0.1.2.tar.bz2 -C ~/stable-sources
cd ~/stable-sources/babl-0.1.2
./configure --prefix=$INSTALL_PREFIX -C
make -j4
make install -j4

cd $DOWNLOADS_DIR/src
wget ftp://ftp.gimp.org/pub/gegl/0.1/gegl-0.1.2.tar.bz2
tar -xf $DOWNLOADS_DIR/src/gegl-0.1.2.tar.bz2 -C ~/stable-sources
cd ~/stable-sources/gegl-0.1.2
./configure --prefix=$INSTALL_PREFIX -C
make -j4
make install –j4


___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer


Re: [Gegl-developer] Error in compiling GEGL in windows using MSYS/MinGW

2011-05-25 Thread Sayak
These are the steps that i have followed inspired from this
link..http://lightningismyname.blogspot.com/p/compiling-gimp.html... and some
other links...

steps for compiling GEGL

1. Create the following directories

C:\gimp-win-beta
C:\gimp-win-beta\build
C:\gimp-win-beta\downloads
C:\gimp-win-beta\perl

2. Install MinGW @ C:\gimp-win-beta\build

3. Install MinGW packages @ C:\gimp-win-beta\build

4. give PATH variable C:\gimp-win-beta\build\bin

5. Install MSYS, MSYS Development Kit, MSYS core

6. give HOME variable C:\gimp-win-beta\build\msys\1.0\home

7. Unzip Gtk+ bundle @ C:\gimp-win-beta\build\msys\1.0 (for updated pkg-config)

8. configure  make  make install babl
copy babl.pc and babl.pc.in @ \lib\pkg-config after ./configure

9. configure  make  make install gegl
copy gegl.pc and gegl.pc.in @ \lib\pkg-config after ./configure




___
Gegl-developer mailing list
Gegl-developer@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer