aMule Forum

English => Compilation problems => Topic started by: macias on March 30, 2011, 10:03:49 PM

Title: How to work with this: wxWidgets has support for large files... no
Post by: macias on March 30, 2011, 10:03:49 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.
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: btkaos on March 30, 2011, 10:48:04 PM
Check (or post) your wxgtk configure output.
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: macias on March 30, 2011, 10:58:31 PM
I don't see anything suspicious.

Here it is (as attachment because I is lengthy).
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: Stu Redman 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.
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: btkaos 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?
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: macias 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
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: btkaos 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
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: macias 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).
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: michelinok 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...  ???
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: macias 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
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: michelinok 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!)
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: Stu Redman 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.
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: michelinok 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...
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: Stu Redman on April 04, 2011, 09:31:06 PM
Please attach your config.log .
Title: Re: How to work with this: wxWidgets has support for large files... no
Post by: michelinok 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!

 :-* :'( :-*