Hi all,
I just installed VectorLinux 4.0, and I'm trying to compile xscreensaver for it. I've got version 4.14 of xscreensaver. At first the configure script complained about not having libglade, so I installed that without any trouble. But the configure still isn't finding that. Then when I go to compile, it bonks out on a gtk function:
Code:
gcc -pedantic -Wall -Wstrict-prototypes -Wnested-externs -std=c89
-U__STRICT_ANSI__ -c -I. -I. -I./../utils -I.. -I/usr/include/libxml2
-I/usr/X11R6/include/gtk-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include
-I/usr/X11R6/include -DHAVE_CONFIG_H -g -O2 -I/usr/X11R6/include xscreensaver-getimage.c
xscreensaver-getimage.c:58:42: gdk-pixbuf/gdk-pixbuf-xlib.h: No such file or directory
xscreensaver-getimage.c: In function `read_file_gdk':
xscreensaver-getimage.c:347: `GdkPixbuf' undeclared (first use in this function)
xscreensaver-getimage.c:347: (Each undeclared identifier is reported only once
xscreensaver-getimage.c:347: for each function it appears in.)
xscreensaver-getimage.c:347: `pb' undeclared (first use in this function)
xscreensaver-getimage.c:348: warning: ISO C89 forbids mixed declarations and code
xscreensaver-getimage.c:363: warning: implicit declaration of function `gdk_pixbuf_xlib_init'
xscreensaver-getimage.c:367: warning: implicit declaration of function `xlib_rgb_init'
xscreensaver-getimage.c:370: warning: implicit declaration of function `gdk_pixbuf_new_from_file'
xscreensaver-getimage.c:387: warning: implicit declaration of function `gdk_pixbuf_get_width'
xscreensaver-getimage.c:388: warning: implicit declaration of function `gdk_pixbuf_get_height'
xscreensaver-getimage.c:396: `pb2' undeclared (first use in this function)
xscreensaver-getimage.c:396: warning: implicit declaration of function `gdk_pixbuf_scale_simple'
xscreensaver-getimage.c:397: `GDK_INTERP_BILINEAR' undeclared (first use in this function)
xscreensaver-getimage.c:400: warning: implicit declaration of function `gdk_pixbuf_unref'
xscreensaver-getimage.c:434: warning: implicit declaration of function `gdk_pixbuf_xlib_render_to_drawable_alpha'
xscreensaver-getimage.c:437: `GDK_PIXBUF_ALPHA_FULL' undeclared (first use in this function)
xscreensaver-getimage.c:438: `XLIB_RGB_DITHER_NORMAL' undeclared (first use in this function)
make[1]: *** [xscreensaver-getimage.o] Error 1
make[1]: Leaving directory `/home/rrobinso/downloads/xscreensaver-4.14/driver'
make: *** [default] Error 5
Both libglade2.0.1 and gtk2.2 are installed. Any thoughts as to how I can fix this, or where to start looking?
Thanks.