aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: problems with wxwidgets  (Read 5963 times)

Trui76

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
problems with wxwidgets
« 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)
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: problems with wxwidgets
« Reply #1 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...
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."

Trui76

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: problems with wxwidgets
« Reply #2 on: October 27, 2005, 08:09:09 PM »

Really  ;( that will take hours  ;(
Logged

Vollstrecker

  • Administrator
  • Hero Member
  • *****
  • Karma: 67
  • Offline Offline
  • Posts: 1550
  • Unofficial Debian Packager
    • http://vollstreckernet.de
Re: problems with wxwidgets
« Reply #3 on: October 27, 2005, 10:24:22 PM »

And after that (few) hours you can use amule for month (maybe years).
Logged
Homefucking is killing prostitution

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: problems with wxwidgets
« Reply #4 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.
 ?(
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: problems with wxwidgets
« Reply #5 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 ;)
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."

mithrandir77

  • Jr. Member
  • **
  • Karma: 0
  • Offline Offline
  • Posts: 69
Re: problems with wxwidgets
« Reply #6 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  ;)
« Last Edit: October 28, 2005, 12:46:51 PM by mithrandir77 »
Logged

bizulk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: problems with wxwidgets
« Reply #7 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.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: problems with wxwidgets
« Reply #8 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.
Logged

Ramiro

  • Jr. Member
  • **
  • Karma: 1
  • Offline Offline
  • Posts: 71
Re: problems with wxwidgets
« Reply #9 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
Logged

bizulk

  • Newbie
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: problems with wxwidgets
« Reply #10 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.
Logged

stefanero

  • Some Support
  • Developer
  • Hero Member
  • *****
  • Karma: 8
  • Offline Offline
  • Posts: 4235
Re: problems with wxwidgets
« Reply #11 on: January 20, 2006, 05:10:15 PM »

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."

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: problems with wxwidgets
« Reply #12 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.
« Last Edit: February 06, 2006, 08:42:50 AM by Gerd78 »
Logged