MLDonkey Forum Index
Homepage •  Bugs •  Tasks •  Patches •  SF.net Project Page •  ChangeLog •  German forum •  Links •  Wiki •  Downloads
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Precompiled Linux (Debian Etch) ARM cores binaries-release
Goto page Previous  1, 2, 3, ... 21, 22, 23  Next
 
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms
View previous topic :: View next topic  
Author Message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Mon Oct 22, 2007 3:49 pm    Post subject: Reply with quote

ping
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
amazeme
neophyte


Joined: 17 Oct 2007
Posts: 5

PostPosted: Thu Oct 25, 2007 1:40 am    Post subject: Reply with quote

Thanks for your effort!
I have a arm9 test platform and I want to try build mldonky2.9.1 on it.
But I always failed when I compile ocaml 3.10.0.
Could you teach me how do you build this static version?

My method:
I first try cross compile on my FC4 but also failed in ocaml. it seem need compile a arm-baase program when it is compiling.
Then, I try again to compile it on real arm platform, but also get fail on ocaml.

Thanks your reading!
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Thu Oct 25, 2007 7:43 am    Post subject: Reply with quote

1)Have you tried my core?, have you successfully run my core on your box? (have you used my libs with LD_LIBRARY to avoid problems?)Please tell your ARM's box model. Thanks


