Subject: pkg/12995: graphics/imlib builds and installs with noise
To: None <gnats-bugs@gnats.netbsd.org>
From: None <hf@tangro.de>
List: netbsd-bugs
Date: 05/21/2001 14:40:38
>Number:         12995
>Category:       pkg
>Synopsis:       graphics/imlib builds and installs with noise
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 21 05:40:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Hauke Fath
>Release:        -current pkgsrc of 21 May 2001
>Organization:
Tangro GmbH -- does not speak for me and vice versa.
>Environment:
	
System: NetBSD scree 1.5U NetBSD 1.5U (SCREE) #8: Fri Apr 27 12:35:31 CEST 2001 hf@scree:/usr/src/sys/arch/i386/compile/SCREE i386
Architecture: i386
Machine: i386
>Description:

Building graphics/imlib produces non-trivial warnings and error
messages during the autoconfiguration and install process:


(1)
configure.in:58: warning: AC_TRY_RUN called without default to allow cross compiling


(2)
*** Could not run GTK test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK was incorrectly installed
*** or that you have moved GTK since it was installed. In the latter case, you
*** may want to edit the gtk-config script: /usr/X11R6/bin/gtk-config
configure: warning: *** gdk_imlib will not be built ***

From config.log:

configure:1927: cc -o conftest -O2 -I/usr/X11R6/include/gtk-1.2 -I/usr/pkg/lib/glib/include -I/usr/pkg/in
clude/glib -I/usr/X11R6/include  -I/usr/pkg/include  -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg
/lib -L/usr/pkg/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -Wl,-R/usr/pkg/lib -L/usr/pkg/lib conftest.c -L
/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -Wl,-R/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/X11R6/lib -lgtk -lgdk -L
/usr/pkg/lib -Wl,-R/usr/pkg/lib -lgmodule -lglib -lXi -lXext -lX11 -lm  1>&5
In file included from /usr/X11R6/include/gtk-1.2/gdk/gdk.h:31,
                 from /usr/X11R6/include/gtk-1.2/gtk/gtk.h:31,
                 from configure:1851:
/usr/X11R6/include/gtk-1.2/gdk/gdktypes.h:33: glib.h: No such file or directory
In file included from /usr/X11R6/include/gtk-1.2/gtk/gtkarg.h:31,
                 from /usr/X11R6/include/gtk-1.2/gtk/gtkobject.h:31,
                 from /usr/X11R6/include/gtk-1.2/gtk/gtkaccelgroup.h:35,
                 from /usr/X11R6/include/gtk-1.2/gtk/gtk.h:32,
                 from configure:1851:
/usr/X11R6/include/gtk-1.2/gtk/gtktypeutils.h:31: glib.h: No such file or directory

I see this with other gtk+ based packages, too; installed is gtk+-1.2.10.


(3)
===> [Automatic ELF shared object handling]
ls: /usr/X11R6/bin/imlib_config: No such file or directory
ls: /usr/X11R6/include/gdk_imlib.h: No such file or directory
ls: /usr/X11R6/include/gdk_imlib_private.h: No such file or directory
ls: /usr/X11R6/include/gdk_imlib_types.h: No such file or directory
ls: /usr/X11R6/lib/libgdk_imlib.a: No such file or directory
ls: /usr/X11R6/lib/libgdk_imlib.la: No such file or directory
ls: /usr/X11R6/lib/libgdk_imlib.so: No such file or directory
ls: /usr/X11R6/lib/libgdk_imlib.so.10: No such file or directory
ls: /usr/X11R6/lib/libgdk_imlib.so.10.8: No such file or directory
ls: /usr/X11R6/lib/libimlib-bmp.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-bmp.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-bmp.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-gif.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-gif.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-gif.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-jpeg.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-jpeg.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-jpeg.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-png.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-png.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-png.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-ppm.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-ppm.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-ppm.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-ps.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-ps.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-ps.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-tiff.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-tiff.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-tiff.so: No such file or directory
ls: /usr/X11R6/lib/libimlib-xpm.a: No such file or directory
ls: /usr/X11R6/lib/libimlib-xpm.la: No such file or directory
ls: /usr/X11R6/lib/libimlib-xpm.so: No such file or directory
===> Registering installation for imlib-1.9.8.1
pkg_create: can't stat `/usr/X11R6/bin/imlib_config'
pkg_create: can't stat `/usr/X11R6/include/gdk_imlib.h'
pkg_create: can't stat `/usr/X11R6/include/gdk_imlib_private.h'
pkg_create: can't stat `/usr/X11R6/include/gdk_imlib_types.h'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_imlib.a'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_imlib.la'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_imlib.so'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_imlib.so.10'
pkg_create: can't stat `/usr/X11R6/lib/libgdk_imlib.so.10.8'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-bmp.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-bmp.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-bmp.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-gif.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-gif.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-gif.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-jpeg.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-jpeg.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-jpeg.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-png.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-png.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-png.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ppm.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ppm.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ppm.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ps.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ps.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-ps.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-tiff.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-tiff.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-tiff.so'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-xpm.a'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-xpm.la'
pkg_create: can't stat `/usr/X11R6/lib/libimlib-xpm.so'



>How-To-Repeat:
Build graphics/imlib from current pkgsrc

>Fix:
	None, sorry.
>Release-Note:
>Audit-Trail:
>Unformatted: