aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 2 3 [4] 5 6 ... 10

Author Topic: aMule 2.2.x and SVN (with amuled e amulegui) Tiger/Leopard Universal Binary  (Read 272812 times)

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

I presume that the GeoIP.dat you´re talking about is the same as IPfilter in windows, so I guess those are great news!

No,
IPfilter is a Security related feauture (filtering IPs known to be bad) and it works fine in aMule:
http://www.amule.org/wiki/index.php/Usage_Preferences#Security

GeoIP/IP2Country is only a nice/funny feature:
http://forum.amule.org/index.php?topic=12475.0

but if its database (GeoIP.dat) is missing, aMule crashes:
http://forum.amule.org/index.php?topic=13920
http://forum.amule.org/index.php?topic=13920.msg80076#msg80076
http://forum.amule.org/index.php?topic=14750.0

Thanks for your work gtoso!

BTW, I am really happy with your aMule version...
I've reached transfer rates that I never seen before...

Thanks to you,
but the real credit goes to the developers.

Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

GeoIP News:

I'm trying to include GeoIP.dat in the Application Bundles:
IF my patch WORKS, no more need to have external GeoIP.dat!

It works fine  ;D
And it's included in the new stable aMule 2.2.1  :D :D

I 'm updating my first post with my last SVN builds,
soon a my build of aMule 2.2.1 (pending the official build).

Logged

rigodon

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 35

Can you compile it for leopard and tiger separately ?

This version is for leopard only and work better on my machine. Less CPU.

http://forum.amule.org/index.php?topic=13726.0
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

Can you compile it for leopard and tiger separately ?


At the moment no:
I'm compiling on Tiger, so no 10.5 SDK.
On my Mac Leopard doesn't run :-(

I have just tried my packages on Leo.... on a P4 and they go fine.
I could try XCode on this pseudo Leopard, but I prefer to compile on a stable enviroment.

This version is for leopard only and work better on my machine. Less CPU.

http://forum.amule.org/index.php?topic=13726.0

14/Nov? It's old, for a comparison.
Compare to this:
http://gtoso.tor.it/pub/amule/osx/svn/old/aMule-CVS-20071209-Mac_UniversalBinary_Tiger-with_amuled-by_GToso.zip

I made some Nov builds but there aren't online anymore.

« Last Edit: June 15, 2008, 08:56:42 PM by gtoso »
Logged

stonerl

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 1

I downloaded the 2.2.1 stable build, but this version runs fare away from stable. I use is it on a 10.5.3 machine and after a few minutes amule has 100% cpu-load. Also it crashes every hour for no reason.

stonerl
« Last Edit: June 17, 2008, 05:23:45 PM by stonerl »
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

I downloaded the 2.2.1 stable build, but this version runs fare away from stable. I use is it on a 10.5.3 machine and after a few minutes amule has 100% cpu-load. Also it crashes every hour for no reason.

stonerl

I made some tests and I think that it goes well,
leaving out some known bugs.
I quickly tried it on Leopard 10.5.3 and the demon seems to go really well:
http://www.screencast.com/t/n8V9eAko61
http://www.screencast.com/t/DPwKDGrLWrd
http://www.screencast.com/t/gr80dCQJONl

It's known that aMule is heavy,
it does not seem worse than usual,
at least than the recent SVNs.

However try these:

http://forum.amule.org/index.php?topic=15245.0
http://forum.amule.org/index.php?topic=15282.0

EDIT:
Don't worry for the bad graphics/colors:
my video card isn't fully supported :-(
It's only a temporarily installation on a P4..

EDIT2:
As you can see in video,
more than 1 hour and half with aMule download without problem.
Now amuled has passed the 5 hours, this on the 10.5.3, on my powerbook(Tiger) it has run for some days without problems.
(and in the mean time I downloaded XCode 3.0, maybe I try, but I doubt to make public binary compiled in this environment)

PS:
It has low id (and kad firewalled) because this PC is natted by my powerbook that is natted by ADSL router...

Code: [Select]
Megatron:~ administrator$ w
 2:20  up  7:32, 2 users, load averages: 0,09 0,10 0,05
USER     TTY      FROM              LOGIN@  IDLE WHAT
administrator console  -                Mar18    7:31 -
administrator s000     -                 2:20       - w
Megatron:~ administrator$ cas
aMule 2.2.1 has been running for 5:18 h
Test is connected to eDonkeyServer No2 [77.247.178.245:4242] with LowID | Kad: firewalled
Total Download: 234.53 MB, Upload: 209.35 MB
Session Download: 228.61 MB, Upload: 207.83 MB
Download: 20,4 kB/s, Upload: 16,0 kB/s
Sharing: 13 file(s), Clients on queue: 31
Time: Jun 18 2008, 02:20
Megatron:~ administrator$ amulecmd -c status
Questo ? amulecmd 2.2.1

