facebookarchive / pfff

Tools for code analysis, visualizations, or style-preserving source transformation.
http://github.com/facebook/pfff/wiki/Main
Other
2.44k stars 206 forks source link

Error: Integer literal exceeds the range of representable integers of type int #2

Closed brooksbp closed 13 years ago

brooksbp commented 13 years ago

Snow leopard.

brbrooks-mbp:~/dev/pfff% ./configure 
Checking your configuration.

OCaml (the wonderful language) is present.

make (gnu version) is present.
PCRE is present.

Configuring ocamlgtk
checking for ocamlc... ocamlc
ocaml version is 3.12.0
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 ISO C89... none needed
checking platform... Unix
checking native dynlink... checking for pkg-config... /opt/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... no
*** 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+ is incorrectly installed.
configure: error: GTK+ is required

Configuring ocamlcairo
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/local/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
OCaml uses gcc to compile C files
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CAIRO... yes
../../ocamlgtk/src
checking for GDK... no
checking for LIBSVG_CAIRO... no

  GTK+         support: no
  libsvg-cairo support: no

configure: creating ./config.status
config.status: creating config.make

All seems fine for pfff.

----------------------------------------------------------------------
To compile pfff type:
  $ make depend
  $ make

Then, to test pfff simply type:
  $ ./pfff -dump_ast demos/foo.php

If you want to use the analysis framework and code visualization tool
see install.txt or type ./configure --help
----------------------------------------------------------------------

pfff target prefix: /usr/local (you can use --prefix to override it)
Generating Makefile.config (BDB=0, PCRE=1, MYSQL=0, MPI=0, BT=0, GUI=1, VISUAL=1)
 (see also --help)
