aMule Forum
English => Compilation problems => Topic started 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):
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.
-
Check (or post) your wxgtk configure output.
-
I don't see anything suspicious.
Here it is (as attachment because I is lengthy).
-
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.
-
And what about the --host=x86_64-pc-linux-gnu ?
The RPM build system may do that automatically. I don't see anything strange.
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?
-
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.
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
-
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.
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:
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
-
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).
-
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):
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... ???
-
Probably you are missing (as I was) pointing out where the wxGTK is located, in my case I had to compile amule as:
make -I/usr/local/include/wx-2.8
-
Probably you are missing (as I was) pointing out where the wxGTK is located, in my case I had to compile amule as:
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!)
-
Configure aMule using --with-wx-config=whatever/bin/wx-config to make sure it is using the correct wx.
-
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...
-
Please attach your config.log .
-
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!
:-* :'( :-*