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] 3

Author Topic: I can't compile amule  (Read 15101 times)

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: I can't compile amule
« Reply #15 on: March 30, 2004, 02:04:00 AM »

ls -l /usr/bin/wx*

ls -l /usr/local/bin/wx*

please the output

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #16 on: March 30, 2004, 02:34:34 AM »

Here's the output:

ls -l /usr/bin/wx*:
------------------

lrwxrwxrwx    1 root     root           17 2004-03-29 23:06 /usr/bin/wx-config -> wxbase-2.4-config
-rwxr-xr-x    1 root     root         4864 2003-11-28 13:08 /usr/bin/wxbase-2.4-config


ls -l /usr/local/bin/wx*:
-------------------
No files founded

Thx for the help  :D

---
Ragna
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: I can't compile amule
« Reply #17 on: March 30, 2004, 02:36:17 AM »

u know the answer now ? ;)

greets

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #18 on: March 30, 2004, 03:06:45 AM »

I fear not ;(

Maybe I've to have a link in /usr/local/bin/ ??

---
Ragna
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: I can't compile amule
« Reply #19 on: March 30, 2004, 11:17:12 AM »

no no.. the links must look like:
-rwxr-xr-x    1 root     root         4864 2003-11-28 13:08 /usr/bin/wxbase-2.4-config
lrwxrwxrwx    1 root     root           26 2003-12-26 19:41 /usr/bin/wxbase-config -> /usr/bin/wxbase-2.4-config
lrwxrwxrwx    1 root     root           25 2003-12-26 19:40 /usr/bin/wx-config -> /usr/bin/wxgtk-2.4-config
-rwxr-xr-x    1 root     root         5159 2003-09-21 15:14 /usr/bin/wxgtk-2.4-config


look in my sig

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #20 on: March 30, 2004, 06:24:17 PM »

I've created the link that i missed... but i didn¡t have wxgtk-2.4-config...

where it's supposed to be? I've installed all the rpms u say in your sign howto  ?(

I'm a bit confused...

---
Ragna
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: I can't compile amule
« Reply #21 on: March 30, 2004, 11:13:38 PM »

sure u installed the devel rpms too ?

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #22 on: March 30, 2004, 11:21:52 PM »

Sure, see that:

rpm -qa | grep wx
-------------------

wxGTK-2.4.0-45
wxGTK-gl-2.4.0-45
python-wxGTK-2.4.0.2-21
wxGTK-devel-2.4.0-45
wxBase-2.4.2-1

I'm going to reinstall it... maybe it was a problem during the last installation...

---
Ragna
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: I can't compile amule
« Reply #23 on: March 30, 2004, 11:46:03 PM »

i see u use a bit old wxGTK .. why don't u use the one from our dl page/portal ?

Ragna

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 6
Re: I can't compile amule
« Reply #24 on: April 22, 2004, 11:01:15 PM »

Hi, I fix the problem a few days ago.

I needed wxBase-devel for the compilation, and i have the wrong version of the other librarys. Thx guys!

---
Ragna
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: I can't compile amule
« Reply #25 on: April 22, 2004, 11:16:14 PM »

ur welcome :)

Wolfers

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: I can't compile amule
« Reply #26 on: April 23, 2004, 11:01:11 PM »

my problem is a bit different:

Quote
AddFriend.cpp:55: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
   ' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
AddFriend.cpp:56: invalid static_cast from type `void (CAddFriend::*)(wxEvent&)
   ' to type `void (wxEvtHandler::*)(wxCommandEvent&)'
make[2]: *** [amule-AddFriend.o] Error 1
make[2]: Leaving directory `/root/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-1.2.6'
make: *** [all] Error 2

im using wxBase 2.5.1 and wxGTK 2.5.1 with aMule 1.2.6 on slackware 9.0

any ideas?
Logged
-LoneWolf
-Demigod of a relm known only to himself

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: I can't compile amule
« Reply #27 on: April 23, 2004, 11:21:02 PM »

yap, wx* 2.5.1 isn't supported yet

greets

Wolfers

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 5
Re: I can't compile amule
« Reply #28 on: April 24, 2004, 09:04:52 PM »

how do i fix what ive already messed up?  i tried installing wxwidgets 2.4.2 as download in bz2 format from this site.  i deleted all source folders and re-extracted the tar balls.  and then followed deltaHFs instructions in his !!! aMule compilation / installation HOWTO  now im getting:

Code: [Select]
In file included from /usr/lib/wx/include/base-2.4/wx/setup.h:1144,
                 from /usr/local/include/wx/platform.h:101,
                 from /usr/local/include/wx/defs.h:25,
                 from /usr/local/include/wx/string.h:29,
                 from TextClient.h:21,
                 from TextClient.cpp:39:
/usr/local/include/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/local/include/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/local/include/wx/chkconf.h:905:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
In file included from /usr/local/include/wx/platform.h:104,
                 from /usr/local/include/wx/defs.h:25,
                 from /usr/local/include/wx/string.h:29,
                 from TextClient.h:21,
                 from TextClient.cpp:39:
/usr/local/include/wx/chkconf.h:55:9: #error "wxUSE_EXCEPTIONS must be defined."
/usr/local/include/wx/chkconf.h:158:9: #error "wxUSE_XML must be defined."
/usr/local/include/wx/chkconf.h:905:13: #error "wxUSE_DYNAMIC_LOADER requires wxUSE_DYNLIB_CLASS."
In file included from TextClient.h:21,
                 from TextClient.cpp:39:
/usr/local/include/wx/string.h:163:4: #error "Please define string case-insensitive compare for your OS/compiler"
make[2]: *** [amulecmd-TextClient.o] Error 1
make[2]: Leaving directory `/root/aMule-1.2.6/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/aMule-1.2.6'
make: *** [all] Error 2

i also get this during configure:

Code: [Select]
 Which libraries should aMule use?
                                       wxWindows          2.5.1  <<<<--?
                                       GTK                1.2.10

i even tried changing the configure line to specify the location of wxWindows:

Code: [Select]
./configure --disable-debug --enable-optimise --with-wx-prefix=/usr/bin/wxgtk-2.4-config --with-wx-exec-prefix=/usr/bin/wxgtk-2.4-config
no change.
Logged
-LoneWolf
-Demigod of a relm known only to himself

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: I can't compile amule
« Reply #29 on: April 24, 2004, 09:07:05 PM »

well, the way should be to "make uninstall" the 2.5.1 pkgs, not to delete the folders only ;)

greets
Pages: 1 [2] 3