aMule Forum

English => Compilation problems => Topic started by: Trui76 on October 27, 2005, 07:21:11 PM

Title: problems with wxwidgets
Post by: Trui76 on October 27, 2005, 07:21:11 PM
When I try to compile the newest CVS, because of the KAD support, I get an error when running configure, saying: "Support for large files in wxWidgets is required by aMule. To continue you must recompile wxWidgets with support for large files enabled." I got wxWidgets from the debian package website because of the great size of the tarball of the program. Is there some way I can get aMule compiling, without having to compile wxWidgets (takes hours and you have to install dozens of other programs to let it work). Cheers.   :)

I'm using Ubuntu Linux 5.04 (Hoary Hedgehog)
Title: Re: problems with wxwidgets
Post by: stefanero on October 27, 2005, 07:51:50 PM
if ubuntu does it wrong, i guess you have no other choice then recomile the whole thing...
Title: Re: problems with wxwidgets
Post by: Trui76 on October 27, 2005, 08:09:09 PM
Really  ;( that will take hours  ;(
Title: Re: problems with wxwidgets
Post by: Vollstrecker on October 27, 2005, 10:24:22 PM
And after that (few) hours you can use amule for month (maybe years).
Title: Re: problems with wxwidgets
Post by: mithrandir77 on October 28, 2005, 09:47:16 AM
I have the same problem (on Suse 10 which i'm trying... to resolve webserver problem too :-D)...

I have installed every library needed and in amule's configure i receive this error.

But in wxGTK this option (large file for wxWidgets) is as default and i don't disable it.
 ?(
Title: Re: problems with wxwidgets
Post by: stefanero on October 28, 2005, 12:00:47 PM
did you use the wxGTK from suse? or did you REMOVE them and compiled it yourself?
if I remember right, last time you also had TWO wxGTK installed ;)
Title: Re: problems with wxwidgets
Post by: mithrandir77 on October 28, 2005, 12:46:30 PM
Quote
Originally posted by stefanero
did you use the wxGTK from suse? or did you REMOVE them and compiled it yourself?
if I remember right, last time you also had TWO wxGTK installed ;)

 :]

I forgot it... It can't find wxGTK and i don't remember to check if it was installed...  :]  :P

I will uninstall it and reinstall the source  ;)
Title: Re: problems with wxwidgets
Post by: bizulk on January 20, 2006, 10:58:38 AM
I have the same problem with Suse Linux 9.2
Can you tell me please how to recompile the wxwidgets with the right options ?
Many thanks.
Title: Re: problems with wxwidgets
Post by: Gerd78 on January 20, 2006, 11:11:28 AM
The error message is not necessarily correct. I don't believe that *any* of the people here has wxWidgets without large file support because it's actually really difficult to compile it without large file support. Could you people please post the *complete* error message, i.e. the last ~10 lines of the ./configure output.
Title: Re: problems with wxwidgets
Post by: Ramiro on January 20, 2006, 02:49:01 PM
Well, I've compiled wxbase from CVS and had to add the option --enable-largefile. It is disabled by default.

Regards
Ramiro
Title: Re: problems with wxwidgets
Post by: bizulk on January 20, 2006, 05:04:41 PM
Code: [Select]
checking for wxWidgets version >= 2.6.0... no (version 2.5.2 is not new enough)
checking that wxWidgets has support for large files... no
configure: error:
                Support for large files in wxWidgets is required by aMule.
                To continue you must recompile wxWidgets with support for
                large files enabled.

Ok.... I've just seen that in fact the real problem is my wxwidgets version.  ;(
Before any other question I'll try to compile wxwidget and install it (where ?) and try to comile once again.
Title: Re: problems with wxwidgets
Post by: stefanero on January 20, 2006, 05:10:15 PM
http://www.amule.org/wiki/index.php/Compilation_Installation

^^ cool page
Title: Re: problems with wxwidgets
Post by: Gerd78 on February 06, 2006, 02:15:18 AM
This is the relevant line:
Code: [Select]
checking for wxWidgets version >= 2.6.0... no (version 2.5.2 is not new enough)You don't have any wxWidgets at all or a version that is too old.

These lines
Code: [Select]
checking that wxWidgets has support for large files... no
configure: error:
                Support for large files in wxWidgets is required by aMule.
                To continue you must recompile wxWidgets with support for
                large files enabled.
can be simply ignored. They are misleading because missing large file support is not the real problem here.

Large file support is the default for most wxWidgets port on systems with glibc >= 2.1, but I don't know about wxBase.

EDIT: This is already changed in current CVS, sorry for not looking at it earlier. The configure output is more intuitive now.