From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (from majordomo@localhost) by pauillac.inria.fr (8.7.6/8.7.3) id KAA32527; Mon, 15 Oct 2001 10:45:06 +0200 (MET DST) X-Authentication-Warning: pauillac.inria.fr: majordomo set sender to owner-caml-list@pauillac.inria.fr using -f Received: from concorde.inria.fr (concorde.inria.fr [192.93.2.39]) by pauillac.inria.fr (8.7.6/8.7.3) with ESMTP id KAA32513 for ; Mon, 15 Oct 2001 10:45:05 +0200 (MET DST) Received: from gromit.it.su.se (gromit.it.su.se [130.237.95.77]) by concorde.inria.fr (8.11.1/8.10.0) with ESMTP id f9F8j4v27538 for ; Mon, 15 Oct 2001 10:45:05 +0200 (MET DST) Received: (from rnyberg@localhost) by gromit.it.su.se (8.11.6/8.11.6) id f9F8ixW16708 for caml-list@inria.fr; Mon, 15 Oct 2001 10:44:59 +0200 (CEST) (envelope-from rnyberg) Date: Mon, 15 Oct 2001 10:44:59 +0200 From: Richard Nyberg To: caml-list@inria.fr Subject: [Caml-list] Problem building O'Caml 3.03-alpha Message-ID: <20011015104459.A16172@gromit.it.su.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-caml-list@pauillac.inria.fr Precedence: bulk I'm trying to build the 3.03-alpha release on FreeBSD 4.3 with tk but I have some problems. This is how I try to build it ------------ # ./configure \ -prefix /pkg/ocaml/3.03-alpha \ -libdir /pkg/ocaml/3.03-alpha/lib -with-pthread \ -tkdefs '-I/pkg/tcltk/8.3.3/include' \ -tklibs '-Wl,-rpath=/pkg/tcltk/8.3.3/lib,-rpath-link=/pkg/tcltk/8.3.3/lib -L/pkg/tcltk/8.3.3/lib -ltk8.3 -ltcl8.3' ------------- Output from configure seems ok. ------------- # make world ../../../tools/ocamlmklib -ocamlc '../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib' -o labltk -oc labltk41 \ ../support/support.cmo ../support/widget.cmo ../support/protocol.cmo ../support/textvariable.cmo ../support/timer.cmo ../support/fileevent.cmo tk.cmo scale.cmo radiobutton.cmo dialog.cmo selection.cmo toplevel.cmo frame.cmo canvas.cmo pack.cmo listbox.cmo grab.cmo button.cmo grid.cmo imagephoto.cmo bell.cmo w info.cmo imagebitmap.cmo tkwait.cmo scrollbar.cmo checkbutton.cmo palette.cmo focus.cmo optionmenu.cmo wm.cmo entry.cmo text.cmo message.cmo option.cmo clipboard.cmo menubutton.cmo label.cmo place.cmo menu.cmo \ -Wl,-rpath=/pkg/tcltk/8.3.3/lib,-rpath-link=/pkg/tcltk/8.3.3/lib -L/pkg/tcltk/8.3.3/lib -ltk8.3 -ltcl8.3 -L/usr/X11R6/lib -lX11 Unknown option '-Wl,-rpath=/pkg/tcltk/8.3.3/lib,-rpath-link=/pkg/tcltk/8.3.3/lib', ignored ../../../boot/ocamlrun ../../../ocamlc -I ../../../stdlib -linkall -o labltktop -I ../support \ -I ../../../toplevel toplevellib.cma labltk.cma \ -I ../../unix unix.cma \ -I ../../str str.cma \ `if true; then echo -dllpath /pkg/ocaml/3.03-alpha/lib/labltk; fi` \ topmain.cmo Error on dynamically loaded library: Shared object "libtk8.3.so" not found gmake[2]: *** [labltktop] Error 2 gmake[2]: Leaving directory `/yap/src/ocaml-3.03-alpha/otherlibs/labltk/lib' gmake[1]: *** [all] Error 2 gmake[1]: Leaving directory `/yap/src/ocaml-3.03-alpha/otherlibs/labltk' gmake: *** [otherlibraries] Error 2 ------------ Do you have any ideas on how to make it build correctly? Thanks in advance, -Richard ------------------- Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/ To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr