DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding:sender; b=RLEhjYQHwVHMZ9mQVsLfjAPzhdsCZjrbn+qnXAv6nmSUzF7EZPrgwKGvFfxq3GOUngiOJrl+BDVe7gtbzzjhJzQqVTUQbROeBDhy85NeU4h1ib/K6xXpaEJGfD599XAnBfflGEns9oyaN4TiEbsQ300hK6e/G5sEXT2dWIKJP5E= Message-ID: <45B5DABB.1040406 at inria.fr> Date: Tue, 23 Jan 2007 10:51:55 +0100 From: Julien Narboux MIME-Version: 1.0 To: lablgtk at math.nagoya-u.ac.jp Subject: Problem compiling under a Mac Intel. Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 9199 Hi, I am trying to compile lablgtk2 latest snapshot (lablgtk2-20060908.tar.gz ) under MacOsX on a mac intel. I installed fink and many dev libraries. I installed ocaml 3.09.3 by hand. When I compile I get the following error: "Error on dynamically loaded library: this file is not a proper bundle" make make -C src all ocamlmktop -thread -o lablgtktop unix.cma threads.cma \ -I . lablgtk.cma lablglade.cma lablgnomecanvas.cma lablgnomeui.cma lablpanel.cma lablrsvg.cma lablgtkspell.cma gtkThread.cmo Error on dynamically loaded library: this file is not a proper bundle make[1]: *** [lablgtktop] Error 2 make: *** [all] Error 2 Does anyone know what is the problem ? It seems that this error is generated in the file byterun/unix.c of ocaml. Best wishes, Julien Here is the output of the ./configure : checking for ocamlc... ocamlc ocaml version is 3.09.3 ocaml library path is /usr/local/lib/ocaml Default install dirs are : /usr/local/lib/ocaml/lablgtk2 and /usr/local/lib/ocaml/stublibs Compile with ocamlc -I +lablgtk2 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 ocamlyacc... ocamlyacc checking for ocamlmktop... ocamlmktop checking for ocamlmklib... ocamlmklib checking for camlp4o... camlp4o checking for ocaml threads... use system threads checking for ocaml dll support... yes checking for ranlib... ranlib OCaml uses gcc to compile C files checking for gcc... gcc checking for C compiler default output file name... a.out checking whether the C compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... 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... Unix checking for pkg-config... /sw/bin/pkg-config checking for GTK+ - version >= 2.0.0... yes (version 2.4.9) checking for gtkgl-2.0... yes checking GTKGL_CFLAGS... -I/sw/include/gtkgl-2.0 -I/usr/X11R6/include -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include checking GTKGL_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgtkgl-2.0 -lGLU -lGL -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking lablGL directory... no checking for libglade-2.0... yes checking GLADE_CFLAGS... -I/sw/include/libglade-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include checking GLADE_LIBS... -L/sw/lib -L/usr/X11R6/lib -lglade-2.0 -lgtk-x11-2.0 -lxml2 -lpthread -lz -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for librsvg-2.0... yes checking RSVG_CFLAGS... -I/sw/include/librsvg-2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/gtk-2.0 checking RSVG_LIBS... -L/sw/lib -lrsvg-2 -lgdk_pixbuf-2.0 -lm -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for rsvg_handle_new_gz... yes checking for libgnomecanvas-2.0... yes checking GNOMECANVAS_CFLAGS... -I/sw/include/libgnomecanvas-2.0 -I/sw/include/libart-2.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/include/gtk-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 checking GNOMECANVAS_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgnomecanvas-2 -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for libgnomeui-2.0... yes checking GNOMEUI_CFLAGS... -DORBIT2=1 -I/sw/include/libgnomeui-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libart-2.0 -I/sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include -I/usr/X11R6/include/freetype2 -I/sw/lib/gtk-2.0/include -I/sw/include/atk-1.0 -I/sw/include/libxml2 -I/sw/include checking GNOMEUI_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -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 checking for libpanelapplet-2.0... yes checking PANEL_CFLAGS... -DORBIT2=1 -I/sw/include/panel-2.0 -I/sw/include/gtk-2.0 -I/sw/include/libgnomeui-2.0 -I/sw/include/libbonoboui-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libgnome-2.0 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/libart-2.0 -I/sw/include/gconf/2 -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/libxml2 -I/sw/include checking PANEL_LIBS... -L/sw/lib -L/usr/X11R6/lib -lpanel-applet-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lpangoxft-1.0 -lpangox-1.0 -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 checking for gtkspell-2.0... yes checking GTKSPELL_CFLAGS... -I/sw/include/gtkspell-2.0 -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include checking GTKSPELL_LIBS... -L/sw/lib -L/usr/X11R6/lib -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv checking for gtk+-2.0 libglade-2.0 librsvg-2.0 libgnomecanvas-2.0 libgnomeui-2.0 libpanelapplet-2.0 gtkspell-2.0... yes checking GTKALL_CFLAGS... -DORBIT2=1 -I/sw/include/gtk-2.0 -I/sw/lib/gtk-2.0/include -I/usr/X11R6/include -I/sw/include/atk-1.0 -I/sw/include/pango-1.0 -I/usr/X11R6/include/freetype2 -I/sw/include/glib-2.0 -I/sw/lib/glib-2.0/include -I/sw/include/libglade-2.0 -I/sw/include/libxml2 -I/sw/include -I/sw/include/librsvg-2 -I/sw/include/libgnomecanvas-2.0 -I/sw/include/libart-2.0 -I/sw/include/libgnomeui-2.0 -I/sw/include/libgnome-2.0 -I/sw/include/gconf/2 -I/sw/include/libbonoboui-2.0 -I/sw/include/orbit-2.0 -I/sw/include/libbonobo-2.0 -I/sw/include/gnome-vfs-2.0 -I/sw/lib/gnome-vfs-2.0/include -I/sw/include/bonobo-activation-2.0 -I/sw/include/panel-2.0 -I/sw/include/gtkspell-2.0 checking GTKALL_LIBS... -L/sw/lib -L/usr/X11R6/lib -lglade-2.0 -lrsvg-2 -lpanel-applet-2 -lgnomeui-2 -lSM -lICE -lbonoboui-2 -lxml2 -lpthread -lz -lgnomecanvas-2 -lgnome-2 -lpopt -lart_lgpl_2 -lpangoft2-1.0 -lbonobo-2 -lgconf-2 -lgnomevfs-2 -lbonobo-activation -lORBit-2 -lgthread-2.0 -lgtkspell -laspell -lgtk-x11-2.0 -lgdk-x11-2.0 -lXrandr -lXinerama -lXext -lXft -lfreetype -lXrender -lfontconfig -lX11 -lXcursor -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv configure: creating ./config.status config.status: creating config.make LablGTK configuration: threads system GtkGLArea not found libglade yes librsvg yes libgnomecanvas yes libgnomeui yes libpanelapplet yes gtkspell yes debug no C compiler gcc