mldonkey pkgsrc broken?

Sdävtaker sdavtaker at gmail.com
Fri Feb 15 16:33:02 PST 2008


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.mli            opennapMain.ml
napigator.mll            opennapOptions.ml
opennapClients.ml        opennapProtocol.ml
opennapComplexOptions.ml    opennapServers.ml
opennapGlobals.ml        opennapTypes.ml
opennapInteractive.ml        winmx_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









More information about the Users mailing list