aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Problem on mac os sierra  (Read 1191 times)

bunkerok

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Problem on mac os sierra
« on: November 08, 2016, 06:21:23 PM »

hello, i have a problem, when i try to configure aMule, i have error.

Code: [Select]
Roman@MacBook-Pro ~/Downloads/aMule-2.3.2 $ ./configure --with-wx-config=../wxWidgets-3.0.2/wx-config  --enable-optimize --with-crypto-prefix=/opt/local  --with-gdlib-config=/opt/local/bin/gdlib-config  --with-libiconv-prefix=/opt/local --enable-cas --enable-webserver --enable-amulecmd --enable-amule-gui --enable-wxcas --enable-alc --enable-alcc --enable-amule-daemon --enable-geoip --with-geoip-lib=/opt/local/lib --with-geoip-headers=/opt/local/include --enable-geoip-static --enable-debug
configure: WARNING: unrecognized options: --enable-geoip-static
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin16.1.0
checking host system type... x86_64-apple-darwin16.1.0
checking if this is a FreeBSD 4 or earlier system... no
checking for g++... g++
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
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 ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for gawk... (cached) awk
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking whether make sets $(MAKE)... (cached) yes
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... -ll
checking whether yytext is a pointer... yes
checking for ranlib... ranlib
checking for a sed that does not truncate output... /usr/bin/sed
checking for bison... bison -y
checking for ranlib... (cached) ranlib
checking for strip... strip
checking for ar... ar
checking for ld... ld
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 gdlib-config... /opt/local/bin/gdlib-config
checking for gdlib version >= 2.0.0... gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
yes (version 2.2.3)
gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
gdlib-config: warning: this script is deprecated; please use the pkg-config file instead.
checking gd.h usability... yes
checking gd.h presence... no
configure: WARNING: gd.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: gd.h: proceeding with the compiler's result
checking for gd.h... yes
checking for stdbool.h that conforms to C99... yes
checking for _Bool... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for working volatile... yes
checking for zlib >= 1.1.4... yes (version 1.2.8)
checking for libpng-config... /opt/local/bin/libpng-config
checking for libpng version >= 1.2.0... yes (version 1.6.26)
checking if libpng is usable... no (failed to compile and link test program)
configure: WARNING:
        libpng >= 1.2.0 not found.
        amuleweb will be compiled but file download progress bar images will
        NOT be generated.
checking for File::Copy... ok
checking GeoIP.h usability... yes
checking GeoIP.h presence... yes
checking for GeoIP.h... yes
checking for GeoIP_open in -lGeoIP... yes
checking for the --with-toolkit option... will be automatically detected
checking for the --with-wxshared option... will be automatically detected
checking for the --with-wxdebug option... will be automatically detected
checking for the --with-wxversion option... will be automatically detected
checking for wx-config... ../wxWidgets-3.0.2/wx-config
checking for wxWidgets version >= 2.8.12 (--unicode=yes)... yes (version 3.0.2)
checking for wxWidgets static library... yes
checking if wxWidgets was built with UNICODE enabled... yes
checking if wxWidgets was built in DEBUG mode... no
checking if wxWidgets was built in STATIC mode... yes
checking which wxWidgets toolkit was selected... osx_cocoa
checking for pkg-config... /opt/local/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.20)
checking for crypto++ version >= 5.1... yes (version 5.6.5)
checking whether the C++ compiler (g++) uses strict aliasing... 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.

i do all like in instructions - http://wiki.amule.org/t/index.php?title=HowTo_compile_on_Mac

i have xcode, install macports, install libraries and tools, compiled wxWidgets 3.0.2. i also tried add --enable-largefile when i configure wxWidgets...
Logged

bunkerok

  • Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 2
Re: Problem on mac os sierra
« Reply #1 on: November 08, 2016, 06:28:36 PM »

and i can't add config.log here, because this is over 20000 characters. so https://kobra.io/#/e/-KW3yTVQ2xZZbw9SOsj0
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 164
  • Offline Offline
  • Posts: 2714
Re: Problem on mac os sierra
« Reply #2 on: November 09, 2016, 12:53:47 AM »

That test fails not because wxWidgets doesn't have support for large files but because the compiler cannot find a header: tr1/type_traits. I think it should be under /usr/include/c++/4.2.1.

You can try editing ../wxWidgets-3.0.2/include/wx/osx/config_xcode.h and append to the end:
Code: [Select]
#undef HAVE_TR1_TYPE_TRAITS
Logged
concordia cum veritate