Creazione del client in corso...
Fatto! Connessione stabilita con aMule 2.2.1

-------------------------------------------
|          Client testuale aMule          |
-------------------------------------------

Usa 'Help' per la lista dei comandi

 > eD2k: Connesso a eDonkeyServer No2 [77.247.178.245:4242] con ID basso
 > Kad: Connesso (firewalled)
 > Download: 20,57 kB/s
 > Upload: 15,99 kB/s
 > Client in coda: 31
 > Fonti totali: 1328

Ok, uscita in corso da aMulecmd...
Megatron:~ administrator$ amulecmd -c statistics
Questo ? amulecmd 2.2.1

Creazione del client in corso...
Fatto! Connessione stabilita con aMule 2.2.1

-------------------------------------------
|          Client testuale aMule          |
-------------------------------------------

Usa 'Help' per la lista dei comandi

 > Statistiche
 >  Uptime: 5:18 ore
 >  Trasferimento
 >   Rapporto UL:DL sessione (totale): 1 : 1,10
 >   Upload
 >    Dati inviati (sessione (totale)): 207,92 MB (209,45 MB)
 >     eMule: 193,91 MB
 >     eMule+: 6,73 MB
 >     aMule: 5,25 MB
 >    Overhead totale (pacchetti): 4,39 MB (101k)
 >    Overhead per richieste file (pacchetti): 1,55 MB (57k)
 >    Overhead per scambio fonti (pacchetti): 199 kB (1k)
 >    Overhead server (pacchetti): 238 kB (771)
 >    Overhead Kad (pacchetti): 662 kB (21k)
 >    Crypt overhead (UDP): 85 kB
 >    Upload attivi: 8
 >    Upload in attesa: 31
 >    Totale sessioni di upload riuscite: 43
 >    Totale sessioni di upload fallite: 1
 >    Tempo upload medio: 25:11 min
 >   Download
 >    Dati scaricati (sessione (totale)): 228,73 MB (234,65 MB)
 >     eMule: 210,59 MB
 >     eMule+: 9,61 MB
 >     aMule: 8,53 MB


EDIT3:
On this Leopard, if you use (login on) amuleweb,
when shutdown amuled or quit amule, amuleweb crashes and amuled has high CPU use before exit.

It doesn't happen on my Tiger PPC,
could you test it on a real Leopard,please?

Code: [Select]
Process:         amuleweb [447]
Path:            /Applications/aMule-2.2.1/aMule.app/Contents/MacOS/amuleweb
Identifier:      amuleweb
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  amule [446]

Date/Time:       2008-06-18 14:01:30.313 +0200
OS Version:      Mac OS X 10.5.3 (9D34)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   amuleweb                      0x00017afd 0x1000 + 92925
1   amuleweb                      0x00018399 0x1000 + 95129
2   amuleweb                      0x0001840c 0x1000 + 95244
3   amuleweb                      0x00024fcc 0x1000 + 147404
4   amuleweb                      0x0001872d 0x1000 + 96045
5   amuleweb                      0x00092692 0x1000 + 595602
6   amuleweb                      0x00017be2 0x1000 + 93154
7   amuleweb                      0x00002ba6 0x1000 + 7078
8   amuleweb                      0x00002acd 0x1000 + 6861

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00024949  ecx: 0x00000000  edx: 0x00000000
  edi: 0x00000002  esi: 0x0080be08  ebp: 0xbffff888  esp: 0xbffff850
   ss: 0x0000001f  efl: 0x00010202  eip: 0x00017afd   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

Code: [Select]
Process:         amuleweb [399]
Path:            /Applications/aMule-2.2.1/aMule.app/Contents/MacOS/amuleweb
Identifier:      amuleweb
Version:         ??? (???)
Code Type:       X86 (Native)
Parent Process:  amuled [398]

Date/Time:       2008-06-18 14:00:04.234 +0200
OS Version:      Mac OS X 10.5.3 (9D34)
Report Version:  6

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
Crashed Thread:  0

