aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: 1 ... 18 19 [20] 21 22 ... 37

Author Topic: RRM's epic struggle for a better aMule on high-speed connections  (Read 165811 times)

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
RRM's epic struggle for a better aMule on high-speed connections
« Reply #285 on: December 15, 2009, 12:03:55 PM »

You are correct with your steps and as you suspected, the tmp-directory in your home folder will be created in step 2. That's what the following command (mkdir = make directory; cd = change directory) does:
Quote
$ mkdir ~/tmp

The cpp-file is the same for 32 bit and 64 bit, but the resulting binary is different on a 32 bit and a 64 bit system.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #286 on: December 15, 2009, 12:06:00 PM »

Thank you!
So, i can use that cpp file now.
Ok, let me try then...
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #287 on: December 15, 2009, 12:20:39 PM »

At step 5 i get the following response:
Code: [Select]
checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 is required for aMule

how do i get zlib 1.1.4?
In the synaptic packet manager i only see
Code: [Select]
zlib1g
zlib1g-dbg
zlib1g-dev
zlib-bin
zlibc
zlib-gst

Is this one ok?
http://www.tucows.com/preview/8818

And how to install it?
Like this?
Code: [Select]
 % bzcat ${archive}/zlib-1.1.4.tar.bz2 | tar xvf -
  % cd zlib-1.1.4
  % ./configure --prefix=${prefix} (add "--shared" to make shared-library)
  % make
  # mkdir ${prefix}
  # make install

But, what is the "%" and "#"?
I couldnt find them in UsingThe Terminal

Once i have it, should i repeat step 5?
« Last Edit: December 15, 2009, 12:59:45 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #288 on: December 15, 2009, 12:58:16 PM »

Aaaaah, the "#" stands for the root directory!
But when i type
Code: [Select]
$ cd / i get "/$", so is "/$" the same as "#"?
But what does the "%" stand for?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
RRM's epic struggle for a better aMule on high-speed connections
« Reply #289 on: December 15, 2009, 01:04:02 PM »

Hi,

stop, you got something wrong here: % means "executed by the normal user" and # means "executed by the root user or with sudo".

But all of this is not necessary: Please execute
Code: [Select]
sudo aptitude install zlib1g-devand the problem will be resolved.
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #290 on: December 15, 2009, 01:09:29 PM »

Thanks for stopping me! ;D
zlib1g-dev is installed now.
So, i now have to repeat step 5?
This is what i got so far:
Code: [Select]
~/tmp/amule$ ./configure --prefix=/usr/local/stow/amule-opt/ --enable-geoip --enable-optimize --enable-debug --with-wxdebug --mandir=/share/bin
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) mawk
checking for egrep... grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... no
checking for lex... no
checking for yywrap in -lfl... no
checking for yywrap in -ll... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... no
checking for byacc... no
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for zlib >= 1.1.4... no
configure: error: zlib >= 1.1.4 is required for aMule
« Last Edit: December 15, 2009, 01:15:29 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #291 on: December 15, 2009, 01:27:43 PM »

Oh, what the hack; i will just try and see what happens...
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #292 on: December 15, 2009, 01:30:20 PM »

Okay, that works, but...
Code: [Select]
   The requested wxWidgets build couldn't be found.
    
    The configuration you asked for aMule requires a wxWidgets
    build with the following settings:
        --debug=yes --unicode=yes
    but such build is not available.

So, let me try without debug, no?

Code: [Select]
./configure --prefix=/usr/local/stow/amule-opt/ --enable-geoip --enable-optimize --disable-debug --mandir=/share/bin
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #293 on: December 15, 2009, 01:32:10 PM »

hmmm, now im getting this:
Code: [Select]
configure: WARNING:
        UPnP code has been disabled because libupnp >= 1.6.6 not found (try to use --with-libupnp-prefix=PREFIX).
checking for crypto++ version >= 5.1... no
configure: error:
Could not find crypto++ header file "cryptlib.h".
Please try again with --with-crypto-prefix=/my_crypto_prefix
(replace /my_crypto_prefix with a valid path to your crypto++
installation directory).

So, i need to get libupnp-dev in synaptic?
and crypt++el?
« Last Edit: December 15, 2009, 01:38:38 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #294 on: December 15, 2009, 01:50:21 PM »

hmm, the libupnp-dev was correct, but not the crypt++el...

Code: [Select]
configure: error:
Could not find crypto++ header file "cryptlib.h".
Please try again with --with-crypto-prefix=/my_crypto_prefix
(replace /my_crypto_prefix with a valid path to your crypto++
installation directory).

So, what is the path of my crypto++ installation directory?
AAhhhh, its probably libcrypto++-dev, no?
Logged

wuischke

  • Developer
  • Hero Member
  • *****
  • Karma: 183
  • Offline Offline
  • Posts: 4292
RRM's epic struggle for a better aMule on high-speed connections
« Reply #295 on: December 15, 2009, 01:51:11 PM »

You might want to install the following packages:
libwxgtk2.8-dbg
libcrypto++-dev
libupnp3-dev
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #296 on: December 15, 2009, 02:00:01 PM »

You might want to install the following packages:
libwxgtk2.8-dbg
libcrypto++-dev
libupnp3-dev

Thank you!
I only installed libwxgtk2.8-dbg,
because the other 2 i had already installed previously.
But, now i get:
Code: [Select]
$ ./configure --prefix=/usr/local/stow/amule-opt/ --enable-geoip --enable-optimize --disable-debug --mandir=/share/bin
bash: ./configure: No such file or directory

Huh???
I think i accidentally left the terminal while i hadnt completed the process yet...
Can i pick up somewhere before?
What step?
(the tmp with amule inside is still there)
« Last Edit: December 15, 2009, 02:12:31 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #297 on: December 15, 2009, 02:53:50 PM »

Aaaah, of course, amule is not in my home directory...
Stupid me...
« Last Edit: December 15, 2009, 02:59:18 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #298 on: December 15, 2009, 02:56:21 PM »

Now i get this:
Code: [Select]
 **** aMule Core ****
  Prefix where aMule should be installed?                    /usr/local/stow/amule-opt/
  Should aMule be compiled with i18n support?                no
  Should aMule be compiled in debug mode?                    no
  Should aMule be compiled with profiling?                   no
  Should aMule be compiled with optimizations?               yes
  Should aMule be compiled with UPnP support?                yes
  Should aMule be compiled with IP2country support?          yes
  Should aMule monolithic application be built?              yes
  Should aMule daemon version be built?                      no
  Should aMule remote gui be built? (EXPERIMENTAL)           no
  Crypto++ library/headers style?                            installed

  **** aMule TextClient ****
  Should aMule Command Line Client be built?                 no

  **** aMule WebServer ****
  Should aMule WebServer be built?                           no

  **** aMule ED2K Links Handler ****
  Should aMule ED2K Links Handler be built?                  yes

  **** aMuleLinkCreator ****
  Should aMuleLinkCreator GUI version (alc) be built?        no
  Should aMuleLinkCreator for console (alcc) be built?       no

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                  no
  Should aMule GUI Statistics (wxCas) be built?              no
  Should xas XChat2 plugin be installed?                     no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                          no
  Libraries aMule will use to build:
                                       wxWidgets             2.8.10 (gtk2,shared)
                                       crypto++              5.6.0 (installed, in /usr)
                                       libupnp               1.6.6
                                       libintl               Not detected
                                       libGeoIP              system
                                       zlib                  1.2.3.3


 *** Warnings during configuration ***

* You need to install GNU gettext/gettext-tools to compile aMule with i18n
  support.

* bfd.h not found or unusable, please install binutils development package if
  you are a developer or want to help testing aMule

there are quite a few gettext-tools in synaptic,
but i couldnt find anything related to bfd.h
« Last Edit: December 15, 2009, 03:16:53 PM by RRM »
Logged

RRM

  • Sr. Member
  • ****
  • Karma: 40
  • Offline Offline
  • Posts: 444
RRM's epic struggle for a better aMule on high-speed connections
« Reply #299 on: December 15, 2009, 03:23:50 PM »

Regarding the bfd.h, of course i had to install binutils-dev.
So, only the gettext tools remain...:
Code: [Select]
*** Warnings during configuration ***

* You need to install GNU gettext/gettext-tools to compile aMule with i18n
  support.

And i guess thats important, because on this page i read:
Quote
Well... I always had that 100% issue with aMule and therefore only used eMule on a windows box.
With Feisty I also installed amule to see if it improved. Not at all... 100% as soon as it starts downloading.

Well... I've been searching around and someone suggested installing wxgtk2.8 and it's i18n support...
This seemed to have solved to problem for me. It's happily downloading and my CPU remains at 600Mhz, 6% load instead of 1.6Ghz with 100% load.

Maybe something like wx2.8-i18n?
or libtextwrap-dev?
gettext-kde?
(naturally im just guessing)
« Last Edit: December 15, 2009, 03:37:38 PM by RRM »
Logged
Pages: 1 ... 18 19 [20] 21 22 ... 37