the ebuild hard encode option: --enable-ocamlver=3.10. so when ocaml3.11 installed , compiler failed. Reproducible: Always Steps to Reproduce: when ocaml installed is not 3.10 --- mldonkey-3.0.0.ebuild.old 2009-12-15 22:28:55.000000000 +0800 +++ mldonkey-3.0.0.ebuild 2009-12-15 22:16:01.000000000 +0800 @@ -87,7 +87,7 @@ $(use_enable gnutella gnutella2) \ $(use_enable gd) \ $(use_enable magic) \ - --enable-ocamlver=3.10 \ + --enable-ocamlver=3.11 \ ${myconf} || die "econf failed" } just for me.
Same here. The suggested fix works.
econf \ --sysconfdir=/etc/mldonkey \ --sharedstatedir=/var/mldonkey \ --localstatedir=/var/mldonkey \ --enable-checks \ --disable-batch \ $(use_enable fasttrack) \ $(use_enable gnutella) \ $(use_enable gnutella gnutella2) \ $(use_enable gd) \ $(use_enable magic) \ --enable-ocamlver=3.11 \ ${myconf} || die "econf failed" Umm just it :P and it works, please add it please as an USEflag or by default
This bug is fixed in MLDonkey 3.0.2
Use mldonkey-3.0.5