BUG: lablgtk no longer compiles
I succeeded to install lablgtk at some point. I removed it to test a port and
now, I no longer can install it. I'll have a look at it later.
Here's the log:
---> Fetching lablgtk
---> Verifying checksum for lablgtk
---> Extracting lablgtk
---> Configuring lablgtk
Error: Target com.apple.configure returned: shell command "make" returned error 2
Command output: ocamlc -w s -c gButton.mli
ocamlc -w s -c gButton.ml
ocamlc -w s -c gMenu.mli
ocamlc -w s -c gMenu.ml
ocamlc -w s -c gMisc.mli
ocamlc -w s -c gMisc.ml
ocamlc -w s -c gWindow.mli
ocamlc -w s -c gWindow.ml
ocamlc -w s -c gTree.mli
ocamlc -w s -c gTree.ml
ocamlc -w s -c gList.mli
ocamlc -w s -c gList.ml
ocamlc -w s -c gBin.mli
ocamlc -w s -c gBin.ml
ocamlc -w s -c gEdit.mli
ocamlc -w s -c gEdit.ml
ocamlc -w s -c gRange.mli
ocamlc -w s -c gRange.ml
ocamlc -w s -c gUtil.mli
ocamlc -w s -c gUtil.ml
ocamlc -w s -c gToolbox.mli
ocamlc -w s -c gToolbox.ml
ocamlmklib -verbose -o lablgtk gaux.cmo gpointer.cmo glib.cmo gdk.cmo
gdkEvent.cmo gdkKeysyms.cmo gtk.cmo gtkArgv.cmo gtkSignal.cmo gtkData.cmo
gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo
gtkTree.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkMain.cmo
gtkNew.cmo gDraw.cmo gObj.cmo gMain.cmo gData.cmo gContainer.cmo gPack.cmo
gButton.cmo gMenu.cmo gMisc.cmo gWindow.cmo gTree.cmo gList.cmo gBin.cmo
gEdit.cmo gRange.cmo gUtil.cmo gToolbox.cmo -L/opt/local/lib -L/usr/X11R6/lib
-lgtk -lgdk -lgmodule -lglib -lintl -lXext -lX11 -lm
+ /opt/local/bin/ocamlc -a -o lablgtk.cma gaux.cmo gpointer.cmo glib.cmo
gdk.cmo gdkEvent.cmo gdkKeysyms.cmo gtk.cmo gtkArgv.cmo gtkSignal.cmo
gtkData.cmo gtkBase.cmo gtkPack.cmo gtkButton.cmo gtkMenu.cmo gtkMisc.cmo
gtkWindow.cmo gtkTree.cmo gtkList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo
gtkMain.cmo gtkNew.cmo gDraw.cmo gObj.cmo gMain.cmo gData.cmo gContainer.cmo
gPack.cmo gButton.cmo gMenu.cmo gMisc.cmo gWindow.cmo gTree.cmo gList.cmo
gBin.cmo gEdit.cmo gRange.cmo gUtil.cmo gToolbox.cmo -dllib -llablgtk -cclib
-llablgtk -ccopt -L/opt/local/lib -ccopt -L/usr/X11R6/lib -cclib -lgtk -cclib
-lgdk -cclib -lgmodule -cclib -lglib -cclib -lintl -cclib -lXext -cclib -lX11
-cclib -lm
ocamlc -w s -c gtkInit.ml
ocamlmktop -o lablgtktop unix.cma str.cma -I . lablgtk.cma gtkInit.cmo
Error on dynamically loaded library: cannot access this bundle
make[1]: * [lablgtktop] Error 2
rm varcc.ml
make: * [all] Error 2
The bug actually is in ocaml labltk variant, or I had something wrong in my setup. Since I fixed the labltk variant, it works fine (with and without that variant for ocaml).