Re: [opensuse] error when installing gimp's save for web plugins

2007-11-16 Thread Jos van Kan
Hans Linux schreef:
> I have GIMP 2.4 on my opensuse 10.3. I am trying to install
> save-for-web-plugins from source and i face this error :
> 
> checking for GIMP... configure: error: Package requirements (gimp-2.0 >=
> 2.3.0 gimpui-2.0 >= 2.3.0) were not met:
> 
> No package 'gimp-2.0' found
> No package 'gimpui-2.0' found
> 
> Consider adjusting the PKG_CONFIG_PATH environment variable if you
> installed software in a non-standard prefix.
> 
> Alternatively, you may set the environment variables GIMP_CFLAGS
> and GIMP_LIBS to avoid the need to call pkg-config.
> See the pkg-config man page for more details.
> 
> Next, i tried it with this command :
> 
> ./configure GIMP_LIBS=/usr/bin/gimp GIMP_CFLAGS=/usr/bin/gcc
> 
> no error were produced. But when i continue it with 'make', this is what
> i got :
> 
> make[3]: Entering directory
> `/home/hans/Documents/download/gimp-save-for-web-0.27.0/src'
> if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. /usr/bin/gcc 
> -I/usr/local/include -DLOCALEDIR=\""/usr/local/share/locale"\"
> -DDATADIR=\""/usr/local/share/gimp-save-for-web"\"
> -DGIMP_DISABLE_DEPRECATED  -g -O2 -Wall -MT webx_main.o -MD -MP -MF
> ".deps/webx_main.Tpo" -c -o webx_main.o webx_main.c; \
> then mv -f ".deps/webx_main.Tpo" ".deps/webx_main.Po"; else rm
> -f ".deps/webx_main.Tpo"; exit 1; fi
> webx_main.c:25:26: error: libgimp/gimp.h: No such file or directory
> webx_main.c:26:28: error: libgimp/gimpui.h: No such file or directory
> webx_main.c:27:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
(snip the rest)

You should install the gimp-devel and gimpui-devel packages, since it is missing
all the header files. That was what ./configure was trying to tell you too, be
it a bit cryptically.

Regards,
-- 
Jos van Kanregistered Linux user #152704
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



[opensuse] error when installing gimp's save for web plugins

2007-11-15 Thread Hans Linux
I have GIMP 2.4 on my opensuse 10.3. I am trying to install
save-for-web-plugins from source and i face this error :

checking for GIMP... configure: error: Package requirements (gimp-2.0 >=
2.3.0 gimpui-2.0 >= 2.3.0) were not met:

No package 'gimp-2.0' found
No package 'gimpui-2.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GIMP_CFLAGS
and GIMP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Next, i tried it with this command :

./configure GIMP_LIBS=/usr/bin/gimp GIMP_CFLAGS=/usr/bin/gcc

no error were produced. But when i continue it with 'make', this is what
i got :

make[3]: Entering directory
`/home/hans/Documents/download/gimp-save-for-web-0.27.0/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. /usr/bin/gcc 
-I/usr/local/include -DLOCALEDIR=\""/usr/local/share/locale"\"
-DDATADIR=\""/usr/local/share/gimp-save-for-web"\"
-DGIMP_DISABLE_DEPRECATED  -g -O2 -Wall -MT webx_main.o -MD -MP -MF
".deps/webx_main.Tpo" -c -o webx_main.o webx_main.c; \
then mv -f ".deps/webx_main.Tpo" ".deps/webx_main.Po"; else rm
-f ".deps/webx_main.Tpo"; exit 1; fi
webx_main.c:25:26: error: libgimp/gimp.h: No such file or directory
webx_main.c:26:28: error: libgimp/gimpui.h: No such file or directory
webx_main.c:27:35: error: gdk-pixbuf/gdk-pixbuf.h: No such file or directory
In file included from webx_main.c:29:
webx_main.h:28: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘global_image_ID’
webx_main.h:29: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘global_drawable_ID’
In file included from webx_main.c:30:
webx_dialog.h:24:39: error: libgimpwidgets/gimpdialog.h: No such file or
directory
In file included from webx_main.c:30:
webx_dialog.h:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘typedef’
webx_dialog.h:40: error: expected specifier-qualifier-list before
‘GimpDialog’
webx_dialog.h:75: error: expected specifier-qualifier-list before
‘GimpDialogClass’
webx_dialog.h:78: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘webx_dialog_get_type’
webx_dialog.h:80: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘*’ token
webx_dialog.h:83: error: expected ‘)’ before ‘*’ token
In file included from plugin-intl.h:34,
 from webx_main.c:32:
/usr/include/libintl.h:40: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or
‘__attribute__’ before ‘extern’
webx_main.c:34: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘global_image_ID’
webx_main.c:35: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘global_drawable_ID’
webx_main.c:38: warning: type defaults to ‘int’ in declaration of ‘gchar’
webx_main.c:38: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
webx_main.c:43: error: expected ‘)’ before ‘image_ID’
webx_main.c:46: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘PLUG_IN_INFO’
webx_main.c:57: warning: return type defaults to ‘int’
webx_main.c: In function ‘MAIN’:
webx_main.c:59: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’
before ‘{’ token
webx_main.c:85: warning: type defaults to ‘int’ in declaration of ‘gchar’
webx_main.c:85: error: expected ‘;’, ‘,’ or ‘)’ before ‘*’ token
webx_main.c:122: error: expected ‘)’ before ‘image_ID’
webx_main.c:140: error: expected ‘{’ at end of input
make[3]: *** [webx_main.o] Error 1
make[3]: Leaving directory
`/home/hans/Documents/download/gimp-save-for-web-0.27.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/hans/Documents/download/gimp-save-for-web-0.27.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory
`/home/hans/Documents/download/gimp-save-for-web-0.27.0'
make: *** [all] Error 2

Sorry, a little bit long :D

So, what is wrong here? is the script trying to tell me that
save-for-web-plugins not compatible with GIMP 2.4?
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]