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]

Author Topic: amule-cvs does not compile with wx 2.5.1  (Read 8603 times)

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule-cvs does not compile with wx 2.5.1
« Reply #15 on: July 01, 2004, 10:21:33 PM »

hey
thing is I compile it everyday with 2.5.1 so there should not be a problem in compilation with it....
otherwise it would not work here...
so yes check your system :)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Belegdol

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: amule-cvs does not compile with wx 2.5.1
« Reply #16 on: July 04, 2004, 09:04:27 AM »

WHat are the merist of wx 2.5.1 apart form gtk2 support? Maybe they are not worth the effort to compile amule.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule-cvs does not compile with wx 2.5.1
« Reply #17 on: July 04, 2004, 09:36:27 AM »

cpu usage drpped here about 30-40% ;)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Belegdol

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 32
Re: amule-cvs does not compile with wx 2.5.1
« Reply #18 on: July 04, 2004, 11:06:57 AM »

So not good I'm unable to compiole it. What is more, I tried to do the same with wx-2.4.2 rpms and 20040704 nightly. And I encountered a failure... Born to run linux...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule-cvs does not compile with wx 2.5.1
« Reply #19 on: July 04, 2004, 12:02:28 PM »

just check step by step again the how to....
maybe you are missing a link or something like that...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: amule-cvs does not compile with wx 2.5.1
« Reply #20 on: July 07, 2004, 12:14:33 AM »

Well, I'm out of ideas...
I cleaned wx from my system, then recompiled wxGTK 2.5.1 and libcrypto 5.1:

$ ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root      3 2004-05-09 19:32 /usr/bin/wxvlc -> vlc*
$ ls -l /usr/local/bin/wx*
/usr/bin/ls: /usr/local/bin/wx*: No such file or directory

no wx present, ok.


-- I installed wxGTK 2.5.1:
tar jxf wxGTK-2.5.1.tar.bz2
cd wxGTK-2.5.1
./configure --prefix=/usr --enable-gtk2 --disable-gtk --disable-debug --disable-unicode
make

as root:
make install && ldconfig


-- now libcrypto 5.1
tar jxf crypto-5.1.tar.bz2
cd crypto-5.1
make

as root:
make install && ldconfig


$ ls -l /usr/bin/wx*
lrwxrwxrwx  1 root root     17 2004-07-06 23:14 /usr/bin/wx-config -> wxgtk2-2.5-config*
-rwxr-xr-x  1 root root  10664 2004-07-06 23:14 /usr/bin/wxgtk2-2.5-config*
lrwxrwxrwx  1 root root      3 2004-05-09 19:32 /usr/bin/wxvlc -> vlc*

seems ok...


-- then for aMule:
tar jxf aMule-cvs-20040706.tar.bz2
cd amule-cvs
./configure --prefix=/usr --enable-debug --enable-debug-syms --disable-optimise --enable-webserver --enable-amulecmd --disable-wxcas --disable-cas
make

And I always get this, I tryed various configure flags and I always get this error...
g++  -I/usr/include/ -D__CRYPTO_MDK_SUSE_FC__ -Wall -g -ggdb -fno-inline -D__DEBUG__     -o alc  alc-alc.o alc-alcframe.o alc-alchash.o alc-alcpix.o alc-md4.o -pthread -lwx_gtk2_html-2.5 -lwx_gtk2_adv-2.5 -lwx_gtk2_core-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2_core-2.5.so: undefined reference to `_gtk_accel_group_detach'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2_core-2.5.so: undefined reference to `_gtk_accel_group_attach'
/usr/lib/gcc-lib/i486-slackware-linux/3.3.4/../../../libwx_gtk2_core-2.5.so: undefined reference to `_gtk_rc_context_get_default_font_name'
collect2: ld returned 1 exit status
make[6]: *** [alc] Error 1
make[6]: Leaving directory `/home/frankk/amule-cvs/src/utils/aLinkCreator/src'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/home/frankk/amule-cvs/src/utils/aLinkCreator'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/frankk/amule-cvs/src/utils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/frankk/amule-cvs/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/frankk/amule-cvs/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/frankk/amule-cvs'
make: *** [all] Error 2

Any ideas?
Logged

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amule-cvs does not compile with wx 2.5.1
« Reply #21 on: July 07, 2004, 12:34:20 AM »

i'm trying it now.. linkcreator compiles fine with wx2.4.2 but maybe not under wx2.5.1+gtk2

deltaHF

  • Evil Admin
  • Former Developer
  • Hero Member
  • *****
  • Karma: 6
  • Offline Offline
  • Posts: 3920
  • .. Legends may sleep, but they never die ..
    • http://www.amule.org
Re: amule-cvs does not compile with wx 2.5.1
« Reply #22 on: July 07, 2004, 12:37:58 AM »

nope.. everything ok here.

i really need to install slack10 .. seems theres smth not ok

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: amule-cvs does not compile with wx 2.5.1
« Reply #23 on: July 07, 2004, 04:35:02 AM »

