pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53276 (graphics/gimp build error with base X11 (on a fresh installation only))



On Fri, May 11, 2018 at 02:55:01PM +0000, Thomas Klausner wrote:

As a sample I am picking up gtk error and trying to provide as much
information. Please let me know if more information would help.

>  >   - Error: missing dependency gtk+-2.0 >= 2.24.10
>  >       *** Test for GTK+ failed.

gcc -o conftest -O2 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include
-I/usr/X11R7/include/freetype2 -I/usr/X11R7/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/incl
ude/glib/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include
-I/usr/X11R7/include/libdrm -Wall -Wdeclaration-after-statement
-Wmissing-prototypes -Werror=missing-prototypes  -Wmissing-declarations -
Winit-self -Wpointer-arith  -Wmissing-format-attribute -Wformat-security
-Wlogical-op -Wtype-limits -fno-common -fdiagnostics-show-option
-Wreturn-type    -I/usr/pkg/include -I/usr/include -I
/usr/X11R7/include/freetype2 -I/usr/X11R7/include
-I/usr/pkg/include/glib/glib-2.0 -I/usr/pkg/include/glib/gio-unix-2.0
-I/usr/pkg/lib/glib-2.0/include -I/usr/X11R7/include/libdrm -Wl,-E -L/u
sr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib -L/usr/X11R7/lib
-Wl,-R/usr/X11R7/lib conftest.c  -lexecinfo  >&5

conftest.c:49:21: fatal error: gtk/gtk.h: No such file or directory



# pkg_info | grep gtk.\+
gtk2+-2.24.32nb4    GIMP Toolkit v2 - libraries for building X11 user
interfaces
gtk3+-3.22.30       GIMP Toolkit v3 - libraries for building X11 user
interfaces

# find ../ -name gtk.h  
../.buildlink/include/gtk-2.0/gtk/gtk.h


# ls -ld ../.x11-buildlink/include/gtk-*
drwxr-xr-x  4 root  wheel  512 May 12 19:11
../.x11-buildlink/include/gtk-2.0
drwxr-xr-x  3 root  wheel  512 May 12 19:11
../.x11-buildlink/include/gtk-unix-print-2.0

X11_TYPE is not set in /etc/mk.conf (was never set).

Mayuresh


Home | Main Index | Thread Index | Old Index