aMule Forum

English => Compilation problems => Topic started by: etwcn on March 01, 2005, 07:00:01 PM

Title: 2.0.0rc8 on Debian Woody
Post by: etwcn on March 01, 2005, 07:00:01 PM
Hi,

I am having a really hard time compiling amule. I almost thought to be through, when it still came up with another error. I did everything according to the Howto compile/install aMule from scratch (http://www.amule.org/wiki/index.php/Compilation_Installation) page in the wiki. This means that I already successfully compiled and installed wxGTK and wxBase and I am now trying to compile the actual amule program.

This my configure:
Code: [Select]
./configure --disable-debug --disable-systray --disable-cas --disable-wxcax
This what it drops out at the end:
Code: [Select]
Configure script has finished system check.

  Configured aMule 2.0.0rc8 for 'i686-pc-linux'.

  aMule enabled options:

  **** aMule Core ****
  Should aMule be compiled in debug mode?                  no
  Should aMule be compiled with verbose console output?    no
  Should aMule be compiled with upload speed sense?        no
  Should aMule be compiled with profiling?                 no
  Should aMule be compiled with optimizations?             no
  Should aMule be compiled with systray?                   no
  Should aMule be compiled with UTF-8 systray?             no
  Should aMule be compiled with pure GTK code?             yes
  Should aMule be linked against patched gsocket?          yes
  Should aMule monolithic application be built?            yes
  Should aMule daemon version be built? (EXPERIMENTAL)     no
  Should aMule remote gui be built? (EXPERIMENTAL)         no
  Crypto++ library/headers style?                          embeded

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

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

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

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

  **** aMule Statistics ****
  Should C aMule Statistics (CAS) be built?                no
  Should aMule GUI Statistics (wxCas) be built?            no

  **** General Libraries and Tools ****
  Should ccache support be enabled?                        no
  Libraries aMule will use to build:
                                       wxWidgets          2.4.2
                                       GTK                1.2.10

  NOTICE: With wxWidgets versions prior 2.5, you need wxBase library to compile:
          amuleweb amulecmd and alcc

After calling make, it compiles quite some time and then gives me this error:

Code: [Select]
UploadQueue.cpp: In method `void CUploadQueue::AddUpNextClient(CUpDownClient * = 0)':
UploadQueue.cpp:113: `::find' undeclared (first use here)
make[4]: *** [amule-UploadQueue.o] Fehler 1
make[4]: Leaving directory `/home/freenet/files/aMule-2.0.0rc8/src'
make[3]: *** [all-recursive] Fehler 1
make[3]: Leaving directory `/home/freenet/files/aMule-2.0.0rc8/src'
make[2]: *** [all] Fehler 2
make[2]: Leaving directory `/home/freenet/files/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Fehler 1
make[1]: Leaving directory `/home/freenet/files/aMule-2.0.0rc8'
make: *** [all] Fehler 2

Please help me!
Title: Re: 2.0.0rc8 on Debian Woody
Post by: Kry on March 01, 2005, 07:38:01 PM
sadly, your libc is too old and doesn't support stl properly :/ Either upgrade compiler or... or... or upgrade compiler.
Title: Re: 2.0.0rc8 on Debian Woody
Post by: etwcn on March 01, 2005, 08:38:01 PM
Ok, I compiled it with version 3.3 and I got a binary that actually runs and connects to a server. Then, I see sources for my files in the DL list for a short time. They're all red and the status says "asking". All sources vanish after 10 to 30 seconds and never re-appear. Could that have something to do with this message, I got from linking the amule binary:

Code: [Select]
/usr/bin/ld: warning: libssl.so.0.9.6, needed by /usr/lib/libcurl.so, may conflict with libssl.so.0.9.7
/usr/bin/ld: warning: libcrypto.so.0.9.6, needed by /usr/lib/libcurl.so, may conflict with libcrypto.so.0.9.7

How can I fix this?
Title: Re: 2.0.0rc8 on Debian Woody
Post by: Kry on March 01, 2005, 08:50:31 PM
Nope. Check your ports. Read http://wiki.amule.org for FAQ.
Title: Re: 2.0.0rc8 on Debian Woody
Post by: etwcn on March 01, 2005, 08:55:32 PM
Actually, I am upgrading from aMule 1.2.7 to 2.0.0rc8. v1.2.7 worked perfectly with the port configuration I have. In addition, the server assigned a high id to my client. Did the port configuration change between 1.2.7 and 2.0.0?? I did not think so.
Title: Re: 2.0.0rc8 on Debian Woody
Post by: Kry on March 01, 2005, 10:48:27 PM
No, it didn't. Problem should be elsewhere.
Title: Re: 2.0.0rc8 on Debian Woody
Post by: phoenix on March 02, 2005, 02:54:27 AM
Quote
Originally posted by etwcn
Code: [Select]
/usr/bin/ld: warning: libssl.so.0.9.6, needed by /usr/lib/libcurl.so, may conflict with libssl.so.0.9.7
/usr/bin/ld: warning: libcrypto.so.0.9.6, needed by /usr/lib/libcurl.so, may conflict with libcrypto.so.0.9.7

How can I fix this?
Update libcurl.
Title: Re: 2.0.0rc8 on Debian Woody
Post by: stefanero on March 02, 2005, 08:11:35 AM
woddy is sooo old update the whole box :P