Re: mldonkey pkgsrc broken?
Pkg was updated and works 100% now. :-) Thanks TK Sdav Justin C. Sherrill escribió: On Sat, February 16, 2008 7:28 pm, Sdävtaker wrote: That didnt work, actual ocaml pkg is 3.11.0 and ml want the 3.10.1 exactly, so it keeps installing the 3.10.1 from ftp. The version of ocaml in pkgsrc is 3.10.1 - http://pkgsrc.se/lang/ocaml. It's also listed as a dependency for mldonkey in pkgsrc, so installing mldonkey should cause pkgsrc to add ocaml first. It looks like it should all work.
Re: mldonkey pkgsrc broken?
On Sat, February 16, 2008 7:28 pm, Sdävtaker wrote: > That didnt work, actual ocaml pkg is 3.11.0 and ml want the 3.10.1 > exactly, so it keeps installing the 3.10.1 from ftp. The version of ocaml in pkgsrc is 3.10.1 - http://pkgsrc.se/lang/ocaml. It's also listed as a dependency for mldonkey in pkgsrc, so installing mldonkey should cause pkgsrc to add ocaml first. It looks like it should all work.
Re: mldonkey pkgsrc broken?
That didnt work, actual ocaml pkg is 3.11.0 and ml want the 3.10.1 exactly, so it keeps installing the 3.10.1 from ftp. Justin C. Sherrill escribió: On Fri, February 15, 2008 7:23 pm, Sdävtaker wrote: Hey, I was trying to install mldonkey, and got 2 errors: It looks like it's helpfully trying to install ocaml itself to get going. Perhaps if you installed pkgsrc/lang/ocaml first, it would work, as it would then be in your $PATH. (I haven't tried it.)
Re: mldonkey pkgsrc broken?
On Fri, February 15, 2008 7:23 pm, Sdävtaker wrote: > Hey, I was trying to install mldonkey, and got 2 errors: It looks like it's helpfully trying to install ocaml itself to get going. Perhaps if you installed pkgsrc/lang/ocaml first, it would work, as it would then be in your $PATH. (I haven't tried it.)
mldonkey pkgsrc broken?
Hey, I was trying to install mldonkey, and got 2 errors: Checking Ocaml compiler. checking for ocamlc.opt... /usr/pkgsrc/net/mldonkey/work/.buildlink/bin/ocamlc.opt checking for i386-pc-dragonfly-ocamlc... /usr/pkgsrc/net/mldonkey/work/.buildlink/bin/ocamlc.opt checking for camlp4... /usr/pkg/bin/camlp4 Need build Objective-Caml 3.10.0 is required * *** Check http://caml.inria.fr/ Do you want this script to try to download and install ocaml LOCALLY in mldonkey directory ? yes Downloading ... no: not found no: not found no: not found download Ocaml 3.10.0 not successful, try do download it manually * from http://caml.inria.fr/pub/distrib/ * and copy the tar.gz into /usr/pkgsrc/net/mldonkey/work/mldonkey-2.9.2/patches * *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/mldonkey *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/mldonkey I solved this one doing: davoi# wget http://caml.inria.fr/pub/distrib/ocaml-3.10/ocaml-3.10.0.tar.gz /usr/pkgsrc/net/mldonkey/work/mldonkey-2.9.2/patches/ocaml-3.10.0.tar.gz Anyway after a while, i got this one: Compiling CryptoPP.cc can take several minutes, on slow machines up to half an hour. ===> Building for mldonkey-2.9.2 /usr/pkgsrc/net/mldonkey/work/mldonkey-2.9.2/patches/local/bin/ocamllex src/networks/opennap/napigator.mll gmake: /usr/pkgsrc/net/mldonkey/work/mldonkey-2.9.2/patches/local/bin/ocamllex: Command not found gmake: *** [src/networks/opennap/napigator.ml] Error 127 *** Error code 2 Stop. bmake: stopped in /usr/pkgsrc/net/mldonkey *** Error code 1 Stop. bmake: stopped in /usr/pkgsrc/net/mldonkey After this i did: davoi# cd mldonkey-2.9.2/src/networks/opennap/ davoi# ls napigator.mliopennapMain.ml napigator.mllopennapOptions.ml opennapClients.mlopennapProtocol.ml opennapComplexOptions.mlopennapServers.ml opennapGlobals.mlopennapTypes.ml opennapInteractive.mlwinmx_xor_c.c and: cd /usr/pkgsrc/net/mldonkey/work/mldonkey-2.9.2/patches/local/bin/ > ls ocamlc ocamlrun > ls -l total 1148 -rwxr-xr-x 1 root wheel 1017839 Feb 15 21:43 ocamlc -rwxr-xr-x 1 root wheel 126410 Feb 15 21:43 ocamlrun > Actually it is true that there is no file named like the script is looking for. Any idea how to make it work? Thanks Sdav