aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: amule-debian.dyndns.org: what compiler options ?  (Read 7386 times)

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
amule-debian.dyndns.org: what compiler options ?
« on: January 10, 2006, 01:15:55 PM »

Just interested: what compiler options where used to compile the debian sarge packages on amule-debian.dyndns.org ?

Greets, Arichy
Logged
Gentoo i686

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #1 on: January 10, 2006, 01:51:25 PM »

There must be a source package. Look at the file "debian/rules" in that source package.
Logged

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #2 on: January 10, 2006, 06:17:38 PM »

oh, I made a mistake:
I wanted to ask, what configure options for compiling amule where used, not compiler options.
Logged
Gentoo i686

Vollstrecker

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 65
  • Offline Offline
  • Posts: 1477
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #3 on: January 10, 2006, 07:24:36 PM »

And jep, you would get the same answer.
Logged
Homefucking is killing prostitution

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 830
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #4 on: January 11, 2006, 02:17:58 PM »

...And all the answers would be wrong as there is no source package. Why? Basically because I didn't think anybody would need it and because dpkg-scansources wouldn't work for me for some reason and nobody pestered me into looking into it ^^

Back to the original question:

Quote
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --enable-debug --enable-amule-daemon --enable-amulecmd --enable-webserver --enable-cas --enable-wxcas --enable-alc --enable-alcc --enable-amule-gui --enable-ccache

That's the configure line I use on those packages. Any special reason you're asking or is it just out of curiosity? ^^


P.S.:
Before telling people "Don't bother people in here with questions you can find the answers to at xyz" you should be sure that the answers really are there ;)
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #5 on: January 11, 2006, 02:37:01 PM »

Because it runs awfully slow. I think --disable-debug and --enable-optimize make amule run faster. I need a slim and fast amule because I am running it on a Pentium 166 MMX under vncserver (do not like fizzling with half functioning amule-gui etc.). So I used Your wx*-dev-Packages and compiled amule yesterday for my own. But now it crashed. So the --enable-debug option maybe right: I think 2.1.0 is just Alpha Status (sorry, if I am false), so there are some better backtraces.
Logged
Gentoo i686

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 830
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #6 on: January 11, 2006, 04:12:21 PM »

Well, definitely not alpha status, it's what we call "ready for release" ^^
There are always bugs in such a large project, you won't find any non-trivial pogram without bugs. And that's why I compiled the packages with --enable-debug (and that's why this is the default on amule compilation)...
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4249
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #7 on: January 11, 2006, 08:57:46 PM »

@Arichy maybe you just uses some wrong flags for compiling...

if amule would be alpha status, I think there would be more then just 4-5 bug reports...and half of them belong to amule-gui who is noone working on atm
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."

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 830
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #8 on: January 12, 2006, 01:47:39 PM »

Humm, amule running on a P-166 with a full blown X Server and vncserver... I think that's where you get your speed problems. Yes, we've had reports of amule running on a P166, but that was amuled, without X...
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.

Arichy

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 224
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #9 on: January 13, 2006, 03:23:56 PM »

Quote
Originally posted by thedude0001
Humm, amule running on a P-166 with a full blown X Server and vncserver... I think that's where you get your speed problems. Yes, we've had reports of amule running on a P166, but that was amuled, without X...
2.0.3 run fine and very stable all the time that way. By the way, I nevertheless tried Your amule binary and wx* but it crashed after some hours:
Code: [Select]
Error on CKademliaUDPListener::processPublishRequest received from: 229.129.201.86:4672
No ip match

(amule:13267): GLib-WARNING **: giounix.c:400Error while getting flags for FD: Ungültiger Dateid
eskriptor (9)


--------------------------------------------------------------------------------
A fatal error has occurred and aMule has crashed.
Please assist us in fixing this problem by posting the backtrace below in our
'aMule Crashes' forum and include as much information as possible regarding the
circumstances of this crash. The forum is located here:
    [URL]http://forum.amule.org/board.php?boardid=67[/URL]
    If possible, please try to generate a real backtrace of this crash:
        [URL]http://www.amule.org/wiki/index.php/Backtraces[/URL]

        ----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
        Current version is: aMule 2.1.0 using wxGTK2 v2.6.2 (Unicoded)
        Running on: Linux 2.4.27-2-386 i586

        [2] ?? in amule [0x8075881]
        [3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.6.so.0[0x406ba278]
        [4] ?? in /lib/libpthread.so.0 [0x4002a825]
        [5] ?? in /lib/libc.so.6 [0x408366f8]
        [6] ?? in /usr/lib/libgdk-x11-2.0.so.0 [0x40c3a6ab]
        [7] ?? in /usr/lib/libglib-2.0.so.0 [0x40da7dbf]
        [8] ?? in /usr/lib/libglib-2.0.so.0 [0x40d82582]
        [9] g_main_context_dispatch in /usr/lib/libglib-2.0.so.0[0x40d835f8]
        [10] ?? in /usr/lib/libglib-2.0.so.0 [0x40d83930]
        [11] g_main_loop_run in /usr/lib/libglib-2.0.so.0[0x40d83ed3]
        [12] gtk_main in /usr/lib/libgtk-x11-2.0.so.0[0x40a62bb3]
        [13] wxEventLoop::Run() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0x402f9e88]
        [14] wxAppBase::MainLoop() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0x4038f073]
        [15] wxAppBase::OnRun() in /usr/lib/libwx_gtk2u_core-2.6.so.0[0x4038f1da]
        [16] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.6.so.0[0x4064901e]
        [17] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.6.so.0[0x4064911d]
        [18] ?? in amule [0x8155b20]
        [19] __libc_start_main in /lib/libc.so.6[0x40822e36]
        [20] ?? in amule [0x806ae41]


--------------------------------------------------------------------------------
Abgebrochen
Logged
Gentoo i686

thedude0001

  • evil bugfinder ;)
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 830
Re: amule-debian.dyndns.org: what compiler options ?
« Reply #10 on: January 13, 2006, 04:16:45 PM »

Well, Kad was added which can take quite some CPU time...

Please post your crash reports on the crash forum since they are likely not to be specific to my packages, and most devs don't read the threads in here...
Logged
Das Schlimme auf dieser Welt ist
daß die Dummen so selbstsicher sind
und die Gescheiten so voller Zweifel.