On Thursday 04 August 2005 07:00 am, Raphaël Quinet wrote: > On Thu, 04 Aug 2005 06:15:38 -1000, wayne <[EMAIL PROTECTED]> wrote: > > I tried to compile the refocus plugin but failed. Can anyone translate > > this and tell me what I'm missing? I'm running GIMP 2.2.4. Here's the > > output from ./configure: > > [...] > > > checking for gimptool... (cached) no > > checking for GIMP - version >= 1.2.0... no > > *** The gimptool script installed by GIMP could not be found > > *** If GIMP was installed in PREFIX, make sure PREFIX/bin is in > > *** your path, or set the GIMPTOOL environment variable to the > > *** full path to gimptool. > > checking for pkg-config... (cached) /usr/bin/pkg-config > > checking for GTK+ - version >= 2.0.0... no > > *** Could not run GTK+ test program, checking why... > > [...] > > > configure:1836:21: gtk/gtk.h: No such file or directory > > [...] > > It is very likely that you have not installed the development > packages on your system (probably called gtk-devel, gimp-devel > or something similar). These packages contain the header files > such as gtk.h that are necessary for compiling programs. > > If you have these files because you have compiled and installed > these libraries from sources, then you may have to tell > pkg-config where to find them (using PKG_CONFIG_PATH). > > -Raphaël
Still haven't been able to compile refocus. I tried installing libgtkmm.2.4_1-devel-2.6.1-1mdk and libgtk+1.2-devel-1.2.10-41mdk but so far no change. $ ./configure creating cache ./config.cache checking for a BSD compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking whether make sets ${MAKE}... yes checking for working aclocal... missing checking for working autoconf... missing checking for working automake... missing checking for working autoheader... missing checking for working makeinfo... found checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gcc3... no checking how to run the C preprocessor... gcc -E checking for ANSI C header files... yes checking for ranlib... ranlib checking for clapack_dgesv in -llapack... no using unoptimized lapack in lib checking for gimptool... no checking for GIMP - version >= 1.2.0... no *** The gimptool script installed by GIMP could not be found *** If GIMP was installed in PREFIX, make sure PREFIX/bin is in *** your path, or set the GIMPTOOL environment variable to the *** full path to gimptool. checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.6.4) checking for pkg-config... (cached) /usr/bin/pkg-config checking for GLIB - version >= 2.0.0... yes (version 2.6.3) checking for gtkdoc-mkdb... false checking for erf in -lm... yes updating cache ./config.cache creating ./config.status creating Makefile creating src/Makefile creating lib/Makefile creating doc/Makefile creating gtk-doc/Makefile Here's my make install-bin $ make install-bin cd src; make install-bin make[1]: Entering directory `/home/wayne/rpm/refocus-0.9.0/src' gcc -DPACKAGE=\"refocus\" -DVERSION=\"0.9.0\" -DSTDC_HEADERS=1 -DHAVE_ERF=1 -I. -I. -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/freetype2 -I/usr/include/freetype2/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I ../lib -Wall -ansi -pedantic -ggdb -fomit-frame-pointer -O3 -funroll-all-loops -c refocus.c refocus.c:27:26: libgimp/gimp.h: No such file or directory In file included from refocus.c:32: gimppreview.h:29:28: libgimp/gimpui.h: No such file or directory In file included from refocus.c:32: gimppreview.h:58: error: syntax error before "GimpDrawable" gimppreview.h:58: warning: no semicolon at end of struct or union gimppreview.h:75: error: syntax error before '}' token gimppreview.h:75: warning: ISO C does not allow extra `;' outside of a function gimppreview.h:111: error: syntax error before '*' token gimppreview.h:112: error: syntax error before '*' token gimppreview.h:119: error: syntax error before "GimpImageType" gimppreview.h:124: error: syntax error before "GimpImageType" In file included from refocus.c:34: prevman.h:45: error: syntax error before "GimpDrawable" prevman.h:45: warning: no semicolon at end of struct or union prevman.h:45: warning: no semicolon at end of struct or union prevman.h:45: warning: no semicolon at end of struct or union prevman.h:46: warning: type defaults to `int' in declaration of `pixel_rgn' prevman.h:46: error: ISO C forbids data definition with no type or storage class prevman.h:48: warning: type defaults to `int' in declaration of `drw' prevman.h:48: error: ISO C forbids data definition with no type or storage class prevman.h:54: error: syntax error before '}' token prevman.h:55: warning: type defaults to `int' in declaration of `un' prevman.h:55: error: ISO C forbids data definition with no type or storage class prevman.h:56: error: syntax error before '}' token prevman.h:57: warning: type defaults to `int' in declaration of `TileSource' prevman.h:57: error: ISO C forbids data definition with no type or storage class prevman.h:72: error: syntax error before "GimpDrawable" prevman.h:72: warning: no semicolon at end of struct or union prevman.h:72: warning: no semicolon at end of struct or union prevman.h:72: warning: no semicolon at end of struct or union prevman.h:73: warning: type defaults to `int' in declaration of `pixel_rgn' prevman.h:73: error: ISO C forbids data definition with no type or storage class prevman.h:75: warning: type defaults to `int' in declaration of `drw' prevman.h:75: error: ISO C forbids data definition with no type or storage class prevman.h:81: error: syntax error before "GimpTile" prevman.h:81: warning: no semicolon at end of struct or union prevman.h:83: warning: type defaults to `int' in declaration of `prv' prevman.h:83: error: conflicting types for 'prv' prevman.h:53: error: previous declaration of 'prv' was here prevman.h:83: error: ISO C forbids data definition with no type or storage class prevman.h:84: error: syntax error before '}' token prevman.h:85: warning: type defaults to `int' in declaration of `un' prevman.h:85: error: ISO C forbids data definition with no type or storage class prevman.h:86: error: syntax error before '}' token prevman.h:87: warning: type defaults to `int' in declaration of `TileSink' prevman.h:87: error: ISO C forbids data definition with no type or storage class prevman.h:90: error: syntax error before '*' token prevman.h:93: error: syntax error before '*' token prevman.h:93: error: syntax error before '*' token prevman.h:94: warning: type defaults to `int' in declaration of `tile_source_get_tile' prevman.h:94: error: ISO C forbids data definition with no type or storage class prevman.h:97: error: syntax error before '*' token prevman.h:100: error: syntax error before '*' token prevman.h:103: error: syntax error before '*' token prevman.h:106: error: syntax error before '*' token prevman.h:108: error: syntax error before '*' token prevman.h:108: error: syntax error before '*' token prevman.h:109: warning: type defaults to `int' in declaration of `tile_sink_get_tile' prevman.h:109: error: ISO C forbids data definition with no type or storage class prevman.h:111: error: syntax error before '*' token prevman.h:114: error: syntax error before '*' token In file included from conv.h:27, from refocus.c:36: tilebuf.h:71: error: syntax error before "TileSource" tilebuf.h:75: error: syntax error before "TileSource" In file included from refocus.c:36: conv.h:34: error: syntax error before '*' token refocus.c:44: error: syntax error before '*' token refocus.c:44: warning: type defaults to `int' in declaration of `drawable' refocus.c:44: error: ISO C forbids data definition with no type or storage class refocus.c:50: error: syntax error before "GimpParam" refocus.c:56: error: syntax error before "PLUG_IN_INFO" refocus.c:56: warning: type defaults to `int' in declaration of `PLUG_IN_INFO' refocus.c:57: warning: initialization makes integer from pointer without a cast refocus.c:58: warning: excess elements in scalar initializer refocus.c:58: warning: (near initialization for `PLUG_IN_INFO') refocus.c:59: warning: excess elements in scalar initializer refocus.c:59: warning: (near initialization for `PLUG_IN_INFO') refocus.c:60: warning: excess elements in scalar initializer refocus.c:60: warning: (near initialization for `PLUG_IN_INFO') refocus.c:61: error: ISO C forbids data definition with no type or storage class refocus.c:101: warning: return type defaults to `int' refocus.c: In function `MAIN': refocus.c:102: error: storage class specified for parameter `query' refocus.c:102: error: syntax error before '{' token refocus.c:113: warning: type defaults to `int' in declaration of `GimpParamDef' refocus.c:113: error: storage class specified for parameter `GimpParamDef' refocus.c:113: error: syntax error before '*' token refocus.c:114: error: storage class specified for parameter `nargs' refocus.c:114: error: parameter `nargs' is initialized refocus.c:114: error: `args' undeclared (first use in this function) refocus.c:114: error: (Each undeclared identifier is reported only once refocus.c:114: error: for each function it appears in.) refocus.c:114: confused by earlier errors, bailing out make[1]: *** [refocus.o] Error 1 make[1]: Leaving directory `/home/wayne/rpm/refocus-0.9.0/src' make: *** [install-bin] Error 2 Thanks, Wayne Mandriva2005LE GIMP 2.2.4 _______________________________________________ Gimp-user mailing list Gimp-user@lists.xcf.berkeley.edu http://lists.xcf.berkeley.edu/mailman/listinfo/gimp-user