aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compiling amuled  (Read 3326 times)

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
compiling amuled
« on: January 10, 2005, 06:36:29 PM »

Hello, i have a following problem - amuled is not compiled, but i dont have a slightest idea why, becouse no error is shown...

im configuring and compiling it with:
/configure --disable-monolithic --enable-amule-daemon --enable-amulecmd --enable-webserver --disable-cas

after configure i get:
wxWidgets          Not detected
GTK                Not detected (Not used)

(its debian by the way)

i had libwxbase2.4-dev installed, but without any diffrence... ( i dont really know which packages are neccesarry to install for amuled, but i dont want to install all xwindows and stuff ).

anyways, after i compiled it, i was able to find amulecmd or webserver but i couldnt find amuled ( there was also no amule but i think thats supposed to be becouse i did -disable-monolithic )

any ideas how to compile amuled ?
i have no errors durning compilation
im compiling http://amule.hirnriss.net/cvs/aMule-cvs-20050110.tar.bz2 , becouse i read that last RC had some problems with amuled.

i would also gladly use libwxbase2.5-dev or something like that but there is no such thing for debian yet, even for unstable... maybe i should just compile sources of libwxbase ? (if there is such thing)
« Last Edit: January 10, 2005, 06:41:17 PM by juice99 »
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amuled
« Reply #1 on: January 10, 2005, 06:39:17 PM »

hey

you need wxGTK or wxBase at least at version 2.5.3,
2.4.2 is to old...and does not have teh features of 2.5.3 tahts why it does not wokr.

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: compiling amuled
« Reply #2 on: January 10, 2005, 06:44:35 PM »

ok thanks, i will try to compile it then :) thx
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: compiling amuled
« Reply #3 on: January 10, 2005, 07:08:13 PM »

no problem ;)
there is also a wiki page for multiple wxWidgets versions...
http://wiki.amule.org

aaahhh and before I forget ;)
use for daemon the cvs version from http://amule.hirnriss.net
since there are some major things already improved for connections, and webserver :)
otehrwise you will not be too happy ;)

have fun
stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: compiling amuled
« Reply #4 on: January 10, 2005, 08:39:05 PM »

thx :)

it all worked :)

i read this text about two wxWidgets but it seems a little confusing (or i just dont understand it)

anyways, i downloaded latest wxBase from official page, ./configure then make, then make install

after that i had to add /usr/local/lib directory where wxWidgets libraries installed (Default) to /etc/ld.so.conf file (at least for Debian that is) and run ldconfig, and it was set :)

now i have problem with webserver search - it just doesnt work. no results when i click on refetch, or sometimes i get "%u %s" and such (and still no results)

but other than that, everything is ok :)

edited:
P.S. something is wrong, when i click on transfer now webserver is crashing and i cant see Transfer tab at all.

i added some files when i first started it, but now i cant check them. i attached results from amuleweb -v when clicking on Transfer

P.S.2 this attachment looks ugly in webbrowser (no next line characters) but should be ok in any text editor i think (looks ok in linux pico or windows wordpad :P )

but it seems there is nothing intresting in this file ;) i get also:
CServerSocket: destroying socket 0x83dec30
CServerSocket: terminated
CServerSocket: connection closed
CServerSocket: connection closed
CServerSocket: destroying socket 0x840a3c0
CServerSocket: terminated
CServerSocket: destroying socket 0x840cfb0
CServerSocket: destroying socket 0x840d2e8
ECSocket::ReadBuffer error No error happened

from amuled screen...

also , which is strange, amuled seems to be multipling itself :)

juice@debian:~/amule$ ps auxw|grep amule|wc -l
16...

12 or so is amuled, 4 is amuleweb (dont know also why its 4)

strange things :)

PS.3 haha ok now another thing happend, after i restarted all amuled and amuleweb:
Oops, aMule crashed! [...]
[0] CamuleApp::OnFatalException() in amule.cpp:1035
[1] wxFatalSignalHandler in /usr/local/lib/libwx_base-2.5.so.3[0x40167bf8]
[2] ?? in /lib/libpthread.so.0 [0x40027825]
[3] ?? in /lib/libc.so.6 [0x404475e8]
[4] CServerConnect::CheckForTimeout() in sockets.cpp:422
[5] CamuleApp::OnCoreTimer(wxEvent&) in amule.cpp:1451
[6] CamuleDaemonApp::OnRun() in amuled.cpp:163
[7] wxEntry(int&, char**) in /usr/local/lib/libwx_base-2.5.so.3[0x4010a933]
[8] main in amuled.cpp:134
[9] __libc_start_main in /lib/libc.so.6[0x40433dc6]
[10] _start in start.S:105
« Last Edit: January 10, 2005, 09:22:17 PM by juice99 »
Logged

juice99

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 12
Re: compiling amuled
« Reply #5 on: January 12, 2005, 04:04:48 PM »

so, anyone with any ideas? :)
Logged

lfroen

  • Guest
Re: compiling amuled
« Reply #6 on: January 12, 2005, 04:24:57 PM »

Quote
CServerSocket: destroying socket 0x83dec30
CServerSocket: terminated
CServerSocket: connection closed
CServerSocket: connection closed
CServerSocket: destroying socket 0x840a3c0
CServerSocket: terminated
CServerSocket: destroying socket 0x840cfb0
CServerSocket: destroying socket 0x840d2e8

This is connection attempts to server. Running with "-o" will print out all of log info. Basically it means that connection to server is timing out.

Quote
[3] ?? in /lib/libc.so.6 [0x404475e8]
[4] CServerConnect::CheckForTimeout() in sockets.cpp:422
[5] CamuleApp::OnCoreTimer(wxEvent&) in amule.cpp:1451

Phoenix: you should check that proxy stuff doesn't break anything here. Becouse it's looks like you do !

Quote
also , which is strange, amuled seems to be multipling itself :)

juice@debian:~/amule$ ps auxw|grep amule|wc -l
16...

12 or so is amuled, 4 is amuleweb (dont know also why its 4)

amuled uses many threads while it's running (for server socket, for udp, for incoming connections, polling, EC and so on).
amuleweb uses thread per connected client + main + thread for listening socket.
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: compiling amuled
« Reply #7 on: January 12, 2005, 05:12:41 PM »

lfroen,

Could you be more specific? What does that has to do with proxy?

Cheers!
Logged