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