Re: [Gegl-developer] Error in compiling GEGL in windows using MSYS/MinGW
Martin Nordholts enselic@... writes: Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself. / Martin Hi Martin, I have downloaded all the packages from this link.. http://www.mingw.org/wiki/InstallationHOWTOforMinGW this should be updated versions... ___ 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
In my scrip, i set INSTALL_PREFIX=/opt But in the config.log, the path become: C:/gimp-win-beta/build/msys/1.0/lib If variable INSTALL_PREFIX is set correct, the lib path must have this pattern: BABL_CFLAGS='-I$INSTALL_PREFIX/include/babl-0.1 ' ___ 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
after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following please tell me why i cannot compile GEGL. what is my mistake? $ ./configure --prefix=$INSTALL_PREFIX -C configure: loading cache config.cache checking for a BSD-compatible install... (cached) /bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... (cached) /bin/mkdir -p checking for gawk... (cached) gawk checking whether make sets $(MAKE)... (cached) yes checking for gcc... (cached) gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.exe checking for suffix of executables... .exe checking whether we are cross compiling... no checking for suffix of object files... (cached) o checking whether we are using the GNU C compiler... (cached) yes checking whether gcc accepts -g... (cached) yes checking for gcc option to accept ISO C89... (cached) none needed checking for style of include used by make... GNU checking dependency style of gcc... (cached) gcc3 checking for g++... (cached) g++ checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking build system type... (cached) i686-pc-mingw32 checking host system type... (cached) i686-pc-mingw32 checking for as... (cached) as checking for dlltool... (cached) dlltool checking for objdump... (cached) objdump checking for a sed that does not truncate output... (cached) /bin/sed checking for grep that handles long lines and -e... (cached) /bin/grep checking for egrep... (cached) /bin/grep -E checking for fgrep... (cached) /bin/grep -F checking for ld used by gcc... (cached) c:/gimp-win-beta/build/mingw32/bin/ld.exe checking if the linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) is GNU ld... (cached) yes checking for BSD- or MS-compatible name lister (nm)... (cached) /mingw/bin/nm checking the name lister (/mingw/bin/nm) interface... (cached) BSD nm checking whether ln -s works... yes checking the maximum length of command line arguments... (cached) 8192 checking whether the shell understands some XSI constructs... yes checking whether the shell understands +=... yes checking for c:/gimp-win-beta/build/mingw32/bin/ld.exe option to reload object files... (cached) -r checking for objdump... (cached) objdump checking how to recognize dependent libraries... (cached) file_magic ^x86 archive import|^x86 DLL checking for ar... (cached) ar checking for strip... (cached) strip checking for ranlib... (cached) ranlib checking command to parse /mingw/bin/nm output from gcc object... (cached) ok checking how to run the C preprocessor... (cached) gcc -E checking for ANSI C header files... (cached) yes checking for sys/types.h... (cached) yes checking for sys/stat.h... (cached) yes checking for stdlib.h... (cached) yes checking for string.h... (cached) yes checking for memory.h... (cached) yes checking for strings.h... (cached) yes checking for inttypes.h... (cached) yes checking for stdint.h... (cached) yes checking for unistd.h... (cached) yes checking for dlfcn.h... (cached) no checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking dependency style of g++... (cached) gcc3 checking how to run the C++ preprocessor... (cached) g++ -E checking for objdir... (cached) .libs checking if gcc supports -fno-rtti -fno-exceptions... (cached) no checking for gcc option to produce PIC... -DDLL_EXPORT -DPIC checking if gcc PIC flag -DDLL_EXPORT -DPIC works... (cached) yes checking if gcc static flag -static works... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking if gcc supports -c -o file.o... (cached) yes checking whether the gcc linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes checking whether -lc should be explicitly linked in... yes checking dynamic linker characteristics... Win32 ld.exe checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... no checking for ld used by g++... (cached) c:/gimp-win-beta/build/mingw32/bin/ld.exe checking if the linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) is GNU ld... (cached) yes checking whether the g++ linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes checking for g++ option to produce PIC... -DDLL_EXPORT -DPIC checking if g++ PIC flag -DDLL_EXPORT -DPIC works... (cached) yes checking if g++ static flag -static works... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking if g++ supports -c -o file.o... (cached) yes checking whether the g++ linker (c:/gimp-win-beta/build/mingw32/bin/ld.exe) supports shared libraries... yes checking
Re: [Gegl-developer] Error in compiling GEGL in windows using MSYS/MinGW
Martin Nordholts enselic@... writes: 2011/5/27 Sayak sayakdas@...: after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following please tell me why i cannot compile GEGL. what is my mistake? It says: checking for BABL... yes Look in config.log for BABL_CFLAGS and BABL_LIBS. What are they set to? / Martin Hello Martin, i have checked the config.log file. 'BABL_CFLAGS='-IC:/gimp-win-beta/build/msys/1.0/include/babl-0.1 'BABL_LIBS='-LC:/gimp-win-beta/build/msys/1.0/lib -lbabl-0.1 ___ 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/5/27 Sayak sayak...@yahoo.com: Hello Martin, i have checked the config.log file. 'BABL_CFLAGS='-IC:/gimp-win-beta/build/msys/1.0/include/babl-0.1 'BABL_LIBS='-LC:/gimp-win-beta/build/msys/1.0/lib -lbabl-0.1 That looks correct (assuming mingw gcc can interpret those paths). Are the values of these variables passed to the compiler when you make? Run make with V=1 to find out. / Martin -- My GIMP Blog: http://www.chromecode.com/ GIMP 2.8 schedule on tasktaste.com ___ 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
Martin Nordholts enselic@... writes: 2011/5/27 Sayak sayakdas@...: after giving this command for GEGL... ./configure --prefix=$INSTALL_PREFIX -C i got the following please tell me why i cannot compile GEGL. what is my mistake? It says: checking for BABL... yes Look in config.log for BABL_CFLAGS and BABL_LIBS. What are they set to? / Martin $ make V=1 make all-recursive make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I.. /../gegl/property-types -I../../gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfield s -IC:/gimp-win-beta/build/msys/1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp- win-beta/build/msys/1.0/include/babl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmis sing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -M P -MF .deps/gegl-tile-backend-tiledir.Tpo -c -o gegl-tile-backend-tiledir.lo gegl-tile-backend-tiledir.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I../../gegl/property-types -I../.. /gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfields -IC:/gimp-win-beta/build/msys /1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp-win-beta/build/msys/1.0/include/b abl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpoi nter-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -MP -MF .deps/gegl-tile-backend-tiled ir.Tpo -c gegl-tile-backend-tiledir.c -DDLL_EXPORT -DPIC -o .libs/gegl-tile-backend-tiledir.o In file included from gegl-tile-backend.h:22:0, from gegl-tile-backend-tiledir.c:26: gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated. make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1 make[3]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stable-sources/gegl-0.1.2' make: *** [all] Error 2 ___ 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/5/27 Sayak sayak...@yahoo.com: $ make V=1 make all-recursive make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' /bin/sh ../../libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I.. /../gegl/property-types -I../../gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfield s -IC:/gimp-win-beta/build/msys/1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp- win-beta/build/msys/1.0/include/babl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmis sing-declarations -Winit-self -Wpointer-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -M P -MF .deps/gegl-tile-backend-tiledir.Tpo -c -o gegl-tile-backend-tiledir.lo gegl-tile-backend-tiledir.c libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../.. -I../.. -I../../gegl -I../../gegl -I../../gegl/property-types -I../.. /gegl/property-types -I../../gegl/buffer -I../../gegl/buffer -I/opt/include -mms-bitfields -IC:/gimp-win-beta/build/msys /1.0/include/glib-2.0 -IC:/gimp-win-beta/build/msys/1.0/lib/glib-2.0/include -IC:/gimp-win-beta/build/msys/1.0/include/b abl-0.1 -I/opt/include -Wall -Wdeclaration-after-statement -Wmissing-prototypes -Wmissing-declarations -Winit-self -Wpoi nter-arith -Wold-style-definition -mmmx -msse -MT gegl-tile-backend-tiledir.lo -MD -MP -MF .deps/gegl-tile-backend-tiled ir.Tpo -c gegl-tile-backend-tiledir.c -DDLL_EXPORT -DPIC -o .libs/gegl-tile-backend-tiledir.o In file included from gegl-tile-backend.h:22:0, from gegl-tile-backend-tiledir.c:26: gegl-tile-source.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated. make[3]: *** [gegl-tile-backend-tiledir.lo] Error 1 make[3]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/stable-sources/gegl-0.1.2/gegl' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/stable-sources/gegl-0.1.2' make: *** [all] Error 2 Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself. / Martin -- My GIMP Blog: http://www.chromecode.com/ GIMP 2.8 schedule on tasktaste.com ___ 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
Martin Nordholts enselic@... writes: Weird, it looks like libtool is invoked with babl on the include path, but then when libtool actually does the compilation, the babl include path is missing. Perhaps libtool thinks the include path is invalid and don't pass it on to gcc? Are you using the latest version of a mingw supported libtool? If you are, someone more experienced in Win32 compilation needs to take over. You could try copy the command libtool runs and add the babl compiler flags yourself. / Martin i will check the versions of all. please tell me which command i have to give to run libtool and add the babl compiler flags myself? after i do that i will report back. ___ 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
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
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
Re: [Gegl-developer] Error in compiling GEGL in windows using MSYS/MinGW
2011/5/25 Sayak sayak...@yahoo.com: Hi all, I was trying to compile GEGL in windows using MSYS/MinGW. i have compiled Babl perfectly, but when i tried to compile GEGL, i had the following errors.. $ make -j4 make all-recursive make[1]: Entering directory `/home/stable-sources/gegl-0.1.2' Making all in gegl make[2]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl' Making all in buffer make[3]: Entering directory `/home/stable-sources/gegl-0.1.2/gegl/buffer' CC gegl-tile-backend-tiledir.lo CC gegl-buffer.lo CC gegl-buffer-access.lo CC gegl-buffer-share.lo In file included from gegl-buffer-share.c:25:0: ../../gegl/gegl.h:23:23: fatal error: babl/babl.h: No such file or directory compilation terminated. babl/babl.h is not on the compiler include path, probably because you haven't setup PKG_CONFIG_PATH properly before running configure. The weird thing is that you are able to make at all; configure should have failed if it didn't find babl. You should also setup some other environment variables to allow the babl files to be found, refer to http://www.chromecode.com/2009/12/best-way-to-keep-up-with-gimp-from-git_26.html for some inspiration. / Martin -- My GIMP Blog: http://www.chromecode.com/ GIMP 2.8 schedule on tasktaste.com ___ Gegl-developer mailing list Gegl-developer@lists.XCF.Berkeley.EDU https://lists.XCF.Berkeley.EDU/mailman/listinfo/gegl-developer