aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Pages: [1] 2

Author Topic: configure error: wxWidgets requires support for large files  (Read 12615 times)

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
configure error: wxWidgets requires support for large files
« on: March 23, 2006, 01:18:13 AM »

I installed FC5 today, and I need to reinstall amule. I am getting this error I haven't seen before:

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.

$ rpm -q wxGTK
wxGTK-2.6.2-5.fc5

Thanks.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: configure error: wxWidgets requires support for large files
« Reply #1 on: March 23, 2006, 02:06:22 AM »

Please post the file "config.log" from the build directory as attachment. Use gzip if necessary - I need the complete file.

I know that this package *has* large file support enabled, therefore I'd like to investigate why the test fails.
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: configure error: wxWidgets requires support for large files
« Reply #2 on: March 23, 2006, 03:48:09 AM »

Probably he doens't have wx-config
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: configure error: wxWidgets requires support for large files
« Reply #3 on: March 23, 2006, 04:05:14 AM »

Yes, exactly that line is cut off. But wasn't that check recently changed to suppress the large file support error message if wx-config was missing? Or was that on HEAD only?

Anyway, wx-config is in the matching -devel package
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: configure error: wxWidgets requires support for large files
« Reply #4 on: March 23, 2006, 04:13:03 AM »

Not sure not sure. I did that change, can't recall if I backported.
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: configure error: wxWidgets requires support for large files
« Reply #5 on: March 23, 2006, 05:18:19 AM »

The change is not in the 2.1.1 tarball.

Backport (just in case there will be a 2.1.2 release):
Code: [Select]
--- configure.in
+++ configure.in
@@ -223,7 +223,17 @@
 
 # Check for wx
 AM_OPTIONS_WXCONFIG
-AM_PATH_WXCONFIG(2.6.0)
+AM_PATH_WXCONFIG(2.6.0, wxWin=1)
+if test "$wxWin" != 1; then
+ AC_MSG_ERROR([
+ wxWidgets must be installed on your system but wx-config
+ script couldn't be found. Please check that wx-config is
+ in path or specified by --with-wx-config=path flag, the
+ directory where wxWidgets libraries are installed (returned
+ by 'wx-config --libs' command) is in LD_LIBRARY_PATH or
+ equivalent variable and wxWidgets version is 2.6.0 or above.
+ ])
+fi
 AM_WXCONFIG_LARGEFILE
 
 GET_WX_VERSION
Logged

Kry

  • Ex-developer
  • Retired admin
  • Hero Member
  • *****
  • Karma: -665
  • Offline Offline
  • Posts: 5795
Re: configure error: wxWidgets requires support for large files
« Reply #6 on: March 23, 2006, 06:07:51 AM »

gonna be on 2.1.2 this weekend then.
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: configure error: wxWidgets requires support for large files
« Reply #7 on: March 23, 2006, 11:39:48 AM »

I installed the -devel package of wxGTK, but that didn't seem to install wx-config, but I found it in the source directory and added it to my path:

Code: [Select]
checking for wx-config... /usr/local/bin/wx-config
checking for wxWidgets version >= 2.6.0... no
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.

Anyone have a workaround or should I just wait until 2.1.2?

Gerd78: you still want the 'config.log'?
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: configure error: wxWidgets requires support for large files
« Reply #8 on: March 23, 2006, 03:45:30 PM »

Yes, please.

And why is your wx-config in /usr/local/bin? I doubt that it's the matching -devel package!

Is /usr/local/lib in /etc/ld.so.conf? If not, add it there, run /sbin/ldconfig as root and try again.

If it's still not working afterwards, please attach "config.log".
Logged

Ezeltje

  • Full Member
  • ***
  • Karma: 1
  • Offline Offline
  • Posts: 130
    • Home page
Re: configure error: wxWidgets requires support for large files
« Reply #9 on: March 23, 2006, 07:32:27 PM »

Got it working, thanks.
Logged

digoren

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
same problem for me !!
« Reply #10 on: April 11, 2006, 10:35:35 PM »

[root@localhost aMule-2.1.1]# ./configure && make
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether make sets $(MAKE)... (cached) yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for ranlib... ranlib
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for zlib >= 1.1.4... yes (version 1.1.4)
checking whether we need the GUI... yes
checking for wx-config... no
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.


HELP !!!!!
Logged

Gerd78

  • Hero Member
  • *****
  • Karma: 9
  • Offline Offline
  • Posts: 681
Re: configure error: wxWidgets requires support for large files
« Reply #11 on: April 11, 2006, 10:48:48 PM »

Compile wxWidgets first, then aMule.
Logged

digoren

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
dah.. that's what i did
« Reply #12 on: April 11, 2006, 10:58:56 PM »

dah.. that's what i did
Logged

digoren

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
next thing..
« Reply #13 on: April 11, 2006, 11:26:11 PM »

i removed the large file check
and ir fails in "make" :
no matching function for call to `CMD4Hash::GetHash() const'
Logged

digoren

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 10
a professional programing
« Reply #14 on: April 11, 2006, 11:43:33 PM »

The different between a 16 yrs old guy's software and a professional software is that kind of things.
If so many people have to "fight" with installing the program that's say that IT IS NOT PROFESSIONAL.
No matter why, maybe the documentation is low-level, or i don't know..

sorry,
this is not what i thought it'll be.
Logged
Pages: [1] 2