aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Compilation na slackware-current (almost 10.1)  (Read 3630 times)

Daniellek

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Compilation na slackware-current (almost 10.1)
« on: February 03, 2005, 10:47:24 AM »

With distro came these versions of gtk:
gtk+-1.2.10-i386-3
gtk+2-2.6.1-i486-1

I've compiled wxGTK-2.4.2 (./configure  --with-gtk) and installed it without problems.

Now aMule 2.0.0rc8 with just ./configure and I get:

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?                  yes
  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?                   yes
  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?     no

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

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

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



  WARNING!! Your wxWidgets copy has been linked against GTK2 and this will make
aMule
  be unstable, use much more cpu and ram. You have been warned, don't report bug
s under this setup.


$ make -j 2
make[5]: Entering directory `/home/daniel/aMule-2.0.0rc8/src/utils/wxCas'
Making all in src
make[6]: Entering directory `/home/daniel/aMule-2.0.0rc8/src/utils/wxCas/src'
g++  -DUSE_EMBEDDED_CRYPTO -W -Wall -g -ggdb -fno-inline -D__DEBUG__ -fmessage-l
ength=0    -lpthread -o wxcas  wxcas-onlinesig.o wxcas-linuxmon.o wxcas-wxcas.o
wxcas-wxcasprint.o wxcas-wxcasframe.o wxcas-wxcasprefs.o wxcas-wxcascte.o wxcas-
wxcaspix.o -L/usr/local/lib -pthread -lwx_gtk2-2.4
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_detac
h'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_accel_group_attac
h'
/usr/local/lib/libwx_gtk2-2.4.so: undefined reference to `_gtk_rc_context_get_de
fault_font_name'
collect2: ld returned 1 exit status
make[6]: *** [wxcas] Error 1
make[6]: Leaving directory `/home/daniel/aMule-2.0.0rc8/src/utils/wxCas/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/daniel/aMule-2.0.0rc8/src/utils/wxCas'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/daniel/aMule-2.0.0rc8/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/daniel/aMule-2.0.0rc8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/daniel/aMule-2.0.0rc8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/daniel/aMule-2.0.0rc8'
make: *** [all] Error 2
Wrong version of GTK (possibly to new)?

TIA
« Last Edit: February 03, 2005, 10:57:30 AM by Daniellek »
Logged

Daniellek

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
RE: Compilation na slackware-current (almost 10.1)
« Reply #1 on: February 03, 2005, 11:36:36 AM »

Here's the patch that fixes the problem, it's problem with wxGTK and GTK >=2.4

http://codex.sourcemage.org/test/x11-toolkits/wxGTK/gtk-2.4-fix.patch

Thx for listening  :D
Logged

phoenix

  • Evil respawning bird from aMule Dev Team
  • Developer
  • Hero Member
  • *****
  • Karma: 44
  • Offline Offline
  • Posts: 2503
  • The last shadow you'll ever see
Re: Compilation na slackware-current (almost 10.1)
« Reply #2 on: February 03, 2005, 12:55:29 PM »

Daniellek,

Don't do that, don't link wxGTK-2.4.2 against gtk2. It is experimental and unstable. In good english, does not work :P

Link it against gtk.

If you want gtk2, use wx-2.5.3.

Cheers!
Logged