You are not logged in.

#1 2008-07-02 06:15:16

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

aMule 2.2.1 - updated PKGBUILD

Hello,
As i couldnt see any new package in both extra and testing repos (the one is in extra is a bit older.), i've made my own aMule 2.2.1 package. It doesnt need wx patch anymore, here's simple PKGBUILD (based on contributors package)
What's new with 2.2 series?

    * Protocol Obfuscation
    * UPnP support
    * Network protocol updated to eMule 0.49a (including large file support)
    * Kad 2.0
    * Improved skin support and country flags
    * Support for compilation with MS Visual Studio -> WOW! tongue

# $Id: PKGBUILD 356 2008-04-18 22:56:27Z aaron $
# Maintainer: damir <damir@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>

pkgname=amule
pkgver=2.2.1
pkgrel=5
pkgdesc="aMule is a eMule-like client for ed2k p2p network"
arch=("i686" "x86_64")
license=('GPL')
url="http://www.amule.org"
depends=('wxgtk>=2.8.0.1' 'gd>=2.0.34' 'binutils>=2.17.50.0.18')
makedepends=('crypto++')
source=(http://downloads.sourceforge.net/amule/aMule-${pkgver}.tar.bz2)
md5sums=('bfa8237e9682fd9d6fce72e152276f49')
sha1sums=('c4a98fd034ae9af9ace632c9bc9f51a75405c271')

build() {
  cd ${startdir}/src/aMule-${pkgver}
  ./configure --prefix=/usr \
              --disable-embedded_crypto \
              --enable-utf8-systray \
              --enable-cas \
              --enable-wxcas \
              --enable-amule-daemon \
              --enable-amulecmd \
              --enable-amule-gui \
              --enable-alc \
              --enable-alcc \
              --enable-webserver
  make || return 1
  make DESTDIR=${startdir}/pkg install
}

Offline

#2 2008-07-02 15:39:49

[eXr]
Member
From: Vigo, Spain
Registered: 2008-06-20
Posts: 12
Website

Re: aMule 2.2.1 - updated PKGBUILD

Well, I was doing my own PKGBUILD for aMule too and found a problem present in your package too...

Initialising aMule
Checking if there is an instance already running...
No other instances are running.
HTTP download thread started
ListenSocket: Ok.

--------------------------------------------------------------------------------
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:
    http://forum.amule.org/index.php?board=67.0
If possible, please try to generate a real backtrace of this crash:
    http://www.amule.org/wiki/index.php/Backtraces

----------------------------=| BACKTRACE FOLLOWS: |=----------------------------
Current version is: aMule 2.2.1 using wxGTK2 v2.8.7
Running on: Linux 2.6.25-ARCH i686

[2] ?? in amule [0x8076f13]
[3] wxFatalSignalHandler in /usr/lib/libwx_baseu-2.8.so.0[0xb7bcc646]
[4] ?? in [0xb80ce400]
[5] ?? in amule [0x828ceeb]
[6] ?? in amule [0x8215ebd]
[7] ?? in amule [0x8215e43]
[8] ?? in amule [0x82162ab]
[9] ?? in amule [0x8216349]
[10] ?? in amule [0x81efff5]
[11] ?? in amule [0x81e7d78]
[12] ?? in amule [0x81e8075]
[13] ?? in amule [0x807bb2d]
[14] ?? in amule [0x81e7847]
[15] wxEntry(int&, wchar_t**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7b5ce90]
[16] wxEntry(int&, char**) in /usr/lib/libwx_baseu-2.8.so.0[0xb7b5cf67]
[17] ?? in amule [0x81e8227]
[18] __libc_start_main in /lib/libc.so.6[0xb78865c5]
[19] wxAppBase::MainLoop() in amule[0x8072bf1]


--------------------------------------------------------------------------------

Arch Linux up-to-date, of course... Does aMule work well for you?


@nachoexr

Offline

#3 2008-07-02 20:02:20

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: aMule 2.2.1 - updated PKGBUILD

Yeah, it compiles and runs fine on both my laptop and desktop pc. (both i686)

Are you running x86_64?  Have you seen anything strange while building?

Offline

#4 2008-07-02 22:43:19

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: aMule 2.2.1 - updated PKGBUILD

[eXr]: Please describe how you compiled it and under which circumstances this crash will happen. In doubt, go for a recent SVN version.

Offline

#5 2008-07-03 07:52:14

[eXr]
Member
From: Vigo, Spain
Registered: 2008-06-20
Posts: 12
Website

Re: aMule 2.2.1 - updated PKGBUILD

I have i686 (@home) too. With all packages up-to-date, doing the basic 'makepkg'. No errors found. :S

In my first attempt, with my own PKGBUILD, I've tried two more flags: --enable-optimize --enable-geoip. But got the error and start searching. Then I found your PKGBUILD that is basically the same as mine but without those flags, but the error is still present.

Machines:
@home: P4 HT (i686). 2GB. nVidia (running 'nvidia' driver)
@work: P4 (i686). 1GB. ATI (running 'ati' driver)

I'll try @work (here), an i686 machine too. I'll go back with results in some minutes. cool

As additional info:
gcc 4.3.1
wxWidgets 2.8.7
Xorg 1.4.2

--------------
Update: It compiles and runs OK @work. The problem is with the @home machine. I suspect from the wxWidgets package and the nVidia driver...

someone with this configuration with aMule 2.2.1 running?

Last edited by [eXr] (2008-07-03 08:35:54)


@nachoexr

Offline

#6 2008-07-03 10:14:25

wuischke
Member
From: Suisse Romande
Registered: 2007-01-06
Posts: 630

Re: aMule 2.2.1 - updated PKGBUILD

More likely wx (do a clean install), but try to use the vesa driver for a test if you suspect nvidia causes this.

Offline

#7 2008-07-05 13:38:23

gav616
Member
Registered: 2008-01-16
Posts: 182

Re: aMule 2.2.1 - updated PKGBUILD

btw ,
-disable-embedded_crypto
and
--enable-utf8-systray

arn't used anymore and if you want flags you need geoip, thus;

# $Id$
# Maintainer: damir <damir@archlinux.org>
# Contributor: Henrik Ronellenfitsch <searinox@web.de>

pkgname=amule
pkgver=2.2.1
pkgrel=1
pkgdesc="An eMule-like client for ed2k p2p network"
arch=('i686' 'x86_64')
url="http://www.amule.org"
license=('GPL')
depends=('wxgtk>=2.8.0.1' 'gd>=2.0.34' 'binutils>=2.17.50.0.18' 'geoip')
makedepends=('crypto++')
source=(http://heanet.dl.sourceforge.net/sourceforge/amule/aMule-${pkgver}.tar.bz2)
md5sums=('bfa8237e9682fd9d6fce72e152276f49')

build() {
  cd ${startdir}/src/aMule-${pkgver}

  ./configure --prefix=/usr \
        --enable-geoip \
        --disable-upnp \
        --enable-optimize

  make || return 1
  make DESTDIR=${startdir}/pkg install || return 1
}

^ that config will give you;
an optimized build,
country flags,
ed2k linker,
no upnp,
and the debug tab i.e. verbose logging of IPfilter and such.

nothing else is compiled, web gui and other goodies need to be added manually.

Last edited by gav616 (2008-07-05 13:43:16)

Offline

#8 2008-07-05 16:59:46

ras0ir
Member
From: Ankara/Turkey
Registered: 2008-06-20
Posts: 65
Website

Re: aMule 2.2.1 - updated PKGBUILD

Thanks for the tips gav616 smile
By the way, the package in extra updated to the 2.2.1 so people who do not want to compile aMule can fetch latest aMule binary package from extra repository.

Offline

Board footer

Powered by FluxBB