Thread 0 Crashed:
0   amuleweb                      0x00017afd 0x1000 + 92925
1   amuleweb                      0x00018399 0x1000 + 95129
2   amuleweb                      0x0001840c 0x1000 + 95244
3   amuleweb                      0x00024fcc 0x1000 + 147404
4   amuleweb                      0x0001872d 0x1000 + 96045
5   amuleweb                      0x00092692 0x1000 + 595602
6   amuleweb                      0x00017be2 0x1000 + 93154
7   amuleweb                      0x00002ba6 0x1000 + 7078
8   amuleweb                      0x00002acd 0x1000 + 6861

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x00000000  ebx: 0x00024949  ecx: 0x00000000  edx: 0x00000000
  edi: 0x00000002  esi: 0x0080be08  ebp: 0xbffff5f8  esp: 0xbffff5c0
   ss: 0x0000001f  efl: 0x00010202  eip: 0x00017afd   cs: 0x00000017
   ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
  cr2: 0x00000000

« Last Edit: June 18, 2008, 03:46:10 PM by gtoso »
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128

I hope this is trivial. I am trying to compile GeoIP in the latest SVN (June18th). When I run the configure script with --enable-geoip --with-geoip-headers=/opt/local/include --with-geoip-lib=/opt/local/lib --enable-geoip-static, I get a failure of the form

checking GeoIP.h usability... yes
checking GeoIP.h presence... yes
checking for GeoIP.h... yes
checking for GeoIP_open in -lGeoIP... no

The libraries are of course there. It seems that gtoso does not do much more in his build script, so I am not sure why there is a problem. :( Any ideas?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292

Can you please attach the log or have a look at it? The  error is written in there.
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206

Without config.log I don't know.

I use LDFLAGS="-L/opt/local/lib", you?
Maybe in this check configure doesn't use  --with-geoip-lib

Or maybe that something is changed in recent SVN...
I'm busy with real life :-(

Soon I try to build new SVN,
I want clean my build script, check it on Leopard,
made a startup script for amuled:
it's easy make a StartupItems script but I want try to make a launchd plist.

The real problem is that aMule.app bundle can be everywhere on filesystems:
How locate an application in shell without write a C program?
I know "open -b org.amule.aMule" but it open the application, I want only the PATH...

« Last Edit: June 19, 2008, 09:53:04 PM by gtoso »
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128

Here is the relevant section of the config.log:

configure:7091: checking GeoIP.h usability
configure:7103: gcc -c   -I/opt/local/include -DENABLE_IP2COUNTRY=1 conftest.c >&5
configure:7109: $? = 0
configure:7113: test -z
          || test ! -s conftest.err
configure:7116: $? = 0
configure:7119: test -s conftest.o
configure:7122: $? = 0
configure:7132: result: yes
configure:7136: checking GeoIP.h presence
configure:7146: gcc -E  -I/opt/local/include -DENABLE_IP2COUNTRY=1 conftest.c
configure:7152: $? = 0
configure:7172: result: yes
configure:7207: checking for GeoIP.h
configure:7214: result: yes
configure:7227: checking for GeoIP_open in -lGeoIP
configure:7257: gcc -o conftest   -I/opt/local/include -DENABLE_IP2COUNTRY=1  conftest.c -lGeoIP   >&5
ld: library not found for -lGeoIP
collect2: ld returned 1 exit status
configure:7263: $? = 1



As you can see, it calls gcc -o conftest   -I/opt/local/include -DENABLE_IP2COUNTRY=1  conftest.c -lGeoIP
and it is missing -L/opt/local/lib (I have checked that there would be no problem if this argument were included).
Ok here is something shocking: LD_LIBRARY_PATH does not seem to have an effect on (at least) leopard. But in any case, I think the configure script should supply the correct library paths, since they are provided as arguments anyway!
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128

Ok it seems that DYLD_LIBRARY_PATH does not have an effect either (I cannot even find a reference for them in man ld).
But that is not a Leopard problem anyway :) configure should be able to use --with-geoip-libs by it self!
Logged

jonceramic

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 3

Using this on 10.4 on an Intel, dual core, MacBookPro.

Sweet.  Ran all last night perfectly.  Got some of the best download rates I've ever gotten.  A few tiny things worked right that never worked right before.  A lot faster interface for big searches, and none of the strange processor lag.

Love the GeoIP stuff.

Only complaint is that it maximizes without respecting the icon bar on the bottom.  And that's an insanely minor complaint.  :) 

Thanks, thanks, thanks!

Jon
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292

Could you please explain what "respecting the icon bar" does on a Mac? How does this influence the behaviour of applications?
Logged

greek

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 128

I can explain this: aMule's window frequently becomes larger than the side of the visible screen and so its bottom lies below the dock (so it becomes hard to resize it).
Logged

gtoso

  • Official MacOSX Packager
  • Full Member
  • ***
  • Karma: 24
  • Offline Offline
  • Posts: 206
« Last Edit: June 22, 2008, 07:40:44 PM by gtoso »
Logged
Pages: 1 2 3 [4] 5 6 ... 10