* Raimund Eimann (raimund@cs.auckland.ac.nz) [20040904 21:26]:
I'm trying to install mldonkey 2.5.21 or 2.5.22 from the sources on my Athlon64 running SuSE Linux 9.1 (x86_64).
As you've seen, it won't work.
For both versions "./configure" and "make" run without problems.
Yes, because mldonkeys confoigure is broken. mldonkey needs ocamlopt, i.e. the ocaml compiler that produces native code (in contrast to ocaml, which is a bytecode compiler) for a given platform. SUSE Linux 9.1 comes with ocaml 3.06 which doesn't support AMD64 natively. But mldonkey's configure doesn't stop with an error but simply sets OCAMLOPT to 'no', which results in this:
# make install no -inline 10 -I src/utils/cdk -I src/daemon/chat -I src/utils/lib -I ^^
The bizarre thing is that I can compile and install these packages on SuSE 9.1 for i586 without running into this problem.
That's because ocamlc 3.06 does supoort x86 natively.
Did anyone have a similar experience with trying to get mldonkey running on SuSE for AMD64? Or better: is anyone able to help with that?
The current version of ocaml, 3.08.1, does support AMD64 natively, which is
why I'm currently building SUSE packages of it for possible inclusion in the
next version of SUSE Linux. I'll put a package for 9.1-x86_64 in
pub/people/pth/9.1/x86_64. With that version of ocaml you should be able to
compile mldonkey for AMD64.
Philipp
--
Philipp Thomas