aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Mandrake 10.1 compilation problem  (Read 3780 times)

denisliber

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Mandrake 10.1 compilation problem
« on: May 05, 2005, 07:34:53 PM »

This is the error I get:

Code: [Select]
In file included from /usr/include/wx/textfile.h:27,
                 from amule.h:40,
                 from ClientList.cpp:30:
/usr/include/wx/file.h:115: error: `wxSeekMode' has not been declared
/usr/include/wx/file.h:115: error: `wxFromStart' was not declared in this scope
/usr/include/wx/file.h: In member function `off_t wxFile::SeekEnd(off_t)':
/usr/include/wx/file.h:117: error: `wxFromEnd' undeclared (first use this function)
/usr/include/wx/file.h:117: error: (Each undeclared identifier is reported only once for each function it appears in.)
In file included from /usr/include/wx/utils.h:32,
                 from OtherFunctions.h:35,
                 from ClientList.cpp:40:
/usr/include/wx/filefn.h: At global scope:
/usr/include/wx/filefn.h:67: error: `wxFromEnd' used prior to declaration
make[3]: *** [amuled-ClientList.o] Error 1
make[3]: Leaving directory `/usr/src/liber-install/aMule-2.0.0/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/src/liber-install/aMule-2.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/liber-install/aMule-2.0.0'
make: *** [all] Error 2

any idea what it is?

thanks
Logged
--------------------------------------------------------------
W: MDK 10.1 Linux
What is XP?

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: Mandrake 10.1 compilation problem
« Reply #1 on: May 06, 2005, 07:32:13 AM »

nope. no idea because we need more info  :P

rpm -qa | grep wx

ls -l /usr/bin/wx*

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

cheers

denisliber

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: Mandrake 10.1 compilation problem
« Reply #2 on: May 06, 2005, 04:06:42 PM »

thanks!
The problem is solved, I replaced wxgtk from MDK with thouse from your site and the compilation went perfectly, aMule is running great!

thanks again
Logged
--------------------------------------------------------------
W: MDK 10.1 Linux
What is XP?

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: Mandrake 10.1 compilation problem
« Reply #3 on: May 06, 2005, 04:20:51 PM »

hi,

which rpms do you use now - 2.4.2 or 2.6.0 ?

cheers

denisliber

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: Mandrake 10.1 compilation problem
« Reply #4 on: May 07, 2005, 12:34:44 AM »

Hi!
2.4.X is not good for me, I need unicode support for hebrew
2.6.0 rpm found here was a all in one (including development files) and was declaired to fit all rpm distros. ./configure went well, but there were again compilation errors :(

so I used the good old  libwxgtk-gtk2u_2.5_3-devel and libwxgtk-gtk2u_2.5_3 for mdk from here, and as I wrote it worked perfectly.
Logged
--------------------------------------------------------------
W: MDK 10.1 Linux
What is XP?

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: Mandrake 10.1 compilation problem
« Reply #5 on: May 07, 2005, 12:37:40 AM »

hum well, if its installed well there should be no problem to compile amule..

i might be wrong, but i think you had some old wx on your sys..

do you have some time tomorrow to join irc and contact me, so we can test wx 2.6.0 under mdk?

cheers

denisliber

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 17
Re: Mandrake 10.1 compilation problem
« Reply #6 on: May 07, 2005, 01:40:03 AM »

YEs I think it will be fine tomorrow, when I enter IRC I will adress you....
In evening probably.
By
Logged
--------------------------------------------------------------
W: MDK 10.1 Linux
What is XP?