aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: compile wx libs and let amule* use them  (Read 2485 times)

morph

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 213
    • http://matrixhasu.altervista.org/
compile wx libs and let amule* use them
« on: December 10, 2005, 04:59:29 PM »

Hi,
as someone suggested me. I've tried to compile wx libs by myself. There are the steps I've walked:

- download wx-cvs-Gtk.tar.bz2 from http://biolpc22.york.ac.uk/pub/CVS_HEAD/
- untarred it
- ./configure --prefix=/home/morph/lib/ --enable-debug --disable-optimize --with-gtk --enable-unicode --disable-compat24
- make -j2
- make install
- export LD_LIBRARY_PATH=/home/morph/lib/
- gdb amulegui

once the login window pops up, I've take a look at the bt and found:

Code: [Select]
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb72b1f7b in poll () from /lib/tls/i686/cmov/libc.so.6
#2  0xb766bb4a in wxPaletteBase::~wxPaletteBase ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#3  0xb6c7f541 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#4  0xb6c7fb98 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#5  0xb6f5e243 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6  0xb768586e in wxEventLoop::Run () from /usr/lib/libwx_gtk2u_core-2.6.so.0
#7  0xb76e175b in wxDialog::ShowModal ()
   from /usr/lib/libwx_gtk2u_core-2.6.so.0
#8  0x08067af2 in ?? ()
#9  0x08068659 in ?? ()
#10 0x08070ef6 in wxAppConsole::CallOnInit ()
#11 0xb74a04ea in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#12 0xb74a05ee in wxEntry () from /usr/lib/libwx_baseu-2.6.so.0
#13 0x0806799d in ?? ()
#14 0xb71ffeb0 in __libc_start_main () from /lib/tls/i686/cmov/libc.so.6
#15 0x08066a81 in ?? ()

so the new libraries were not used.

How can I get the self conpiled libraries at work?

Thanks in advance

PS: I've followed these guides:
http://www.amule.org/wiki/index.php/Using_another_wxinstall
http://www.amule.org/wiki/index.php/Compilation_Installation#Step_1:_wxGTK
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: compile wx libs and let amule* use them
« Reply #1 on: December 10, 2005, 05:34:36 PM »

You used

./configure --prefix=/home/morph/lib

so you must use

LD_LIBRARY_PATH=/home/morph/lib/lib

because the libraries are in $(prefix)/lib, not $(prefix).
Logged

morph

  • Full Member
  • ***
  • Karma: 2
  • Offline Offline
  • Posts: 213
    • http://matrixhasu.altervista.org/
Re: compile wx libs and let amule* use them
« Reply #2 on: December 10, 2005, 05:38:29 PM »

Sorry to have not mentioned in the first post, but I've tried even /home/morph/lib/lib and /home/morph/lib/lib/ (Since it said debian wants a / at the end) and none of them works.

Thanks for the help.
Logged