deltaHF tryed to solve this problem on my box (thank you deltaHF), but it only works with gtk1, it seems that it is a problem with gtk 2.4.x since on other distro amule-cvs+wxgtk2.5.1+gtk2.2.x works well.

If someone can confim this please post a reply here.
Thanks.
Frankk.
Logged

C4p

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
slack here too
« Reply #24 on: July 07, 2004, 05:45:09 AM »

I'm running slack 10.0 too, I get the same error with wxGTK 2.5.1 and I can compile it with 2.5.2 but whenever amule tries to connect to a server it just crashes

last cvs tried: aMule-cvs-20040706

error output:

Code: [Select]
wxSOCKET_CONNECTION
Connection Event from 2.53.241.62 : 4242

OOPS! - Seems like aMule crashed
--== BACKTRACE FOLLOWS: ==--

[0] amule(_ZN9CamuleApp16OnFatalExceptionEv+0x5a) [0x82bee2c]
[1] /usr/lib/libwx_base-2.5.so.2(wxFatalSignalHandler+0x26) [0x40558716]
[2] /lib/libpthread.so.0 [0x40c4cbe5]
[3] /lib/libc.so.6 [0x40cbb078]
[4] amule(_ZN13CServerSocket9OnConnectE13wxSocketError+0x1bf) [0x828cadd]
[5] amule(_ZN20CServerSocketHandler19ServerSocketHandlerER13wxSocketEvent+0x8b) [0x82901dd]
[6] /usr/lib/libwx_base-2.5.so.2(_ZNK12wxAppConsole11HandleEventEP12wxEvtHandlerMS0_FvR7wxEventES3_+0x31) [0x404be371]
[7] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler21ProcessEventIfMatchesERK21wxEventTableEntryBasePS_R7wxEvent+0x6f) [0x40552fbf]
[8] /usr/lib/libwx_base-2.5.so.2(_ZN16wxEventHashTable11HandleEventER7wxEventP12wxEvtHandler+0x88) [0x40552358]
[9] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler12ProcessEventER7wxEvent+0xc4) [0x40553164]
[10] /usr/lib/libwx_base-2.5.so.2(_ZN12wxEvtHandler20ProcessPendingEventsEv+0x70) [0x40552f00]
[11] /usr/lib/libwx_base-2.5.so.2(_ZN12wxAppConsole20ProcessPendingEventsEv+0x63) [0x404be2d3]
[12] /usr/lib/libwx_gtk2_core-2.5.so.2 [0x40236d40]
[13] /usr/lib/libglib-2.0.so.0 [0x4099b313]
[14] /usr/lib/libglib-2.0.so.0 [0x40997f72]
[15] /usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x98) [0x40999048]
[16] /usr/lib/libglib-2.0.so.0 [0x40999380]
[17] /usr/lib/libglib-2.0.so.0(g_main_loop_run+0x183) [0x409999c3]
[18] /usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb3) [0x40698e13]
[19] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN11wxEventLoop3RunEv+0x55) [0x4024e9d5]
[20] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN9wxAppBase8MainLoopEv+0x49) [0x402d4a39]
[21] /usr/lib/libwx_gtk2_core-2.5.so.2(_ZN9wxAppBase5OnRunEv+0x1b) [0x402d4b9b]
[22] /usr/lib/libwx_base-2.5.so.2(_Z7wxEntryRiPPc+0x51) [0x404fea61]
[23] amule(main+0x1f) [0x82b9bad]
[24] /lib/libc.so.6(__libc_start_main+0xc6) [0x40ca7936]
[25] amule(_ZNK10wxTextCtrl12GetSelectionEPlS0_+0x8d) [0x8155631]
Aborted

donno if this helps

[]
Logged

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: amule-cvs does not compile with wx 2.5.1
« Reply #25 on: July 07, 2004, 11:43:25 AM »

I tryed wxgtk 2.5.2 too some time ago and amule crashed immediately after I started it (probably connecting to server).
We have to wait wxgtk 2.5.3 for gtk2 or continue using gtk1...
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule-cvs does not compile with wx 2.5.1
« Reply #26 on: July 07, 2004, 11:47:18 AM »

yeah

wxGTK 2.5.2 sux bad so that wont work with amule... wx2.5.3 is hopefully better

with 2.5.1 you guys can install it also in a seperate place...
and tehn use the configure option --with-wx-config.... to point amule to the "other" config file...

it works here without problems...

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."

Frankk

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 142
    • http://frankk.no-ip.com
Re: amule-cvs does not compile with wx 2.5.1
« Reply #27 on: July 07, 2004, 12:58:55 PM »

@ stefanero:

thanks for the hint, but the problem is that amule seems not to compile on wxgtk-2.5.1+gtk-2.4.x
So that will not solve.
I'm using wxgtk-2.5.1+gtk1 now.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: amule-cvs does not compile with wx 2.5.1
« Reply #28 on: July 07, 2004, 01:09:05 PM »

ohh ok :)

stefanero
Logged
In its default setup, Windows XP on the Internet amounts to a car
parked in a bad part of town, with the doors unlocked, the key in
the ignition and a Post-It note on the dashboard saying, "Please
don't steal this."
Pages: 1 [2]