aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: How to work with this: wxWidgets has support for large files... no  (Read 10626 times)

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110

Hi all,

  openSUSE 11.4, I downloaded wxGTK 2.8.12, I downloaded aMule 2.2.6, I compiled wxGTK with flag --enable-largefile (then I created rpm and installed it).

But when configuring aMule I get error (I add a bit more messages):

Code: [Select]
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... yes (version 2.8.12)
checking for wxWidgets static library... no
checking if wxWidgets was built in DEBUG mode... yes
checking if wxWidgets was built in STATIC mode... no
checking which wxWidgets toolkit was selected... gtk2
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libupnp version >= 1.6.6... yes (version 1.6.10)
checking for crypto++ version >= 5.1... yes (version 5.6.1, installed)
checking if we're using the GNU C++ library... yes
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.

What can I do to please aMule?

Thank you in advance.
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: How to work with this: wxWidgets has support for large files... no
« Reply #1 on: March 30, 2011, 10:48:04 PM »

Check (or post) your wxgtk configure output.
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: How to work with this: wxWidgets has support for large files... no
« Reply #2 on: March 30, 2011, 10:58:31 PM »

I don't see anything suspicious.

Here it is (as attachment because I is lengthy).
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: How to work with this: wxWidgets has support for large files... no
« Reply #3 on: March 31, 2011, 12:23:51 AM »

Try compiling aMule SVN instead.
And what about the --host=x86_64-pc-linux-gnu ?
Btw - I never pass --enable-largefile to wx, it's the default I believe.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: How to work with this: wxWidgets has support for large files... no
« Reply #4 on: March 31, 2011, 02:48:41 AM »

And what about the --host=x86_64-pc-linux-gnu ?
The RPM build system may do that automatically. I don't see anything strange.
Quote
Btw - I never pass --enable-largefile to wx, it's the default I believe.
Me neither. I'm not familiar with rpm based distributions.

Maybe amule's config.log will shred more light?
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: How to work with this: wxWidgets has support for large files... no
« Reply #5 on: March 31, 2011, 04:51:09 PM »

Quote from: Stu Redman link=topic=18776.msg101811#msg101811
date=1301523831
And what about the --host=x86_64-pc-linux-gnu ?
The RPM build system may do that automatically. I don't see anything
strange.

I did it explictly to instruct configure for which platform I would like
to build program. I want to have optimized package for my computer.


Quote
Btw - I never pass --enable-largefile to wx, it's the default I believe.
Me neither. I'm not familiar with rpm based distributions.

Actually me neither :-) I added this option, because aMule complained
about large file option, so I thought that it might help. It didn't.

Maybe amule's config.log will shred more light?

And amule log follows
Logged

btkaos

  • Global Moderator
  • Sr. Member
  • *****
  • Karma: 110
  • Offline Offline
  • Posts: 486
  • Kaos is infinite!
Re: How to work with this: wxWidgets has support for large files... no
« Reply #6 on: March 31, 2011, 07:08:43 PM »

Quote from: Stu Redman link=topic=18776.msg101811#msg101811
date=1301523831
And what about the --host=x86_64-pc-linux-gnu ?
The RPM build system may do that automatically. I don't see anything
strange.

I did it explictly to instruct configure for which platform I would like
to build program. I want to have optimized package for my computer.
Then stop doing that, it is useless and possibly harmful.

Quote

Quote
Btw - I never pass --enable-largefile to wx, it's the default I believe.
Me neither. I'm not familiar with rpm based distributions.

Actually me neither :-) I added this option, because aMule complained
about large file option, so I thought that it might help. It didn't.

Maybe amule's config.log will shred more light?

And amule log follows
Ok that was good. Your wxwidgets installation is broken, it has nothing to do with large file support. See the log:
Code: [Select]
D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D__WXDEBUG__ -D__WXGTK__ conftest.cc
In file included from /usr/local/include/wx-2.8/wx/defs.h:21:0,
                 from /usr/local/include/wx-2.8/wx/wx.h:15,
                 from conftest.cc:18:
/usr/local/include/wx-2.8/wx/platform.h:196:22: fatal error: wx/setup.h: No such file or directory
For some reason you are using some /usr/local libs and others in /usr/lib
Logged

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: How to work with this: wxWidgets has support for large files... no
« Reply #7 on: March 31, 2011, 07:58:25 PM »

For some reason you are using some /usr/local libs and others in /usr/lib

Thank you for your help. I will try to deal with it (it is quite strange because it is just like wxGTK compiles).
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: How to work with this: wxWidgets has support for large files... no
« Reply #8 on: April 03, 2011, 07:11:52 PM »

Hi all,

  openSUSE 11.4, I downloaded wxGTK 2.8.12, I downloaded aMule 2.2.6, I compiled wxGTK with flag --enable-largefile (then I created rpm and installed it).

But when configuring aMule I get error (I add a bit more messages):

Code: [Select]
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.8.0 (--unicode=yes)... yes (version 2.8.12)
checking for wxWidgets static library... no
checking if wxWidgets was built in DEBUG mode... yes
checking if wxWidgets was built in STATIC mode... no
checking which wxWidgets toolkit was selected... gtk2
checking for x86_64-pc-linux-gnu-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libupnp version >= 1.6.6... yes (version 1.6.10)
checking for crypto++ version >= 5.1... yes (version 5.6.1, installed)
checking if we're using the GNU C++ library... yes
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.

What can I do to please aMule?

Thank you in advance.

Same problem here...cannot understand what to do...  ???
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

macias

  • Full Member
  • ***
  • Karma: 0
  • Offline Offline
  • Posts: 110
Re: How to work with this: wxWidgets has support for large files... no
« Reply #9 on: April 03, 2011, 08:13:55 PM »

Probably you are missing (as I was) pointing out where the wxGTK is located, in my case I had to compile amule as:

Code: [Select]
make -I/usr/local/include/wx-2.8
Logged

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: How to work with this: wxWidgets has support for large files... no
« Reply #10 on: April 03, 2011, 08:41:10 PM »

Probably you are missing (as I was) pointing out where the wxGTK is located, in my case I had to compile amule as:

Code: [Select]
make -I/usr/local/include/wx-2.8

But i've the problem during the ./configure and not when i make amule. (sorry for my english!)
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: How to work with this: wxWidgets has support for large files... no
« Reply #11 on: April 03, 2011, 08:46:24 PM »

Configure aMule using --with-wx-config=whatever/bin/wx-config to make sure it is using the correct wx.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: How to work with this: wxWidgets has support for large files... no
« Reply #12 on: April 04, 2011, 08:06:58 AM »

Configure aMule using --with-wx-config=whatever/bin/wx-config to make sure it is using the correct wx.

I'm 110% sure it's using the right wxconfig, it's a new config.
I'm gonna try a total new config on another pc just to be sure...
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: How to work with this: wxWidgets has support for large files... no
« Reply #13 on: April 04, 2011, 09:31:06 PM »

Please attach your config.log .
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

michelinok

  • Jr. Member
  • **
  • Karma: 2
  • Offline Offline
  • Posts: 92
Re: How to work with this: wxWidgets has support for large files... no
« Reply #14 on: April 04, 2011, 09:35:34 PM »

Please attach your config.log .

Sorry...didn't answer yet at this post...
I've solved THIS ISSUE, it was only a bad config of folders and i'm going crazy with another issue  >:(
I was writting another post with another problem.
I'm sorry, i opened another post before answering this one.

sorry again!

 :-* :'( :-*
Logged
------------------------------------------------------------------
Pump up my karma :P, i'm running amule on an ARM9!
------------------------------------------------------------------