2)HOWTO
I wasn't never able to cross compiling, it is an hard task
I suggest you to work directly on your Arm platform( I use a qemu emulated box which I have set up using Aurelien tips
http://www.aurel32.net/info/debian_arm_qemu.php

I have installed debian on my Arm's virtual box, then I have downloaded all the necessary libraries and stuff with apt-get by looking in this guide:
http://mldonkey.sourceforge.net/CompilationProblems

(..gcc. libbz...stuff.stuff...)

About ocaml let's download the version 3.09.3 source archive on your arm's box (from INRIA ocaml's site) (I have reminds of few minor issues with 3.10 version on exotic boxes).
Decompress ocaml archive and, if interested, read INSTALL.txt.

Here I don't remind exacly (I have too much virtual box here)...

try make world.opt

THIS PART IS ONLY IF make world.opt has failed...
(if this fail ... remind that World.opt is a combination of make world; make opt; make opt.opt ....)
The last step is not necessary you can try only with
make world;
make opt;


then:

$su (use root user)
#umask 022 (or 002, don't remind,look at INSTALL.TXT details)
#make install

exit superuser and your ocaml environment 3.09.3 is ready and waiting.

came back to http://mldonkey.sourceforge.net/CompilationProblems and copile your own mldonkey.
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Thu Oct 25, 2007 7:46 am    Post subject: Reply with quote

Download mldonkey sources,
and then:
./configure
./make mlnet.static

if you are looking only to the binary
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
amazeme
neophyte


Joined: 17 Oct 2007
Posts: 5

PostPosted: Tue Nov 13, 2007 7:24 am    Post subject: Reply with quote

Quote:
1)Have you tried my core?, have you successfully run my core on your box? (have you used my libs with LD_LIBRARY to avoid problems?)Please tell your ARM's box model. Thanks

I have tried your 2.9.1 core on my ARM-9 platform(full version) and workable on it.
I just put "mlnet" execuable file to my ARM-9 platform and it can work for BT downloading. The files in the full-version archive are no use.
But if I use search function to find out donkey to download, it will cause mldonkey turn off.
I don't know why? (is it a DNS resolution problem? Or should I put other files into box?)

My ARM-9 platform is using montavista and LSI SOC chip.

Quote:
I suggest you to work directly on your Arm platform( I use a qemu emulated box which I have set up using Aurelien tips

I also has try to work directly on my ARM platform but also meet this problem as other ones.
http://caml.inria.fr/mantis/view.php?id=3746
Therefore, I can't compiler it on my arm platform. Maybe I should try your compile method.
Can you descript detail of how to building your emulation environment?

Another request question
I need develop this application to my ARM-based box(business production) and customize this MLDonkey.
If I use your core, how to change the web UI?(remove some UI items,e.x. search, options,etc.)
I need remove some unused items. Actually I only want to has BT function and remove the onters function and webUI to reduce core size.
Can you help me? If you can, please tell me your E-mail to me(Maybe you can use private message). I will contact with you to and provide help for you! Thanks
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Tue Nov 13, 2007 7:56 am    Post subject: Reply with quote

Hi,
I suggest to read deeply the first post on this thread.There are instructions about using my libraries.
+ I suggest, using the full release, to manually disable the donkeysui from configuration panel, (example:Webinterface->Options->edonkey).


I also suggest to paste here your mlnet.log file (look into your .mldonkey directory), DNS problems and other issues are sometimes reported there.

I have reminds of Ocaml 3.10 having problems on ARMs, spiralvoice has suggested solutions but at the moment I just keep using 3.09.3 cause I'm lazy.
Have a look at compilation wiki, you can also try disabling manually donkeysui when compiling.

./configure --disable-multinet --enable-bittorrent --enable-filetp --disable-donkeysui
make release.mlnet.static

don't know if configure option are perfect.

To Illustrate the way I have build my enviroment is a bit longer and I can't do it now.(Perhaps in few days, next weekend)
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/


Last edited by fabtar on Tue Nov 13, 2007 8:01 am; edited 1 time in total
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Tue Nov 13, 2007 8:01 am    Post subject: Reply with quote

Quote:

Another request question
I need develop this application to my ARM-based box(business production) and customize this MLDonkey.
If I use your core, how to change the web UI?(remove some UI items,e.x. search, options,etc.)
I need remove some unused items. Actually I only want to has BT function and remove the onters function and webUI to reduce core size.
Can you help me? If you can, please tell me your E-mail to me(Maybe you can use private message). I will contact with you to and provide help for you! Thanks


You can compile a BT only core with..
./configure --disable-multinet --disable-edonkey --enable-filetp

In order to fully customize mldonkey you need a ocaml's programmer, change sources and compile it(and release the changed sources Wink )

If you are looking for a BT only solution, perhaps C-torrent , Rtorrent are a bit lighter.I have never used them...
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Tue Nov 13, 2007 8:11 am    Post subject: Reply with quote

amazeme wrote:

Can you help me? If you can, please tell me your E-mail to me(Maybe you can use private message). I will contact with you to and provide help for you! Thanks


I'm not a ocaml's programmer, I'm only an enthusiast with a bunch of ocaml's notions. I suggest to contact directly spiralvoice and pango about hacking the code.
I inform you that they are very busy.
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
amazeme
neophyte


Joined: 17 Oct 2007
Posts: 5

PostPosted: Wed Nov 14, 2007 9:28 am    Post subject: Reply with quote

fabtar wrote:
I'm not a ocaml's programmer, I'm only an enthusiast with a bunch of ocaml's notions. I suggest to contact directly spiralvoice and pango about hacking the code.
I inform you that they are very busy.


Yes, anyway thanks for your help!

I have found out the method to change the web UI by modify configure file.
I will try continue to compiler ocaml and mldonkey on my environment.
I know can compiler mldonkey by disable option to reduce core size.
The ctorrent and others bt client don't satisfy for me.
But the first challenage is ocaml compiler always failed.
That is why I can't compiler well.
Back to top
View user's profile Send private message
fabtar
Sage


Joined: 04 Feb 2004
Posts: 1580
Location: Italy

PostPosted: Mon Nov 19, 2007 4:58 pm    Post subject: Reply with quote

No big changes, I have only changed something about packaging.
I have done a single compressed archive from uncompressed release-tarballs.This has raised compression ratio.archive is littler than ever.

I have (perhaps) solved an issue in my compiling scripts which could have caused suid to be compiled in all releases.
I have also added a readme.html with the thread's first post.
_________________
ARM,ARMEL,MIPS,MIPSEL,POWERPC mldonkey cores: http://fabtar.ygrek.org.ua/
Back to top
View user's profile Send private message
yangliu66
neophyte


Joined: 21 Jan 2008
Posts: 8

PostPosted: Tue Jan 22, 2008 5:22 am    Post subject: Reply with quote

fabtar wrote:
+ do you like other cores options/combinations... tell me.
+ please give me feedback&suggestions&observations

I don't think fasttrack is a useful network, plus gnutella's plugin is a bit junky at the moment.

P.s: I think I'll do the same for PowerPC architecture, are Linkstation PPC using debian too?


Hi there,
I had download mlnet,and run it on my S3C2410 board (arm9+linux).
but something is error with it.
Please help.

bash-2.03# pwd
/usr/local/mldonkey
bash-2.03# ./mlnet
1970/01/01 00:23:10 [cO] Starting MLDonkey 2.9.2.CVS ...
1970/01/01 00:23:10 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil
es 1024
1970/01/01 00:23:10 [cO] MLDonkey is working in /.mldonkey

1970/01/01 00:23:10 [cO] creating new MLDonkey base directory in /.mldonkey

1970/01/01 00:23:10 error mkdir failed on /.mldonkey: Operation not permitted fo
r directory /.mldonkey
bash-2.03#

The directory "/" is read only, "/usr" is read/write. I can't copy mlnet to directory "/".
It looks like the mlnet must be at the directory "/". I think it should run at any directory.
Sorry for my english.
THX


Last edited by yangliu66 on Tue Jan 22, 2008 7:46 am; edited 1 time in total
Back to top
View user's profile Send private message
yangliu66
neophyte


Joined: 21 Jan 2008
Posts: 8

PostPosted: Tue Jan 22, 2008 7:43 am    Post subject: new problem Reply with quote

new problem Shocked
help pls


bash-2.03# su root
bash: su: command not found
bash-2.03# chroot
bash: chroot: command not found
bash-2.03# adduser
bash: adduser: command not found
bash-2.03# who
bash: who: command not found
bash-2.03#
bash-2.03# ping sina.com
PING sina.com (71.5.7.191): 56 data bytes
64 bytes from 71.5.7.191: icmp_seq=0 ttl=236 time=310.2 ms
64 bytes from 71.5.7.191: icmp_seq=1 ttl=236 time=309.8 ms
64 bytes from 71.5.7.191: icmp_seq=2 ttl=236 time=312.3 ms
64 bytes from 71.5.7.191: icmp_seq=3 ttl=236 time=308.6 ms


bash-2.03# ./mlnet
1970/01/01 02:14:52 [cO] Starting MLDonkey 2.9.2.CVS ...
1970/01/01 02:14:52 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil
es 1024
1970/01/01 02:14:52 [cO] MLDonkey is working in /.mldonkey

1970/01/01 02:14:52 [cO] creating new MLDonkey base directory in /.mldonkey

1970/01/01 02:14:52 error mkdir failed on /.mldonkey: Operation not permitted fo
r directory /.mldonkey
bash-2.03# ls
ChangeLog ed2k_submit kill_mldonkey mldonkey_previewer
cvs html_themes make_buginfo mlnet
ed2k_mozilla i18n mldonkey_command
bash-2.03# export MLDONKEY_CHROOT=/usr/local/home/mldonkey
bash-2.03# ls
ChangeLog ed2k_submit kill_mldonkey mldonkey_previewer
cvs html_themes make_buginfo mlnet
ed2k_mozilla i18n mldonkey_command
bash-2.03# ./mlnet
1970/01/01 02:17:35 [cO] No /etc/passwd in your chroot directory
create one if you want to use 'run_as_user' option
1970/01/01 02:17:35 [cO] mldonkey is now running in /usr/local/home/mldonkey
1970/01/01 02:17:35 [cO] Starting MLDonkey 2.9.2.CVS ...
1970/01/01 02:17:35 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil
es 1024
1970/01/01 02:17:35 [cO] MLDonkey is working in .

1970/01/01 02:17:35 [cO] creating new MLDonkey base directory in .

1970/01/01 02:17:36 [cO] loaded language resource file

/dev/null does not exist, please create it, exiting...
If you are using a chroot environment, create it inside the chroot.
bash-2.03# mknod ./dev/null c 1 3
bash-2.03# mknod ./dev/urandom c 1 9
bash-2.03# ./mlnet
1970/01/01 02:22:15 [cO] No /etc/passwd in your chroot directory
create one if you want to use 'run_as_user' option
1970/01/01 02:22:15 [cO] mldonkey is now running in /usr/local/home/mldonkey
1970/01/01 02:22:15 [cO] Starting MLDonkey 2.9.2.CVS ...
1970/01/01 02:22:15 [cO] Language EN, locale ANSI_X3.4-1968, ulimit for open fil
es 1024
1970/01/01 02:22:15 [cO] MLDonkey is working in .

1970/01/01 02:22:15 [cO] creating new MLDonkey base directory in .

1970/01/01 02:22:15 [Gettext] Loading language resource mlnet_strings.EN_ANSI_X3
.4-1968
1970/01/01 02:22:15 [cO] loaded language resource file
1970/01/01 02:22:15 [DNS] Resolving [localhost] ...
pc : [<002761d0>] lr : [<00034cf8>] Not tainted
sp : bffffb64 ip : 0036748c fp : bffffb74
r10: 000000fc r9 : 0049aac8 r8 : 00527144
r7 : 00000800 r6 : 005272f4 r5 : 00527324 r4 : 00364af8
r3 : 0052732c r2 : 00527318 r1 : 00000c00 r0 : 0036747c
Flags: Nzcv IRQs on FIQs on Mode USER_32 Segment user
Control: C000317F Table: 33E38000 DAC: 00000015
Segmentation fault
bash-2.03#
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3997
Location: Germany

PostPosted: Tue Jan 22, 2008 9:55 am    Post subject: Re: new problem Reply with quote

yangliu66 wrote:
bash-2.03# export MLDONKEY_CHROOT=/usr/local/home/mldonkey

Try
Code:
export MLDONKEY_DIR=/usr/local/home/mldonkey

instead
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
yangliu66
neophyte


Joined: 21 Jan 2008
Posts: 8

PostPosted: Tue Jan 22, 2008 10:16 am    Post subject: Re: new problem Reply with quote

spiralvoice wrote:
yangliu66 wrote:
bash-2.03# export MLDONKEY_CHROOT=/usr/local/home/mldonkey

Try
Code:
export MLDONKEY_DIR=/usr/local/home/mldonkey

instead

THX spiralvoice for your reply.

I do it,there has been no change. Sad
Back to top
View user's profile Send private message
spiralvoice
Sage


Joined: 06 Jan 2003
Posts: 3997
Location: Germany

PostPosted: Tue Jan 22, 2008 10:25 am    Post subject: Re: new problem Reply with quote

yangliu66 wrote:
spiralvoice wrote:
yangliu66 wrote:
bash-2.03# export MLDONKEY_CHROOT=/usr/local/home/mldonkey

Try
Code:
export MLDONKEY_DIR=/usr/local/home/mldonkey

instead

THX spiralvoice for your reply.

I do it,there has been no change. Sad

Did you clean variable MLDONKEY_CHROOT already?
Or better start a new terminal session on your machine,
then use only variable MLDONKEY_DIR pointing to a writable directory.
_________________
Link overview and precompiled cores here: http://mldonkey.sourceforge.net/DownloadLinks
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    MLDonkey Forum Index -> Alternative platforms All times are GMT
Goto page Previous  1, 2, 3, ... 21, 22, 23  Next
Page 2 of 23

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Sourceforge.net Logo