aMule Forum

English => Compilation problems => Topic started by: denisliber on May 05, 2005, 07:34:53 PM

Title: Mandrake 10.1 compilation problem
Post by: denisliber 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
Title: Re: Mandrake 10.1 compilation problem
Post by: deltaHF 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
Title: Re: Mandrake 10.1 compilation problem
Post by: denisliber 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
Title: Re: Mandrake 10.1 compilation problem
Post by: deltaHF on May 06, 2005, 04:20:51 PM
hi,

which rpms do you use now - 2.4.2 or 2.6.0 ?

cheers
Title: Re: Mandrake 10.1 compilation problem
Post by: denisliber 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.
Title: Re: Mandrake 10.1 compilation problem
Post by: deltaHF 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
Title: Re: Mandrake 10.1 compilation problem
Post by: denisliber 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