Generating commons/features.ml
Generating globals/config.ml
WARNING: Using facebook specific stuff for now, src = /home/pad/shared-pfff
brbrooks-mbp:~/dev/pfff% make depend
ocamldep -I commons -I external/ocamlpcre -I external/ocamlgraph -I external/ocamlthrift -I external/ocamlgtk -I external/ocamlcairo -I h_version-control -I h_visualization -I h_program-lang -I h_program-visual -I globals -I lang_ml/parsing -I lang_ml/analyze -I lang_nw/parsing -I lang_nw/analyze -I lang_php/parsing -I lang_php/mini -I lang_php/matcher -I lang_sql/parsing -I lang_js/parsing -I lang_js/analyze -I lang_cpp/parsing -I lang_cpp/analyze -I lang_java/parsing -I lang_java/analyze -I lang_php/analyze -I lang_php/analyze/basic -I lang_php/analyze/foundation -I lang_php/analyze/checker -I lang_php/analyze/database -I lang_php/analyze/static_analysis -I visual -I commons/ocamlextra -I commons/lib-json -I commons/lib-xml -I external/ocamlgtk/src -I external/ocamlcairo/src -I external/ocamlpcre/lib  *.mli *.ml > .depend
set -e; for i in commons  external/ocamlpcre  external/ocamlgraph external/ocamlthrift external/ocamlgtk external/ocamlcairo h_version-control h_visualization h_program-lang h_program-visual globals lang_ml/parsing lang_ml/analyze lang_nw/parsing lang_nw/analyze lang_php/parsing lang_php/mini lang_php/matcher lang_sql/parsing lang_js/parsing lang_js/analyze lang_cpp/parsing lang_cpp/analyze lang_java/parsing lang_java/analyze lang_php/analyze lang_php/analyze/basic lang_php/analyze/foundation lang_php/analyze/checker lang_php/analyze/database lang_php/analyze/static_analysis visual ; do make -C $i depend; done
ocamldep -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml  *.mli *.ml  > .depend
for i in ocamlextra ocollection lib-sexp lib-json lib-xml; do ocamldep -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml  $i/*.ml $i/*.mli >> .depend; done
make[1]: Nothing to be done for `depend'.
sed -e s/VERSION/1.3/ -e s/CMA/ocamlgraph.cma/ -e s/CMXA/ocamlgraph.cmxa/ \
        META.in > META
ocamllex src/gml.mll
26 states, 827 transitions, table size 3464 bytes
2623 additional bytes used for bindings
rm -f src/version.ml
echo "let version = \""1.3"\"" > src/version.ml
echo "let date = \""`date`"\"" >> src/version.ml
ocamlyacc -v src/dot_parser.mly
1 shift/reduce conflict.
ocamllex src/dot_lexer.mll
43 states, 478 transitions, table size 2170 bytes
rm -f .depend
ocamldep -slash -I src -I lib -I editor -I view_graph -I dgraph\
        lib/*.ml lib/*.mli \
        src/*.ml src/*.mli \
        editor/*.mli editor/*.ml \
        view_graph/*.mli view_graph/*.ml \
        dgraph/*.mli dgraph/*.ml > .depend
rm -f .depend
ocamldep -slash -I src -I lib -I editor -I view_graph -I dgraph\
        lib/*.ml lib/*.mli \
        src/*.ml src/*.mli \
        editor/*.mli editor/*.ml \
        view_graph/*.mli view_graph/*.ml \
        dgraph/*.mli dgraph/*.ml > .depend
ocamldep   *.mli *.ml    > .depend
File "TBinaryProtocol.ml", line 47, characters 19-29:
Error: Integer literal exceeds the range of representable integers of type int
make[1]: *** [depend] Error 2
make: *** [depend] Error 2
aryx commented 13 years ago

Hi. Thanks for the bug report. I've actually just pushed a temporary fix for this issue. Can you try again ? You are using a 32 bit machine right ?

brooksbp commented 13 years ago

brbrooks-mbp:~% uname -m i386

Thanks for the fix, issue resolved.

Another note: install_macos.txt -- gtk could not be found in macports. I'm currently installing the gtk2 package. Same for mysql, seems like the package is 'mysql5 +server'

aryx commented 13 years ago

Thanks. I've pushed a fix. BTW mysql is not needed. Right now it's only used in facebook specific stuff that is not included in the public repository :)

brooksbp commented 13 years ago

Sweet! Thanks, can't wait to try out the treemap!

aryx commented 13 years ago

On which kind of project ? Right now PHP is the best supported language.

brooksbp commented 13 years ago

C project. Just trying to get an idea of size.

Looks like I ran into another issue when calling "make":

ocamlc.opt   -w s -c gAssistant.mli
ocamlc.opt   -w s -c gAssistant.ml
ocamlc.opt   -w s -c gBin.mli
ocamlc.opt   -w s -c gBin.ml
ocamlc.opt   -w s -c gEdit.mli
ocamlc.opt   -w s -c gEdit.ml
ocamlc.opt   -w s -c gRange.mli
ocamlc.opt   -w s -c gRange.ml
ocamlc.opt   -w s -c gAction.mli
ocamlc.opt   -w s -c gAction.ml
ocamlc.opt   -w s -c gBroken.mli
ocamlc.opt   -w s -c gBroken.ml
ocamlc.opt   -w s -c gUtil.mli
ocamlc.opt   -w s -c gUtil.ml
ocamlc.opt   -w s -c gToolbox.mli
ocamlc.opt   -w s -c gToolbox.ml
ocamlmklib -verbose -ocamlc "ocamlc.opt" -ocamlopt "ocamlopt.opt" -o lablgtk -oc lablgtk2 ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
+ gcc -m32 -bundle -flat_namespace -undefined suppress -o ./dlllablgtk2.so ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o -L/opt/local/lib   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
ld: warning: in /opt/local/lib/libgtk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libatk-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk_pixbuf-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangocairo-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXinerama.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXi.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrandr.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcursor.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcomposite.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdamage.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangoft2-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgio-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXext.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXfixes.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libcairo.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpixman-1.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpng12.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrender.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libxcb.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXau.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdmcp.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpango-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfontconfig.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libexpat.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgthread-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
+ ar rc ./liblablgtk2.a  ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o; ranlib ./liblablgtk2.a
+ ocamlc.opt -a  -o lablgtk.cma  gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -dllib -llablgtk2 -cclib -llablgtk2 -ccopt -L/opt/local/lib  -cclib -lgtk-x11-2.0 -cclib -lgdk-x11-2.0 -cclib -latk-1.0 -cclib -lgdk_pixbuf-2.0 -cclib -lpangocairo-1.0 -cclib -lXinerama -cclib -lXi -cclib -lXrandr -cclib -lXcursor -cclib -lXcomposite -cclib -lXdamage -cclib -lpangoft2-1.0 -cclib -lgio-2.0 -cclib -lXext -cclib -lXfixes -cclib -lcairo -cclib -lpixman-1 -cclib -lpng12 -cclib -lXrender -cclib -lX11 -cclib -lxcb -cclib -lXau -cclib -lXdmcp -cclib -lpango-1.0 -cclib -lm -cclib -lfontconfig -cclib -lexpat -cclib -lfreetype -cclib -lz -cclib -lgobject-2.0 -cclib -lgmodule-2.0 -cclib -lgthread-2.0 -cclib -lglib-2.0 -cclib -lintl -cclib -liconv 
ocamlc.opt   -w s -c -thread gtkThread.mli
ocamlc.opt   -w s -c -thread gtkThread.ml
ocamlc.opt   -w s -c gtkThInit.ml
ocamlmktop  -thread  -o lablgtktop unix.cma threads.cma  \
       -I . lablgtk.cma gtkThread.cmo
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138): Symbol not found: _gtk_major_version
  Referenced from: /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
  Expected in: flat namespace
 in /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
make[3]: *** [lablgtktop] Error 2
make[2]: *** [all] Error 2
make[1]: *** [rec] Error 2
make: *** [all] Error 2
aryx commented 13 years ago

Damn. Can you download the original code of lablgtk: http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/dist/lablgtk2-20100626.tar.gz

and ./configure; make and see if you have the same issue ? lablgtk is not my code so I may have to ask for help on this.

brooksbp commented 13 years ago

link broken for me

aryx commented 13 years ago

Sorry. Can you try http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/dist/lablgtk-2.14.2.tar.gz

brooksbp commented 13 years ago
brbrooks-mbp:~/Downloads/lablgtk-2.14.2% ./configure 
checking for ocamlc... ocamlc
ocaml version is 3.12.0
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 ISO C89... none needed
checking platform... Unix
checking native dynlink... checking for pkg-config... /opt/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.20.1)
checking pkg-config is at least version 0.9.0... yes
checking for GTKGL... no
checking for GLADE... no
checking for RSVG... no
checking for GNOMECANVAS... no
checking for GNOMEUI... no
checking for PANEL... no
checking for GTKSPELL... no
checking for GTKSOURCEVIEW... no
checking for GTKSOURCEVIEW2... no
checking for GTKQUARTZ... no
checking for GTKALL... yes
configure: creating ./config.status
config.status: creating config.make

LablGTK configuration:
    threads     system
    native dynlink  no
    GtkGLArea   not found
    libglade    not found
    librsvg     not found
    libgnomecanvas  not found
    libgnomeui  not found
    libpanelapplet  not found
    gtkspell    not found
    gtksourceview 1     not found
    gtksourceview 2     not found
    quartz      not found

    debug       no
-e  C compiler  gcc
brbrooks-mbp:~/Downloads/lablgtk-2.14.2% make
make -C src all
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 '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gdkpixbuf.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gdkpixbuf.c'
./varcc pango_tags.var
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gdk.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gdk.c'
./varcc glib_tags.var
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_glib.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_glib.c'
./varcc gobject_tags.var
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gobject.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gobject.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gpointer.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gpointer.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gvaluecaml.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gvaluecaml.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose wrappers.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'wrappers.c'
./varcc gtk_tags.var
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtk.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtk.c'
ml_gtk.c: In function ‘ml_gtk_get_current_event’:
ml_gtk.c:982: warning: the address of ‘Val_GdkEvent’ will always evaluate as ‘true’
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_pango.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_pango.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkaction.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkaction.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkbin.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkbin.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkbroken.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkbroken.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkbutton.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkbutton.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkassistant.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkassistant.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkedit.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkedit.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkfile.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkfile.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtklist.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtklist.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkmenu.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkmenu.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkmisc.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkmisc.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkpack.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkpack.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkrange.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkrange.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtkstock.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtkstock.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtktext.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtktext.c'
ocamlc.opt -c -ccopt '-DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O' -verbose ml_gtktree.c
+ gcc -m32 -fno-defer-pop -no-cpp-precomp -Wall -D_FILE_OFFSET_BITS=64 -D_REENTRANT  -c -DG_DISABLE_ASSERT -DG_DISABLE_CAST_CHECKS -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12   -imacros ml_domain.h -O  -I'/usr/local/lib/ocaml' 'ml_gtktree.c'
ocamlc.opt   -w s -c gaux.ml
ocamlc.opt   -w s -c gpointer.mli
ocamlc.opt   -w s -c gpointer.ml
ocamlc.opt   -w s -c gutf8.mli
ocamlc.opt   -w s -c gutf8.ml
ocamlc.opt   -w s -c glib.mli
ocamlc.opt   -w s -c glib.ml
ocamlc.opt   -w s -c gobject.mli
ocamlc.opt   -w s -c gobject.ml
ocamlc.opt   -w s -c gdkEnums.ml
ocamlc.opt   -w s -c pangoEnums.ml
ocamlc.opt   -w s -c gtkEnums.ml
ocamlc.opt   -w s -c pango.ml
ocamlc.opt   -w s -c gdk.mli
ocamlc.opt   -w s -c gdk.ml
ocamlc.opt   -w s -c gdkEvent.ml
ocamlc.opt   -w s -c gdkKeysyms.ml
ocamlc.opt   -w s -c gdkPixbuf.mli
ocamlc.opt   -w s -c gdkPixbuf.ml
ocamlc.opt   -w s -c gtk.ml
camlp4o pa_macro.cmo -D HAS_PRINTEXC_BACKTRACE -impl gtkSignal.ml4 -o gtkSignal.ml
ocamlc.opt   -w s -c gtkSignal.mli
ocamlc.opt   -w s -c gtkSignal.ml
ocamlc.opt   -w s -c gtkStock.ml
ocamlc.opt   -w s -c gtkObject.ml
ocamlc.opt -c -pp "camlp4o -impl" -impl propcc.ml4
ocamlc.opt   -o propcc propcc.cmo
./propcc gtkBase.props
ocamlc.opt   -w s -c gtkBaseProps.ml
./propcc gtkBin.props
ocamlc.opt   -w s -c gtkBinProps.ml
./propcc gtkButton.props
ocamlc.opt   -w s -c gtkButtonProps.ml
./propcc gtkEdit.props
ocamlc.opt   -w s -c gtkEditProps.ml
./propcc gtkList.props
ocamlc.opt   -w s -c gtkListProps.ml
./propcc gtkMenu.props
ocamlc.opt   -w s -c gtkMenuProps.ml
./propcc gtkMisc.props
Warning: no conversion for type PangoAttrList in class GtkLabel
Warning: no conversion for type GdkPixbufAnimation in class GtkImage
ocamlc.opt   -w s -c gtkMiscProps.ml
./propcc gtkPack.props
ocamlc.opt   -w s -c gtkPackProps.ml
./propcc gtkRange.props
ocamlc.opt   -w s -c gtkRangeProps.ml
./propcc gtkText.props
Warning: no conversion for type PangoTabArray in class GtkTextView
Warning: no conversion for type PangoTabArray in class GtkTextTag
ocamlc.opt   -w s -c gtkTextProps.ml
./propcc gtkTree.props
Warning: no conversion for type PangoAttrList in class GtkCellRendererText
ocamlc.opt   -w s -c gtkTreeProps.ml
./propcc gtkFile.props
ocamlc.opt   -w s -c gtkFileProps.ml
./propcc gtkAction.props
ocamlc.opt   -w s -c gtkActionProps.ml
./propcc gtkBroken.props
ocamlc.opt   -w s -c gtkBrokenProps.ml
./propcc gtkAssistant.props
ocamlc.opt   -w s -c gtkAssistantProps.ml
ocamlc.opt   -w s -c gtkData.ml
ocamlc.opt   -w s -c gtkBase.ml
ocamlc.opt   -w s -c gtkPack.ml
ocamlc.opt   -w s -c gtkButton.ml
ocamlc.opt   -w s -c gtkAssistant.ml
ocamlc.opt   -w s -c gtkMenu.ml
ocamlc.opt   -w s -c gtkMisc.ml
ocamlc.opt   -w s -c gtkWindow.ml
ocamlc.opt   -w s -c gtkList.ml
ocamlc.opt   -w s -c gtkBin.ml
ocamlc.opt   -w s -c gtkEdit.ml
ocamlc.opt   -w s -c gtkRange.ml
ocamlc.opt   -w s -c gtkText.ml
ocamlc.opt   -w s -c gtkTree.ml
ocamlc.opt   -w s -c gtkFile.ml
ocamlc.opt   -w s -c gtkMain.ml
ocamlc.opt   -w s -c gtkBroken.ml
ocamlc.opt   -w s -c gPango.ml
ocamlc.opt   -w s -c gDraw.mli
ocamlc.opt   -w s -c gDraw.ml
ocamlc.opt   -w s -c gObj.mli
ocamlc.opt   -w s -c gObj.ml
ocamlc.opt   -w s -c gData.mli
ocamlc.opt   -w s -c gData.ml
ocamlc.opt   -w s -c gMain.mli
ocamlc.opt   -w s -c gMain.ml
ocamlc.opt   -w s -c ogtkBaseProps.ml
ocamlc.opt   -w s -c ogtkBinProps.ml
ocamlc.opt   -w s -c ogtkButtonProps.ml
ocamlc.opt   -w s -c ogtkEditProps.ml
ocamlc.opt   -w s -c ogtkListProps.ml
ocamlc.opt   -w s -c ogtkMenuProps.ml
ocamlc.opt   -w s -c ogtkMiscProps.ml
ocamlc.opt   -w s -c ogtkPackProps.ml
ocamlc.opt   -w s -c ogtkRangeProps.ml
ocamlc.opt   -w s -c ogtkTextProps.ml
ocamlc.opt   -w s -c ogtkTreeProps.ml
ocamlc.opt   -w s -c ogtkFileProps.ml
ocamlc.opt   -w s -c ogtkActionProps.ml
ocamlc.opt   -w s -c ogtkBrokenProps.ml
ocamlc.opt   -w s -c ogtkAssistantProps.ml
ocamlc.opt   -w s -c gContainer.mli
ocamlc.opt   -w s -c gContainer.ml
ocamlc.opt   -w s -c gPack.mli
ocamlc.opt   -w s -c gPack.ml
ocamlc.opt   -w s -c gButton.mli
ocamlc.opt   -w s -c gButton.ml
ocamlc.opt   -w s -c gText.mli
ocamlc.opt   -w s -c gText.ml
ocamlc.opt   -w s -c gMenu.mli
ocamlc.opt   -w s -c gMenu.ml
ocamlc.opt   -w s -c gMisc.mli
ocamlc.opt   -w s -c gMisc.ml
ocamlc.opt   -w s -c gTree.mli
ocamlc.opt   -w s -c gTree.ml
ocamlc.opt   -w s -c gList.mli
ocamlc.opt   -w s -c gList.ml
ocamlc.opt   -w s -c gFile.mli
ocamlc.opt   -w s -c gFile.ml
ocamlc.opt   -w s -c gWindow.mli
ocamlc.opt   -w s -c gWindow.ml
ocamlc.opt   -w s -c gAssistant.mli
ocamlc.opt   -w s -c gAssistant.ml
ocamlc.opt   -w s -c gBin.mli
ocamlc.opt   -w s -c gBin.ml
ocamlc.opt   -w s -c gEdit.mli
ocamlc.opt   -w s -c gEdit.ml
ocamlc.opt   -w s -c gRange.mli
ocamlc.opt   -w s -c gRange.ml
ocamlc.opt   -w s -c gAction.mli
ocamlc.opt   -w s -c gAction.ml
ocamlc.opt   -w s -c gBroken.mli
ocamlc.opt   -w s -c gBroken.ml
ocamlc.opt   -w s -c gUtil.mli
ocamlc.opt   -w s -c gUtil.ml
ocamlc.opt   -w s -c gToolbox.mli
ocamlc.opt   -w s -c gToolbox.ml
ocamlmklib -verbose -ocamlc "ocamlc.opt" -ocamlopt "ocamlopt.opt" -o lablgtk -oc lablgtk2 ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
+ gcc -m32 -bundle -flat_namespace -undefined suppress -o ./dlllablgtk2.so ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o -L/opt/local/lib   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lpng12 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
ld: warning: in /opt/local/lib/libgtk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libatk-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk_pixbuf-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangocairo-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXinerama.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXi.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrandr.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcursor.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcomposite.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdamage.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangoft2-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgio-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXext.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXfixes.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libcairo.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpixman-1.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpng12.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrender.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libxcb.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXau.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdmcp.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpango-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfontconfig.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libexpat.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgthread-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
+ ar rc ./liblablgtk2.a  ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o; ranlib ./liblablgtk2.a
+ ocamlc.opt -a  -o lablgtk.cma  gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -dllib -llablgtk2 -cclib -llablgtk2 -ccopt -L/opt/local/lib  -cclib -lgtk-x11-2.0 -cclib -lgdk-x11-2.0 -cclib -latk-1.0 -cclib -lgdk_pixbuf-2.0 -cclib -lpangocairo-1.0 -cclib -lXinerama -cclib -lXi -cclib -lXrandr -cclib -lXcursor -cclib -lXcomposite -cclib -lXdamage -cclib -lpangoft2-1.0 -cclib -lgio-2.0 -cclib -lXext -cclib -lXfixes -cclib -lcairo -cclib -lpixman-1 -cclib -lpng12 -cclib -lXrender -cclib -lX11 -cclib -lxcb -cclib -lXau -cclib -lXdmcp -cclib -lpango-1.0 -cclib -lm -cclib -lfontconfig -cclib -lexpat -cclib -lfreetype -cclib -lz -cclib -lgobject-2.0 -cclib -lgmodule-2.0 -cclib -lgthread-2.0 -cclib -lglib-2.0 -cclib -lintl -cclib -liconv 
ocamlc.opt   -w s -c -thread gtkThread.mli
ocamlc.opt   -w s -c -thread gtkThread.ml
ocamlc.opt   -w s -c gtkThInit.ml
ocamlmktop  -thread  -o lablgtktop unix.cma threads.cma  \
       -I . lablgtk.cma gtkThread.cmo
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138): Symbol not found: _gtk_major_version
  Referenced from: /Users/brbrooks/Downloads/lablgtk-2.14.2/src/dlllablgtk2.so
  Expected in: flat namespace
 in /Users/brbrooks/Downloads/lablgtk-2.14.2/src/dlllablgtk2.so
make[1]: *** [lablgtktop] Error 2
make: *** [all] Error 2

aryx commented 13 years ago

I've sent a message to the creator of lablgtk. Hopefully he will answer soon.

brooksbp commented 13 years ago

Any response?

aryx commented 13 years ago

nope ...

aryx commented 13 years ago

what is your exact configuration ? Machine, OS, gcc version.

brooksbp commented 13 years ago

Mac OS X 10.6.4, 2.53 GHz Core i5, 4GB 1067MHz DDR3

i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664) Copyright (C) 2007 Free Software Foundation, Inc.

th5 commented 13 years ago

It looks like there could be a 32 vs 64 bit issue.

Did you install Macports/OCaml when you had 10.5 installed?

Looking at the history there are bunch of gcc -m32 ... commands. Then there are a bunch of ld errors saying that it is the wrong architecture.

Maybe you have some programs/libraries compiled as 32bit and others as 64bit.

For 10.5, the default was 32 bit. For 10.6, the default is 64. Mixing the two doesn't work (OCaml has to be compiled for one or the other). The INSTALL file for OCaml points out how to specify 64 for 10.5 or 32 for 10.6.

If you don't have a lot already compiled, you could try a fresh MacPorts installation. Everything will be 64 bit out of the box.

brooksbp commented 13 years ago

Ok. I reinstalled everything... OCaml, Macports, and did "port install .." for pcre, cairo, gtk2...

Still having linking errors:

brbrooks-mbp:~/dev/pfff% ./configure 
Checking your configuration.

OCaml (the wonderful language) is present.

make (gnu version) is present.
PCRE is present.

Configuring ocamlgtk
checking for ocamlc... ocamlc
ocaml version is 3.12.0
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 ISO C89... none needed
checking platform... Unix
checking native dynlink... checking for pkg-config... /opt/local/bin/pkg-config
checking for GTK+ - version >= 2.0.0... yes (version 2.22.1)
checking pkg-config is at least version 0.9.0... yes
checking for GTKGL... no
checking for GLADE... no
checking for RSVG... no
checking for GNOMECANVAS... no
checking for GNOMEUI... no
checking for PANEL... no
checking for GTKSPELL... no
checking for GTKSOURCEVIEW... no
checking for GTKSOURCEVIEW2... no
checking for GTKQUARTZ... no
checking for GTKALL... yes
configure: creating ./config.status
config.status: creating config.make

LablGTK configuration:
    threads     system
    native dynlink  no
    GtkGLArea   not found
    libglade    not found
    librsvg     not found
    libgnomecanvas  not found
    libgnomeui  not found
    libpanelapplet  not found
    gtkspell    not found
    gtksourceview 1     not found
    gtksourceview 2     not found
    quartz      not found

    debug       no
-e  C compiler  gcc

Configuring ocamlcairo
checking for ocamlc... ocamlc
OCaml version is 3.12.0
OCaml library path is /usr/local/lib/ocaml
checking for ocamlopt... ocamlopt
checking for ocamlc.opt... ocamlc.opt
checking for ocamlopt.opt... ocamlopt.opt
checking for ocamldep... ocamldep
checking for ocamlmktop... ocamlmktop
checking for ocamlmklib... ocamlmklib
checking for ocamldoc... ocamldoc
OCaml uses gcc to compile C files
checking for pkg-config... /opt/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for CAIRO... yes
../../ocamlgtk/src
checking for GDK... yes
checking for LIBSVG_CAIRO... no

  GTK+         support: yes
  libsvg-cairo support: no

configure: creating ./config.status
config.status: creating config.make

All seems fine for pfff.

----------------------------------------------------------------------
To compile pfff type:
  $ make depend
  $ make

Then, to test pfff simply type:
  $ ./pfff -dump_ast demos/foo.php

If you want to use the analysis framework and code visualization tool
see install.txt or type ./configure --help
----------------------------------------------------------------------

pfff target prefix: /usr/local (you can use --prefix to override it)
Generating Makefile.config (BDB=0, PCRE=1, MYSQL=0, MPI=0, BT=0, GUI=1, VISUAL=1)
 (see also --help)
Generating lang_php/analyze/database_php_storage.ml
Generating commons/features.ml
Generating globals/config.ml
WARNING: Using facebook specific stuff for now, src = /home/pad/shared-pfff
brbrooks-mbp:~/dev/pfff% make depend
ocamldep  -I commons -I external/ocamlpcre -I external/ocamlgraph -I external/ocamlthrift -I external/ocamlgtk -I external/ocamlcairo -I h_version-control -I h_visualization -I h_program-lang -I h_program-visual -I globals -I lang_ml/parsing -I lang_ml/analyze -I lang_nw/parsing -I lang_nw/analyze -I lang_lisp/parsing -I lang_lisp/analyze -I lang_haskell/parsing -I lang_haskell/analyze -I lang_php/parsing -I lang_php/mini -I lang_php/matcher -I lang_sql/parsing -I lang_js/parsing -I lang_js/analyze -I lang_cpp/parsing -I lang_cpp/analyze -I lang_java/parsing -I lang_java/analyze -I lang_python/parsing -I lang_python/analyze -I lang_csharp/parsing -I lang_csharp/analyze -I lang_php/analyze -I lang_php/analyze/basic -I lang_php/analyze/foundation -I lang_php/analyze/typing -I lang_php/analyze/checker -I lang_php/analyze/database -I lang_php/analyze/tools -I lang_php/analyze/qa_test -I lang_php/analyze/dynamic_analysis -I lang_php/analyze/static_analysis -I visual -I commons/ocamlextra -I commons/ocollection -I commons/lib-json -I commons/lib-xml -I commons/lib-sexp -I external/ocamlgtk/src -I external/ocamlcairo/src -I external/ocamlpcre/lib  *.mli *.ml > .depend
set -e; for i in commons  external/ocamlpcre  external/ocamlgraph external/ocamlthrift external/ocamlgtk external/ocamlcairo h_version-control h_visualization h_program-lang h_program-visual globals lang_ml/parsing lang_ml/analyze lang_nw/parsing lang_nw/analyze lang_lisp/parsing lang_lisp/analyze lang_haskell/parsing lang_haskell/analyze lang_php/parsing lang_php/mini lang_php/matcher lang_sql/parsing lang_js/parsing lang_js/analyze lang_cpp/parsing lang_cpp/analyze lang_java/parsing lang_java/analyze lang_python/parsing lang_python/analyze lang_csharp/parsing lang_csharp/analyze lang_php/analyze lang_php/analyze/basic lang_php/analyze/foundation lang_php/analyze/typing lang_php/analyze/checker lang_php/analyze/database lang_php/analyze/tools lang_php/analyze/qa_test lang_php/analyze/dynamic_analysis lang_php/analyze/static_analysis visual ; do make -C $i depend; done
ocamldep -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml  *.mli *.ml  > .depend
for i in ocamlextra ocollection lib-sexp lib-json lib-xml; do ocamldep -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml  $i/*.ml $i/*.mli >> .depend; done
make[1]: Nothing to be done for `depend'.
rm -f .depend
ocamldep -slash -I src -I lib -I editor -I view_graph -I dgraph\
        lib/*.ml lib/*.mli \
        src/*.ml src/*.mli \
        editor/*.mli editor/*.ml \
        view_graph/*.mli view_graph/*.ml \
        dgraph/*.mli dgraph/*.ml > .depend
ocamldep   *.mli *.ml    > .depend
make -C src depend
make real-depend USE_GL=1 USE_GLADE=1 USE_RSVG=1 \
      USE_GNOMECANVAS=1 USE_GNOMEUI=1 USE_PANEL=1 USE_GTKSPELL=1 \
      USE_GTKSOURCEVIEW=1 USE_GTKSOURCEVIEW2=1
ocamldep gaux.ml gpointer.ml gutf8.ml glib.ml gobject.ml gdkEnums.ml pangoEnums.ml gtkEnums.ml pango.ml gdk.ml gdkEvent.ml gdkKeysyms.ml gdkPixbuf.ml gtk.ml gtkSignal.ml gtkStock.ml gtkObject.ml gtkData.ml gtkBase.ml gtkPack.ml gtkButton.ml gtkAssistant.ml gtkMenu.ml gtkMisc.ml gtkWindow.ml gtkList.ml gtkBin.ml gtkEdit.ml gtkRange.ml gtkText.ml gtkTree.ml gtkFile.ml gtkMain.ml gtkBroken.ml gPango.ml gDraw.ml gObj.ml gData.ml gMain.ml gContainer.ml gPack.ml gButton.ml gText.ml gMenu.ml gMisc.ml gTree.ml gList.ml gFile.ml gWindow.ml gAssistant.ml gBin.ml gEdit.ml gRange.ml gAction.ml gBroken.ml gUtil.ml gToolbox.ml glGtk.ml glade.ml rsvg.ml gnomeCanvas.ml gnoCanvas.ml gnomeDruid.ml gnoDruid.ml panel.ml gtkSpell.ml gtkSourceView2.ml gSourceView2.ml gtkInit.ml gtkBaseProps.ml gtkBinProps.ml gtkButtonProps.ml gtkEditProps.ml gtkListProps.ml gtkMenuProps.ml gtkMiscProps.ml gtkPackProps.ml gtkRangeProps.ml gtkTextProps.ml gtkTreeProps.ml gtkFileProps.ml gtkActionProps.ml gtkBrokenProps.ml gtkAssistantProps.ml ogtkBaseProps.ml ogtkBinProps.ml ogtkButtonProps.ml ogtkEditProps.ml ogtkListProps.ml ogtkMenuProps.ml ogtkMiscProps.ml ogtkPackProps.ml ogtkRangeProps.ml ogtkTextProps.ml ogtkTreeProps.ml ogtkFileProps.ml ogtkActionProps.ml ogtkBrokenProps.ml ogtkAssistantProps.ml \
      gtkThread.ml gtkThInit.ml gtkSourceView.ml gSourceView.ml gtkSourceViewProps.ml  ogtkSourceViewProps.ml sourceViewEnums.ml gtkSourceView2Props.ml  ogtkSourceView2Props.ml sourceViewEnums.ml gtkSignal.ml *.mli > .depend
make[1]: Nothing to be done for `depend'.
ocamldep  -I ../commons -I ../commons/lib-sexp  *.mli *.ml > .depend
ocamldep  -I ../commons -I ../commons/lib-json  *.mli *.ml > .depend
ocamllex  archi_code_lexer.mll
918 states, 1407 transitions, table size 11136 bytes
ocamldep  -I ../commons -I ../commons/lib-sexp -I ../commons/lib-json  *.mli *.ml > .depend
ocamldep  -I ../commons -I ../h_visualization -I ../h_version-control -I ../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../commons  *.mli *.ml > .depend
ocamllex  lexer_ml.mll
126 states, 1979 transitions, table size 8672 bytes
ocamlyacc -v parser_ml.mly
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_lisp.mll
27 states, 677 transitions, table size 2870 bytes
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_hs.mll
43 states, 878 transitions, table size 3770 bytes
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_php.mll
382 states, 7428 transitions, table size 32004 bytes
5939 additional bytes used for bindings
ocamlyacc -v parser_php.mly
5 shift/reduce conflicts.
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/lib-sexp -I ../../h_program-lang -I ../parsing  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../h_program-lang -I ../../h_version-control -I ../parsing  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamldep  -I ../../commons -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_java.mll
96 states, 2051 transitions, table size 8780 bytes
ocamlyacc -v parser_java.mly
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_python.mll
102 states, 909 transitions, table size 4248 bytes
ocamlyacc -v parser_python.mly
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamllex  lexer_csharp.mll
122 states, 835 transitions, table size 4072 bytes
ocamlyacc -v parser_csharp.mly
ocamldep  -I ../../commons -I ../../commons/ocamlextra -I ../../commons/lib-sexp -I ../../commons/lib-json -I ../../globals -I ../../h_program-lang  *.mli *.ml > .depend
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing  *.mli *.ml > .depend
set -e; for i in ; do make -C $i depend; done 
ocamldep  -I ../../commons -I ../../commons/ocollection -I ../../commons/ocamlextra -I ../../commons/lib-json -I ../../commons/lib-xml -I ../../external/ocamlpcre/lib -I ../../h_program-lang -I ../../h_version-control -I ../../globals -I ../parsing -I basic -I foundation -I database -I checker -I annotaters -I tools -I typing -I static_analysis -I dynamic_analysis -I qa_test -I finder  *.mli *.ml > .depend
set -e; for i in basic foundation tools typing finder checker annotaters database dynamic_analysis static_analysis qa_test qa_code ; do make -C $i depend; done 
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../commons/lib-xml -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic  *.mli *.ml > .depend
ocamldep -pp camlp4o -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../commons/lib-xml -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../annotaters -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation -I ../database  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation -I ../tools -I ../database -I ../dynamic_analysis -I ../static_analysis -I ../../../globals  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation -I ../database -I ../dynamic_analysis -I ../static_analysis  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../commons/lib-xml -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../annotaters -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep -pp camlp4o -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../commons/lib-xml -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation -I ../tools -I ../database -I ../dynamic_analysis -I ../static_analysis -I ../../../globals  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation  *.mli *.ml > .depend
ocamldep  -I ../../../commons -I ../../../commons/ocollection -I ../../../commons/ocamlextra -I ../../../commons/lib-json -I ../../../external/ocamlpcre/lib -I ../../../h_program-lang -I ../../../h_version-control -I ../../parsing -I .. -I ../basic -I ../foundation -I ../database  *.mli *.ml > .depend
ocamldep  -I ../commons -I ../globals -I ../h_program-lang -I ../h_visualization -I ../h_program-visual -I ../lang_php/parsing -I ../lang_php/analyze -I ../lang_php/analyze/basic -I ../lang_php/analyze/foundation -I ../lang_php/analyze/finder -I ../lang_php/analyze/checker -I ../lang_php/analyze/database -I ../lang_php/matcher -I ../lang_ml/parsing -I ../lang_ml/analyze -I ../lang_haskell/parsing -I ../lang_haskell/analyze -I ../lang_nw/parsing -I ../lang_nw/analyze -I ../lang_lisp/parsing -I ../lang_lisp/analyze -I ../lang_cpp/parsing -I ../lang_cpp/analyze -I ../lang_js/parsing -I ../lang_js/analyze -I ../lang_python/parsing -I ../lang_python/analyze -I ../lang_csharp/parsing -I ../lang_csharp/analyze -I ../lang_java/parsing -I ../lang_java/analyze -I ../external/ocamlgtk/src -I ../external/ocamlcairo/src  *.mli *.ml > .depend
brbrooks-mbp:~/dev/pfff% make
make rec 
make -C commons 
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c common.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c common.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c common_extra.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c interfaces.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c objet.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c seti.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c oset.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c oset.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c oassoc.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oseti.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oseth.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/osetb.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/osetpt.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oassocb.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oassoch.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oassoc_buffer.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oassoc_cache.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/oassocid.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c oarray.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/ograph2way.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocollection/ograph2way.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph_extended.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph_extended.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph_simple.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ograph_simple.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ofullcommon.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c math.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c simple_color.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c file_type.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c file_type.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c glimpse.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c glimpse.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c parser_combinators.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocamlextra/graph_ocamldot.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocamlextra/graph_ocamldot.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c sexp_common.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocaml.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml   -c ocaml.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml  -a -o commons.cma  ocamlextra/dumper.cmo ocamlextra/ANSITerminal.cmo ocamlextra/set_poly.cmo ocamlextra/map_poly.cmo ocamlextra/setPt.cmo common.cmo common_extra.cmo interfaces.cmo objet.cmo ocollection.cmo seti.cmo oset.cmo oassoc.cmo osequence.cmo ograph.cmo ocollection/oseti.cmo ocollection/oseth.cmo ocollection/osetb.cmo ocollection/osetpt.cmo ocollection/oassocb.cmo ocollection/oassoch.cmo ocollection/oassoc_buffer.cmo ocollection/oassoc_cache.cmo ocollection/oassocid.cmo oarray.cmo ocollection/ograph2way.cmo ograph_extended.cmo ograph_simple.cmo ofullcommon.cmo math.cmo simple_color.cmo file_type.cmo glimpse.cmo parser_combinators.cmo ocamlextra/enum.cmo ocamlextra/dynArray.cmo ocamlextra/suffix_tree.cmo ocamlextra/suffix_tree_ext.cmo ocamlextra/graph_ocamldot.cmo ocamlextra/pretty_printer_indent.cmo ocamlextra/oUnit.cmo ocamlextra/xML.cmo ocamlextra/xHTML.cmo lib-sexp/type.cmo lib-sexp/parser.cmo lib-sexp/lexer.cmo lib-sexp/pre_sexp.cmo lib-sexp/sexp_intf.cmo lib-sexp/sexp.cmo lib-sexp/path.cmo lib-sexp/conv.cmo lib-sexp/conv_error.cmo lib-json/json_type.cmo lib-json/json_out.cmo lib-json/netconversion.cmo lib-json/json_parser.cmo lib-json/json_lexer.cmo lib-json/json_in.cmo lib-json/json_io.cmo lib-xml/xml_types.cmo lib-xml/dtd_types.cmo lib-xml/xml_parser.cmo lib-xml/xml_lexer.cmo lib-xml/xmlParser.cmo lib-xml/dtd.cmo lib-xml/xml_parse.cmo lib-xml/xml_utils.cmo json_common.cmo sexp_common.cmo ocaml.cmo
make -C external/ocamlpcre &&  make regexp -C commons
make[4]: `libpcre_stubs.a' is up to date.
make[4]: `pcre.cma' is up to date.
make[4]: `libpcre_stubs.a' is up to date.
make[4]: `pcre.cmxa' is up to date.
make INCLUDESEXTRA="-I ../external/ocamlpcre/lib  -I ../../ocamlpcre/lib" commons_regexp.cma
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml -I ../external/ocamlpcre/lib  -I ../../ocamlpcre/lib  -c regexp.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml -I ../external/ocamlpcre/lib  -I ../../ocamlpcre/lib -a -o commons_regexp.cma regexp.cmo
make all -C external/ocamlgraph && make graph -C commons
make[2]: Nothing to be done for `all'.
make INCLUDESEXTRA="-I ../external/ocamlgraph" commons_graph.cma
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml -I ../external/ocamlgraph  -c graph.mli
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml -I ../external/ocamlgraph  -c graph.ml
ocamlc -g -dtypes -thread -I ocamlextra -I ocollection -I lib-sexp -I lib-json -I lib-xml -I ../external/ocamlgraph -a -o commons_graph.cma graph.cmo
make all -C external/ocamlgtk && make gui       -C commons 
make -C src all
ocamlmktop  -thread  -o lablgtktop unix.cma threads.cma  \
       -I . lablgtk.cma gtkThread.cmo
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138): Symbol not found: _gtk_major_version
  Referenced from: /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
  Expected in: flat namespace
 in /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
make[3]: *** [lablgtktop] Error 2
make[2]: *** [all] Error 2
make[1]: *** [rec] Error 2
make: *** [all] Error 2
aryx commented 13 years ago

Hi,

I've sent another email to the lablgtk author about this problem. Could you make clean and remove all .so in pfff/external/ocamlgtk/src and retry ? From your trace it looks like ocamlgtk source files were not even compiled.

brooksbp commented 13 years ago

Doing a "make clean" helped, but still more issues... I reinstalled macports and all the required packages, not sure why there's an arch mismatch:

ocamlc.opt   -w s -c gTree.mli
ocamlc.opt   -w s -c gTree.ml
ocamlc.opt   -w s -c gList.mli
ocamlc.opt   -w s -c gList.ml
ocamlc.opt   -w s -c gFile.mli
ocamlc.opt   -w s -c gFile.ml
ocamlc.opt   -w s -c gWindow.mli
ocamlc.opt   -w s -c gWindow.ml
ocamlc.opt   -w s -c gAssistant.mli
ocamlc.opt   -w s -c gAssistant.ml
ocamlc.opt   -w s -c gBin.mli
ocamlc.opt   -w s -c gBin.ml
ocamlc.opt   -w s -c gEdit.mli
ocamlc.opt   -w s -c gEdit.ml
ocamlc.opt   -w s -c gRange.mli
ocamlc.opt   -w s -c gRange.ml
ocamlc.opt   -w s -c gAction.mli
ocamlc.opt   -w s -c gAction.ml
ocamlc.opt   -w s -c gBroken.mli
ocamlc.opt   -w s -c gBroken.ml
ocamlc.opt   -w s -c gUtil.mli
ocamlc.opt   -w s -c gUtil.ml
ocamlc.opt   -w s -c gToolbox.mli
ocamlc.opt   -w s -c gToolbox.ml
ocamlmklib -verbose -ocamlc "ocamlc.opt" -ocamlopt "ocamlopt.opt" -o lablgtk -oc lablgtk2 ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -L/opt/local/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng12 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
+ gcc -m32 -bundle -flat_namespace -undefined suppress -o ./dlllablgtk2.so ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o -L/opt/local/lib   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lpangocairo-1.0 -lXinerama -lXi -lXrandr -lXcursor -lXcomposite -lXdamage -lgdk_pixbuf-2.0 -lpangoft2-1.0 -lgio-2.0 -lXext -lXfixes -lcairo -lpixman-1 -lXrender -lX11 -lxcb -lXau -lXdmcp -lpng12 -lpango-1.0 -lm -lfontconfig -lexpat -lfreetype -lz -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lglib-2.0 -lintl -liconv
ld: warning: in /opt/local/lib/libgtk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk-x11-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libatk-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangocairo-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXinerama.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXi.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrandr.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcursor.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXcomposite.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdamage.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgdk_pixbuf-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpangoft2-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgio-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXext.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXfixes.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libcairo.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpixman-1.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXrender.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libX11.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libxcb.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXau.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libXdmcp.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpng12.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libpango-1.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfontconfig.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libexpat.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libfreetype.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libz.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgobject-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgmodule-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libgthread-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libglib-2.0.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libintl.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
ld: warning: in /opt/local/lib/libiconv.dylib, file was built for unsupported file format which is not the architecture being linked (i386)
+ ar rc ./liblablgtk2.a  ml_gdkpixbuf.o ml_gdk.o ml_glib.o ml_gobject.o ml_gpointer.o ml_gvaluecaml.o wrappers.o ml_gtk.o ml_pango.o ml_gtkaction.o ml_gtkbin.o ml_gtkbroken.o ml_gtkbutton.o ml_gtkassistant.o ml_gtkedit.o ml_gtkfile.o ml_gtklist.o ml_gtkmenu.o ml_gtkmisc.o ml_gtkpack.o ml_gtkrange.o ml_gtkstock.o ml_gtktext.o ml_gtktree.o; ranlib ./liblablgtk2.a
+ ocamlc.opt -a  -o lablgtk.cma  gaux.cmo gpointer.cmo gutf8.cmo glib.cmo gobject.cmo gdkEnums.cmo pangoEnums.cmo gtkEnums.cmo pango.cmo gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gdkPixbuf.cmo gtk.cmo gtkSignal.cmo gtkStock.cmo gtkObject.cmo gtkBaseProps.cmo gtkBinProps.cmo gtkButtonProps.cmo gtkEditProps.cmo gtkListProps.cmo gtkMenuProps.cmo gtkMiscProps.cmo gtkPackProps.cmo gtkRangeProps.cmo gtkTextProps.cmo gtkTreeProps.cmo gtkFileProps.cmo gtkActionProps.cmo gtkBrokenProps.cmo gtkAssistantProps.cmo gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkAssistant.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkText.cmo gtkTree.cmo gtkFile.cmo gtkMain.cmo gtkBroken.cmo gPango.cmo gDraw.cmo gObj.cmo gData.cmo gMain.cmo ogtkBaseProps.cmo ogtkBinProps.cmo ogtkButtonProps.cmo ogtkEditProps.cmo ogtkListProps.cmo ogtkMenuProps.cmo ogtkMiscProps.cmo ogtkPackProps.cmo ogtkRangeProps.cmo ogtkTextProps.cmo ogtkTreeProps.cmo ogtkFileProps.cmo ogtkActionProps.cmo ogtkBrokenProps.cmo ogtkAssistantProps.cmo gContainer.cmo gPack.cmo gButton.cmo gText.cmo gMenu.cmo gMisc.cmo gTree.cmo gList.cmo gFile.cmo gWindow.cmo gAssistant.cmo gBin.cmo gEdit.cmo gRange.cmo gAction.cmo gBroken.cmo gUtil.cmo gToolbox.cmo -dllib -llablgtk2 -cclib -llablgtk2 -ccopt -L/opt/local/lib  -cclib -lgtk-x11-2.0 -cclib -lgdk-x11-2.0 -cclib -latk-1.0 -cclib -lpangocairo-1.0 -cclib -lXinerama -cclib -lXi -cclib -lXrandr -cclib -lXcursor -cclib -lXcomposite -cclib -lXdamage -cclib -lgdk_pixbuf-2.0 -cclib -lpangoft2-1.0 -cclib -lgio-2.0 -cclib -lXext -cclib -lXfixes -cclib -lcairo -cclib -lpixman-1 -cclib -lXrender -cclib -lX11 -cclib -lxcb -cclib -lXau -cclib -lXdmcp -cclib -lpng12 -cclib -lpango-1.0 -cclib -lm -cclib -lfontconfig -cclib -lexpat -cclib -lfreetype -cclib -lz -cclib -lgobject-2.0 -cclib -lgmodule-2.0 -cclib -lgthread-2.0 -cclib -lglib-2.0 -cclib -lintl -cclib -liconv 
ocamlc.opt   -w s -c -thread gtkThread.mli
ocamlc.opt   -w s -c -thread gtkThread.ml
ocamlc.opt   -w s -c gtkThInit.ml
ocamlmktop  -thread  -o lablgtktop unix.cma threads.cma  \
       -I . lablgtk.cma gtkThread.cmo
File "_none_", line 1, characters 0-1:
Error: Error on dynamically loaded library: ./dlllablgtk2.so: dlopen(./dlllablgtk2.so, 138): Symbol not found: _gtk_major_version
  Referenced from: /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
  Expected in: flat namespace
 in /Users/brbrooks/dev/pfff/external/ocamlgtk/src/dlllablgtk2.so
make[3]: *** [lablgtktop] Error 2
make[2]: *** [all] Error 2
make[1]: *** [rec] Error 2
make: *** [all] Error 2
brbrooks-mbp:~/dev/pfff% 
aryx commented 13 years ago

Maybe this can help ...:
http://yquem.inria.fr/pipermail/lablgtk/2009-September/000299.html