Jump to content

MacPorts & mlDonkey


JeroenJ
 Share

4 posts in this topic

Recommended Posts

Hi, I've been trying to install mlDonkey via MacPorts for some time now, but I still can't get it to work.

 

First time I tried it took about an hour, but afterwards I saw it installed all packages that were needed for mlDonkey, so that was fine. But now it needs to install mlDonkey itself, but it won't install, I'm always getting this error:

 

--->  Configuring mldonkey
Arguments to configure:  '--prefix=/opt/local' 'CC=gcc' 'CFLAGS=-O2' 'LDFLAGS=-L/opt/local/lib' 'CPPFLAGS=-I/opt/local/include' 'CXXFLAGS=-O2'
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... powerpc-apple-darwin8.10.0
checking host system type... powerpc-apple-darwin8.10.0
checking for sed... sed

-------------------------------
    Checking system tools.
--------------------------------
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking if make is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... no
checking for wget... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mldonkey/work/mldonkey-2.8.5/config/wget
----------------------------------------
    Checking system tools finished.
----------------------------------------

--------------------------------
    Checking Ocaml compiler.
--------------------------------
checking for ocamlc.opt... /opt/local/bin/ocamlc.opt
checking for ocamlc... /opt/local/bin/ocamlc.opt
checking for camlp4... /opt/local/bin/camlp4
Need build
********  Objective-Caml 3.09.3 is required  *********
*******  Check [url="http://caml.inria.fr/"]http://caml.inria.fr/[/url]  ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?
./configure: line 4612: read: read error: 0: Bad file descriptor
Error: Target org.macports.configure returned: configure failure: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mldonkey/work/mldonkey-2.8.5" && ./configure --prefix=/opt/local " returned error 1
Command output: --------------------------------
    Checking system tools.
--------------------------------
checking for ranlib... ranlib
checking for gmake... no
checking for make... make
checking if make is GNU make ... yes
checking for bzip2... bzip2
checking for gzip... (cached) bzip2
checking for perl... /usr/bin/perl
checking for rpmbuild... no
checking for rpm... no
checking for wget... no
checking for wget... /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_net_mldonkey/work/mldonkey-2.8.5/config/wget
----------------------------------------
    Checking system tools finished.
----------------------------------------

--------------------------------
    Checking Ocaml compiler.
--------------------------------
checking for ocamlc.opt... /opt/local/bin/ocamlc.opt
checking for ocamlc... /opt/local/bin/ocamlc.opt
checking for camlp4... /opt/local/bin/camlp4
Need build
********  Objective-Caml 3.09.3 is required  *********
*******  Check [url="http://caml.inria.fr/"]http://caml.inria.fr/[/url]  ********
Do you want this script to try to download and install ocaml
LOCALLY in mldonkey directory ?
./configure: line 4612: read: read error: 0: Bad file descriptor

Warning: the following items did not execute (for mldonkey): org.macports.activate org.macports.configure org.macports.build org.macports.destroot org.macports.install

Error: Status 1 encountered during processing.

 

I've looked for the ocaml packages, but it is installed, I have version 3.10.0 installed, should that be the problem, and if so, does anybody know how to fix it ? or is it another problem ?

 

Thanks in advance,

 

JJ

 

 

If this needs to be in another section, please let me know, it might belong in the Programming section, but I don't think so

Link to comment
Share on other sites

  • 2 weeks later...

No go.. wasn't able to install it over 3.10, so I uninstalled 3.10. After installing 3.9.3 it wasn't able to install it too (forgot which error)

 

I have no clue how to get it installed :s

Link to comment
Share on other sites

 Share

×
×
  • Create New...