Subject: pkg/26105: x11/py-wxWindows does not find gtk/gtk.h
To: None <gnats-bugs@gnats.NetBSD.org>
From: Rhialto <rhialto@azenomei.knuffel.net>
List: pkgsrc-bugs
Date: 06/29/2004 01:39:28
>Number:         26105
>Category:       pkg
>Synopsis:       x11/py-wxWindows does not find gtk/gtk.h when building
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 28 23:40:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Rhialto
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD loelappie.falu.nl 2.0_BETA NetBSD 2.0_BETA (LOELAPPIE) #0: Mon Jun 28 15:22:04 CEST 2004 root@loelappie.falu.nl:/usr/src/sys/arch/i386/compile/LOELAPPIE i386
Architecture: i386
Machine: i386
>Description:
	While building x11/py-wxWindows, this happens:

gcc -fno-strict-aliasing -DNDEBUG -O2 -I/usr/include -O2 -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/packages/MesaLib-6.0.1/include -I/usr/pkg/packages/atk-1.6.1/include -I/usr/pkg/packages/pango-1.4.0/include -I/usr/pkg/packages/glib2-2.4.2/include -I/usr/include -I/usr/pkg/packages/Xft2-2.1.2nb2/include -I/usr/pkg/packages/fontconfig-2.2.95/include -I/usr/pkg/packages/expat-1.95.7/include -I/usr/pkg/packages/freetype2-2.1.8/include/freetype2 -I/usr/pkg/packages/png-1.2.5nb5/include -I/usr/pkg/packages/tiff-3.6.1nb2/include -I/usr/pkg/packages/jpeg-6bnb1/include -I/usr/pkg/packages/xcursor-1.1.1nb1/include -I/usr/pkg/packages/Xrandr-1.0.2/include -I/usr/pkg/packages/randrext-1.0/include -I/usr/pkg/packages/Xrender-0.8.3nb1/include -I/usr/pkg/packages/render-0.8/include -I/usr/pkg/include/python2p3 -I/usr/pkg/packages/Xfixes-2.0.0/include -I/usr/pkg/packages/fixesext-2.0/include -I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/pkg/packages/MesaLib-6.0.1/include -I/usr/pkg!
/packages/atk-1.6.1/include -I/usr/pkg/packages/pango-1.4.0/include -I/usr/pkg/packages/glib2-2.4.2/include -I/usr/include -I/usr/pkg/packages/Xft2-2.1.2nb2/include -I/usr/pkg/packages/fontconfig-2.2.95/include -I/usr/pkg/packages/expat-1.95.7/include -I/usr/pkg/packages/freetype2-2.1.8/include/freetype2 -I/usr/pkg/packages/png-1.2.5nb5/include -I/usr/pkg/packages/tiff-3.6.1nb2/include -I/usr/pkg/packages/jpeg-6bnb1/include -I/usr/pkg/packages/xcursor-1.1.1nb1/include -I/usr/pkg/packages/Xrandr-1.0.2/include -I/usr/pkg/packages/randrext-1.0/include -I/usr/pkg/packages/Xrender-0.8.3nb1/include -I/usr/pkg/packages/render-0.8/include -I/usr/pkg/include/python2p3 -I/usr/pkg/packages/Xfixes-2.0.0/include -I/usr/pkg/packages/fixesext-2.0/include -fPIC -DSWIG_GLOBAL -DHAVE_CONFIG_H -DWXP_USE_THREAD=1 -UNDEBUG -Isrc -I/usr/pkg/include/python2p3 -c src/helpers.cpp -o build-gtk2/temp.netbsd-2.0_BETA-i386-2p3/src/helpers.o -I/usr/pkg/lib/wx/include/gtk2-2.4 -I/usr/pkg/include -DGTK_NO_!
CHECK_CASTS -D__WXGTK__ -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES
src/helpers.cpp:26:21: gtk/gtk.h: No such file or directory
src/helpers.cpp:27:28: gdk/gdkprivate.h: No such file or directory
In file included from src/helpers.cpp:28:
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:18:21: gdk/gdk.h: No such file or directory
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:19:22: gdk/gdkx.h: No such file or directory
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:20:30: gtk/gtkcontainer.h: No such file or directory
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:21:31: gtk/gtkadjustment.h: No such file or directory
In file included from src/helpers.cpp:28:
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:54: error: '
   GtkContainer' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:55: error: syntax
   error before `*' token
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:66: error: '
   GdkVisibilityState' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:71: error: '
   gboolean' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:72: error: '
   gboolean' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:73: error: '
   gboolean' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:78: error: '
   GtkContainerClass' is used as a type, but is not defined as a type.
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:92: error: type
   specifier omitted for parameter `gboolean'
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:92: error: parse
   error before `)' token
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:95: error: type
   specifier omitted for parameter `gboolean'
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:95: error: parse
   error before `)' token
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:98: error: type
   specifier omitted for parameter `gboolean'
/home/tmp/x11/py-wxWindows/work.i386/.buildlink/include/wx/gtk/win_gtk.h:98: error: parse
   error before `)' token
src/helpers.cpp: In function `long int wxPyGetWinHandle(wxWindow*)':
src/helpers.cpp:1614: error: parse error before `)' token
src/helpers.cpp:1614: error: `GTK_CHECK_CAST' undeclared (first use this
   function)
src/helpers.cpp:1614: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
src/helpers.cpp:1614: error: `GDK_WINDOW_XWINDOW' undeclared (first use this
   function)
error: command 'gcc' failed with exit status 1
*** Error code 1

Stop.

>How-To-Repeat:
	cd pkgsrc/x11/py-wxWindows && make
>Fix:
	Not known yet.

-Olaf.
-- 
___ Olaf 'Rhialto' Seibert
\X/ rhialto/at/xs4all.nl        -- Cetero censeo "authored" delendum esse.

>Release-Note:
>Audit-Trail:
>Unformatted: