From: "Tony Edgin" To: Subject: Godi build of lablgtk2 Date: Sun, 23 Oct 2005 22:12:29 +1300 Message-ID: <000501c5d7b1$e63392d0$4618b8cb at Mark> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_0006_01C5D81E.DD2CDAD0" Importance: Normal This is a multi-part message in MIME format. ------=_NextPart_000_0006_01C5D81E.DD2CDAD0 Content-Type: multipart/alternative; boundary="----=_NextPart_001_0007_01C5D81E.DD2CDAD0" ------=_NextPart_001_0007_01C5D81E.DD2CDAD0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi all, =20 I posted my problem to the Godi list, but Gerd Stolpmann suggested I = post it here instead.=20 =20 I'm trying to build the godi version lablgtk2 on a Cygwin platform. My system meets all of the stated pre-requisites, but when I have Godi = build it, I get the error =20 ml_gdk.c:6:26: gdk/gdkwin32.h: No such file or directory =20 Gerd stated, =20 "We have: =20 #if defined(_WIN32) || defined(__CYGWIN__) #include #else #include #endif =20 But in the Cygwin gdk package there is only gdk/gdkx.h. It looks like = the authors of lablgtk2 assume you install a win32-based version of gtk2, = and do not use the version coming with Cygwin, which is X11-based." =20 before suggesting I post my problem on this mailing list. Is it true = that I must install a windows version of gtk2? =20 Cheers, =20 Tony =20 =20 =20 =20 ------=_NextPart_001_0007_01C5D81E.DD2CDAD0 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi all,

 

I posted my problem to the Godi list, but Gerd = Stolpmann suggested I post it here instead.

 

I’m trying to build the godi version lablgtk2 = on a Cygwin platform.  My system meets all of the stated pre-requisites, but = when I have Godi build it, I get the error

 

ml_gdk.c:6:26: gdk/gdkwin32.h: No such file or directory

 

Gerd = stated,

 

“We = have:

 

#if defined(_WIN32) = || defined(__CYGWIN__)

#include <gdk/gdkwin32.h>

#else

#include = <gdk/gdkx.h>

#endif

 

But in the Cygwin = gdk package there is only gdk/gdkx.h. It looks like the authors of lablgtk2 = assume you install a win32-based version of gtk2, and do not use the version = coming with Cygwin, which is X11-based.”

 

before suggesting I post my = problem on this mailing list.  Is it true that I must install a windows = version of gtk2?

 

Cheers,

 

Tony

 

 

 

 

------=_NextPart_001_0007_01C5D81E.DD2CDAD0-- ------=_NextPart_000_0006_01C5D81E.DD2CDAD0 Content-Type: application/octet-stream; name="lablgtk2_protocol" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="lablgtk2_protocol" =3D=3D=3D> Cleaning for godi-lablgtk2-20040716godi6 =3D> Checksum OK for lablgtk-2.4.0.tar.gz. =3D=3D=3D> Extracting for godi-lablgtk2-20040716godi6 =3D=3D=3D> Required installed package godi-ocaml>=3D3.06: = godi-ocaml-3.08.4 found =3D=3D=3D> Required installed package godi-findlib>=3D1.0: = godi-findlib-1.0.4godi3 found /bin/mkdir -p = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0 =3D=3D=3D> Patching for godi-lablgtk2-20040716godi6 =3D=3D=3D> Applying pkgsrc patches for godi-lablgtk2-20040716godi6 =3D=3D=3D> Configuring for godi-lablgtk2-20040716godi6 checking for ocamlc... ocamlc ocaml version is 3.08.4 ocaml library path is /usr/local/lib/godi/lib/ocaml/std-lib Install dirs are : /usr/local/lib/godi/lib/ocaml/pkg-lib/lablgtk2 and = /usr/local/lib/godi/lib/ocaml/pkg-lib/stublibs Compile with ocamlc -I /usr/local/lib/godi/lib/ocaml/pkg-lib/lablgtk2 and add /usr/local/lib/godi/lib/ocaml/pkg-lib/stublibs either to = OCAMLLIB/ld.conf or to CAML_LD_LIBRARY_PATH checking for ocamlopt... ocamlopt checking ocamlopt version... ok checking for ocamlc.opt... ocamlc.opt checking ocamlc.opt version... ok checking for ocamlopt.opt... ocamlopt.opt checking ocamlc.opt version... ok checking for ocamlrun... ocamlrun checking for ocamldep... ocamldep checking for ocamldoc... ocamldoc checking for ocamllex... ocamllex checking for ocamllex.opt... ocamllex.opt checking for ocamlyacc... ocamlyacc checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for camlp4o... camlp4o checking for ocaml threads... system checking for ocaml dll support... no checking for ranlib... ranlib checking for gcc... gcc checking for C compiler default output file name... a.exe checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... .exe checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking platform... Cygwin checking for pkg-config... /usr/bin/pkg-config checking for GTK+ - version >=3D 2.0.0... yes (version 2.6.8) checking for gtk+-2.0... yes checking GTK_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API = -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include = -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =20 checking GTK_LIBS... -L/usr/X11R6/lib -lgtk-x11-2.0 -lgdk-x11-2.0 = -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender = -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 = -lgmodule-2.0 -lglib-2.0 -lintl -liconv =20 checking for libglade-2.0... yes checking GLADE_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API = -I/usr/include/libglade-2.0 -I/usr/include/gtk-2.0 = -I/usr/include/libxml2 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include = -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include =20 checking GLADE_LIBS... -L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 = -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype = -lz -lXrender -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm = -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv =20 checking for libgnomecanvas-2.0... yes checking GNOMECANVAS_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API = -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 = -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/gtk-2.0 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 =20 checking GNOMECANVAS_LIBS... -L/usr/X11R6/lib -lgnomecanvas-2 = -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 = -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext = -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lm -lgobject-2.0 = -lgmodule-2.0 -lglib-2.0 -lintl -liconv =20 checking for libgnomeui-2.0... yes checking GNOMEUI_CFLAGS... -DORBIT2=3D1 -D_REENTRANT -DXTHREADS = -DXUSE_MTSAFE_API -I/usr/include/libgnomeui-2.0 = -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 = -I/usr/include/gtk-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 = -I/usr/include/libbonoboui-2.0 -I/usr/include/glib-2.0 = -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 = -I/usr/include/pango-1.0 -I/usr/include/freetype2 = -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 = -I/usr/include/libxml2 =20 checking GNOMEUI_LIBS... -Wl,--export-dynamic -L/usr/X11R6/lib = -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 -lgnome-2 = -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 = -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender -lXext = -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 -lbonobo-2 = -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm -lgmodule-2.0 = -lgthread-2.0 -lglib-2.0 -lintl -liconv =20 checking for gtk+-2.0 libglade-2.0 libgnomecanvas-2.0 libgnomeui-2.0 = ... yes checking GTKALL_CFLAGS... -DXTHREADS -DXUSE_MTSAFE_API -DORBIT2=3D1 = -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include = -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 = -I/usr/include/freetype2 -I/usr/include/glib-2.0 = -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 = -I/usr/include/libxml2 -I/usr/include/libgnomecanvas-2.0 = -I/usr/include/libart-2.0 -I/usr/include/libgnomeui-2.0 = -I/usr/include/libgnome-2.0 -I/usr/include/gconf/2 = -I/usr/include/libbonoboui-2.0 -I/usr/include/orbit-2.0 = -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 = -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 =20 checking GTKALL_LIBS... -Wl,--export-dynamic -L/usr/X11R6/lib = -lglade-2.0 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lgnomecanvas-2 = -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 = -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lXft -lfreetype -lz -lXrender = -lXext -lfontconfig -lpangox-1.0 -lX11 -lpango-1.0 -lgobject-2.0 = -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lm = -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv =20 configure: creating ./config.status config.status: creating config.make LablGTK configuration: GtkGLArea disabled libglade yes librsvg disabled libgnomecanvas yes libgnomeui yes libpanelapplet disabled debug no C compiler gcc use_glade=3D`/usr/local/lib/godi/bin/godi_make -f = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/config.ma= ke -V USE_GLADE dummy`; use_rsvg=3D`/usr/local/lib/godi/bin/godi_make = -f = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/config.ma= ke -V USE_RSVG dummy`; = use_gnomecanvas=3D`/usr/local/lib/godi/bin/godi_make -f = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/config.ma= ke -V USE_GNOMECANVAS dummy`; = use_gnomeui=3D`/usr/local/lib/godi/bin/godi_make -f = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/config.ma= ke -V USE_GNOMEUI dummy`; = use_panel=3D`/usr/local/lib/godi/bin/godi_make -f = /usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/config.ma= ke -V USE_PANEL dummy`; cma=3D""; test "$use_glade" =3D "1" && = cma=3D"$cma lablglade.cma"; test "$use_rsvg" =3D "1" && = cma=3D"$cma lablrsvg.cma"; test "$use_gnomecanvas" =3D "1" && = cma=3D"$cma lablgnomecanvas.cma"; test "$use_gnomeui" =3D "1" && = cma=3D"$cma lablgnomeui.cma"; test "$use_panel" =3D "1" && = cma=3D"$cma lablpanel.cma"; cmxa=3D`echo "$cma" | sed -e = 's/cma/cmxa/g'`; sed -e "s/@CMA@/$cma/g" -e "s/@CMXA@/$cmxa/g" -e = "s/@VERSION@/20040716/g" files/META.in > files/META =3D=3D=3D> Building for godi-lablgtk2-20040716godi6 /bin/make -C src all make[1]: Entering directory = `/usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/src' ocamlc.opt -c -pp "camlp4o -impl" -impl varcc.ml4 ocamlc.opt -o varcc varcc.cmo rm -f *_tags.h *_tags.c ./varcc gdkpixbuf_tags.var ./varcc gdk_tags.var ocamlc.opt -c -ccopt "-O -DG_DISABLE_CAST_CHECKS -DXTHREADS = -DXUSE_MTSAFE_API -DORBIT2=3D1 -D_REENTRANT -I/usr/include/gtk-2.0 = -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 = -I/usr/include/pango-1.0 -I/usr/include/freetype2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/libglade-2.0 -I/usr/include/libxml2 = -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 = -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 = -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 = -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 = -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include = -I/usr/include/bonobo-activation-2.0 " ml_gdkpixbuf.c ./varcc pango_tags.var ocamlc.opt -c -ccopt "-O -DG_DISABLE_CAST_CHECKS -DXTHREADS = -DXUSE_MTSAFE_API -DORBIT2=3D1 -D_REENTRANT -I/usr/include/gtk-2.0 = -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 = -I/usr/include/pango-1.0 -I/usr/include/freetype2 = -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include = -I/usr/include/libglade-2.0 -I/usr/include/libxml2 = -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 = -I/usr/include/libgnomeui-2.0 -I/usr/include/libgnome-2.0 = -I/usr/include/gconf/2 -I/usr/include/libbonoboui-2.0 = -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 = -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include = -I/usr/include/bonobo-activation-2.0 " ml_gdk.c ml_gdk.c:6:26: gdk/gdkwin32.h: No such file or directory ml_gdk.c: In function `ml_gdk_gc_get_values': ml_gdk.c:540: warning: unused variable `i' make[1]: *** [ml_gdk.o] Error 2 make: *** [all] Error 2 make[1]: Leaving directory = `/usr/local/lib/godi/build/godi/godi-lablgtk2/work/lablgtk-2.4.0/src' *** Error code 2 Stop. godi_make: stopped in /usr/local/lib/godi/build/godi/godi-lablgtk2 *** Error code 1 Stop. godi_make: stopped in /usr/local/lib/godi/build/godi/godi-lablgtk2 ------=_NextPart_000_0006_01C5D81E.DD2CDAD0--