|
View:
New views
4 Messages
—
Rating Filter:
Alert me
|
|
|
lablgtk 1.2.7-1002 on 10.6 64bit fails to buildI just bootstrapped a 64 bit fink on a clean install of
10.6.1 (apple's X11, latest xcode 3.2.1, on a macpro booted 64bit with case-sensitive file system), and am trying to install unison: this is the only remaining dependency, and unison-nox installs OK (haven't tested yet). Looking back in the list archives suggests that the problem may be related to how new ocaml is, 3.11.1-2 is newer than when I built lablgtk under 10.5. I tried to peruse the lablgtk website, there are references to fixes for unison, but I can't tell whether they are relevant. There are a couple of build errors: + /sw/bin/ocamlc -a -o lablgtk.cma gaux.cmo gpointer.cmo glib.cmo gdk.cmo gdkE vent.cmo gdkKeysyms.cmo gtk.cmo gtkArgv.cmo gtkSignal.cmo gtkData.cmo gtkBase.cm o gtkPack.cmo gtkButton.cmo gtkMenu.cmo gtkMisc.cmo gtkWindow.cmo gtkTree.cmo gt kList.cmo gtkBin.cmo gtkEdit.cmo gtkRange.cmo gtkMain.cmo gtkNew.cmo gDraw.cmo g Obj.cmo gMain.cmo gData.cmo gContainer.cmo gPack.cmo gButton.cmo gMenu.cmo gMisc .cmo gTree.cmo gList.cmo gWindow.cmo gBin.cmo gEdit.cmo gRange.cmo gUtil.cmo gTo olbox.cmo -dllib -llablgtk -cclib -llablgtk -ccopt -L/sw/lib -ccopt -L/usr/X11R6 /lib -cclib -lgtk -cclib -lgdk -cclib -lgmodule -cclib -lglib -cclib -lintl -cc lib -lXext -cclib -lX11 -cclib -lm ocamlc -w s -c gtkInit.ml ocamlmktop -o lablgtktop unix.cma str.cma -I . lablgtk.cma gtkInit.cmo File "_none_", line 1, characters 0-1: Error: Error on dynamically loaded library: ./dlllablgtk.so: dlopen(./dlllablgtk .so, 138): Symbol not found: _libintl_bindtextdomain Referenced from: /sw/lib/libgtk-1.2.0.dylib : in /sw/lib/libgtk-1.2.0.dylib make[1]: *** [lablgtktop] Error 2 rm varcc.ml make: *** [all] Error 2 [which leads to] cd src && make install if test -d /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk; then : ; else mkdir -p /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk; fi cp gaux.cmi gpointer.cmi glib.cmi gdk.cmi gdkEvent.cmi gdkKeysyms.cmi gtk.cmi gtkArgv.cmi gtkSignal.cmi gtkData.cmi gtkBase.cmi gtkPack.cmi gtkButton.cmi gtkMenu.cmi gtkMisc.cmi gtkWindow.cmi gtkTree.cmi gtkList.cmi gtkBin.cmi gtkEdit.cmi gtkRange.cmi gtkMain.cmi gtkNew.cmi gDraw.cmi gObj.cmi gMain.cmi gData.cmi gContainer.cmi gPack.cmi gButton.cmi gMenu.cmi gMisc.cmi gTree.cmi gList.cmi gWindow.cmi gBin.cmi gEdit.cmi gRange.cmi gUtil.cmi gToolbox.cmi gtkInit.cmi gtkThread.cmi /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk cp -p *.mli /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk cp -p gaux.ml gpointer.ml glib.ml gdk.ml gdkEvent.ml gdkKeysyms.ml gtk.ml gtkArgv.ml gtkSignal.ml gtkData.ml gtkBase.ml gtkPack.ml gtkButton.ml gtkMenu.ml gtkMisc.ml gtkWindow.ml gtkTree.ml gtkList.ml gtkBin.ml gtkEdit.ml gtkRange.ml gtkMain.ml gtkNew.ml gDraw.ml gObj.ml gMain.ml gData.ml gContainer.ml gPack.ml gButton.ml gMenu.ml gMisc.ml gTree.ml gList.ml gWindow.ml gBin.ml gEdit.ml gRange.ml gUtil.ml gToolbox.ml gtkInit.ml gtkThread.ml gtkThInit.ml /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk cp lablgtk.cma gtkThread.cmo gtkInit.cmo gtkThInit.cmo /sw/src/fink.build/root-lablgtk-1.2.7-1002/sw/lib/ocaml/lablgtk cp: gtkThread.cmo: No such file or directory cp: gtkThInit.cmo: No such file or directory make[1]: *** [install] Error 1 make: *** [install] Error 2 Am happy to test suggestions... many thanks, -- Viv ________________________________________________ Dr Viv Kendon http://quantum.leeds.ac.uk/~viv tel: +44 113 343 4864 Physics and Astronomy Quantum Information Group University of Leeds ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@... https://lists.sourceforge.net/lists/listinfo/fink-users |
|
|
Re: lablgtk 1.2.7-1002 on 10.6 64bit fails to buildViv Kendon wrote:
[] > Error: Error on dynamically loaded library: ./dlllablgtk.so: > dlopen(./dlllablgtk > .so, 138): Symbol not found: _libintl_bindtextdomain > Referenced from: /sw/lib/libgtk-1.2.0.dylib > : > in /sw/lib/libgtk-1.2.0.dylib > make[1]: *** [lablgtktop] Error 2 This looks like a bug in the gtk+-shlibs package: libgtk-1.2.0.dylib is linked with the -undefined dynamic_lookup flag, which most of the time is a bad idea for dylibs. It should link explicitly with libintl from libgettext3-shlibs. -- Martin ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@... https://lists.sourceforge.net/lists/listinfo/fink-users |
|
|
Re: lablgtk 1.2.7-1002 on 10.6 64bit fails to buildOn Nov 8, 2009, at 5:16 PM, Martin Costabel wrote: > Viv Kendon wrote: > [] >> Error: Error on dynamically loaded library: ./dlllablgtk.so: dlopen(./dlllablgtk >> .so, 138): Symbol not found: _libintl_bindtextdomain >> Referenced from: /sw/lib/libgtk-1.2.0.dylib >> : >> in /sw/lib/libgtk-1.2.0.dylib >> make[1]: *** [lablgtktop] Error 2 > > This looks like a bug in the gtk+-shlibs package: libgtk-1.2.0.dylib is linked with the -undefined dynamic_lookup flag, which most of the time is a bad idea for dylibs. It should link explicitly with libintl from libgettext3-shlibs. > > -- > Martin The package really wants to use undefined symbols (libgtk doesn't link to libgdk), and I couldn't manage to get rid of it without cascading libtool weirdness. Instead I've fixed another problem - it was detecting all libraries as uninstalled because file(1) gives different output for 32-bit and 64-bit libraries. So now it at least puts -lintl into the link line again. ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@... https://lists.sourceforge.net/lists/listinfo/fink-users |
|
|
Re: lablgtk 1.2.7-1002 on 10.6 64bit fails to buildOn Wed, 18 Nov 2009, Alexander Strange wrote:
> Instead I've fixed another problem - it was detecting all > libraries as uninstalled because file(1) gives different > output for 32-bit and 64-bit libraries. So now it at least > puts -lintl into the link line again. That seems to do the trick, lablgtk now build for me: Information about 8327 packages read in 0 seconds. i lablgtk 1.2.7-1002 Objective Caml interface to gtk+ i lablgtk2 2.12.0-3 Objective Caml interface to gtk+2 However, unison does not: I'll start a new thread... many thanks, -- Viv ________________________________________________ Dr Viv Kendon http://quantum.leeds.ac.uk/~viv tel: +44 113 343 4864 Physics and Astronomy Quantum Information Group University of Leeds ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ Fink-users mailing list Fink-users@... https://lists.sourceforge.net/lists/listinfo/fink-users |
| Free embeddable forum powered by Nabble | Forum Help |