Package Details: mingw-w64-sdl2_ttf 2.0.15-1

Git Clone URL: https://aur.archlinux.org/mingw-w64-sdl2_ttf.git (read-only, click to copy)
Package Base: mingw-w64-sdl2_ttf
Description: A library that allows you to use TrueType fonts in your SDL applications (Version 2) (mingw-w64)
Upstream URL: http://libsdl.org
Licenses: MIT
Submitter: Schala
Maintainer: xantares
Last Packager: xantares
Votes: 4
Popularity: 0.068328
First Submitted: 2013-06-27 01:42
Last Updated: 2019-08-09 18:44

Latest Comments

1 2 Next › Last »

hhromic commented on 2019-08-08 19:15

Hi again,

First, thanks for bumping the package to version 2.0.15. Appreciated!

However, recently mingw-w64-sdl2 reverted back to using autotools for building. This means that this package (which recently moved to CMake build) is again broken with the following error:

CMake Error at CMakeLists.txt:24 (add_library):
  Target "SDL2_ttf" links to target "SDL2::SDL2" but the target was not
  found.  Perhaps a find_package() call is missing for an IMPORTED target, or
  an ALIAS target is missing?

Would it be possible to revert the buildsystem of this package to autotools until the mingw-w64-sdl2 package moves correctly to CMake later?

Thanks!

hhromic commented on 2019-08-04 14:16

Hello! This package is not building anymore since mingw-w64-sdl2 was upgraded to version 2.0.10-1. See the error below during the configure phase:

(...)
checking for SDL... no
checking for sdl2-config... no
checking for SDL - version >= 2.0.0... no
*** The sdl2-config script installed by SDL could not be found
*** If SDL was installed in PREFIX, make sure PREFIX/bin is in
*** your path, or set the SDL2_CONFIG environment variable to the
*** full path to sdl2-config.
configure: error: *** SDL version 2.0.0 not found!
==> ERROR: A failure occurred in build().
    Aborting...

The problem seems to be that now the mingw-w64-sdl2 package is not shipping the SDL pkgconfig files anymore as it is being built with CMake.

See this comment from https://aur.archlinux.org/packages/mingw-w64-sdl2/

edub4rt commented on 2019-07-10 14:16 @chungy Unfortunately SDL2 does not provide pkgconfig files when building for Windows with CMake (it's in their TODO), only when building with autotools generates it. I think building with CMake is more reliable than autotools, so I'm keeping as it is.

Perhaps this package needs to be updated to use CMake instead of autoconf for building as suggested by the maintainer of the main mingw-w64-sdl2 package?

The newer version 2.0.15 upstream does include CMake support in the tarball, so perhaps a version bump for this package here would be necessary for it to work with CMake.

Let me know how can I help if necessary. Thanks!

xantares commented on 2018-07-16 08:12

is your box up to date ? mingw-gcc version ? mingw-binutils version ?

xantares commented on 2018-07-14 06:39

that's weird: SDL_RWsize is a macro, not a symbol:

$ grep -nr SDL_RWsize /usr/i686-w64-mingw32/include/

/usr/i686-w64-mingw32/include/SDL2/SDL_rwops.h:184:#define SDL_RWsize(ctx) (ctx)->size(ctx)

mcerb commented on 2018-07-14 00:12

Build messages:


==> Making package: mingw-w64-sdl2_ttf 2.0.14-1 (Fri 13 Jul 2018 05:10:27 PM PDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found SDL2_ttf-2.0.14.tar.gz
==> Validating source files with md5sums...
    SDL2_ttf-2.0.14.tar.gz ... Passed
==> Extracting sources...
  -> Extracting SDL2_ttf-2.0.14.tar.gz with bsdtar
==> Removing existing $pkgdir/ directory...
==> Starting build()...
~/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/build-i686-w64-mingw32 ~/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14
checking build system type... x86_64-pc-linux-gnu
checking host system type... i686-w64-mingw32
checking for i686-w64-mingw32-gcc... i686-w64-mingw32-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.exe
checking for suffix of executables... .exe
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-w64-mingw32-gcc accepts -g... yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... none needed
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by i686-w64-mingw32-gcc... /usr/i686-w64-mingw32/bin/ld
checking if the linker (/usr/i686-w64-mingw32/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/i686-w64-mingw32-nm -B
checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/i686-w64-mingw32/bin/ld option to reload object files... -r
checking for i686-w64-mingw32-objdump... i686-w64-mingw32-objdump
checking how to recognize dependent libraries... pass_all
checking for i686-w64-mingw32-ar... i686-w64-mingw32-ar
checking for i686-w64-mingw32-strip... i686-w64-mingw32-strip
checking for i686-w64-mingw32-ranlib... i686-w64-mingw32-ranlib
checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object... ok
checking how to run the C preprocessor... i686-w64-mingw32-gcc -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 dlfcn.h... no
checking for i686-w64-mingw32-as... i686-w64-mingw32-as
checking for i686-w64-mingw32-dlltool... i686-w64-mingw32-dlltool
checking for i686-w64-mingw32-objdump... (cached) i686-w64-mingw32-objdump
checking for objdir... .libs
checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-w64-mingw32-gcc option to produce PIC... -DDLL_EXPORT -DPIC
checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works... yes
checking if i686-w64-mingw32-gcc static flag -static works... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... yes
checking if i686-w64-mingw32-gcc supports -c -o file.o... (cached) yes
checking whether the i686-w64-mingw32-gcc linker (/usr/i686-w64-mingw32/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... Win32 ld.exe
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for i686-w64-mingw32-strip... (cached) i686-w64-mingw32-strip
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of i686-w64-mingw32-gcc... gcc3
checking for i686-w64-mingw32-gcc... (cached) i686-w64-mingw32-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether i686-w64-mingw32-gcc accepts -g... (cached) yes
checking for i686-w64-mingw32-gcc option to accept ISO C89... (cached) none needed
checking whether make sets $(MAKE)... (cached) yes
checking for windres... no
checking for i686-w64-mingw32-windres... i686-w64-mingw32-windres
checking for freetype-config... /usr/i686-w64-mingw32/bin/freetype-config
../configure: line 11776: /usr/i686-w64-mingw32/bin/freetype-config: No such file or directory
../configure: line 11777: /usr/i686-w64-mingw32/bin/freetype-config: No such file or directory
checking for i686-w64-mingw32-pkg-config... /usr/bin/i686-w64-mingw32-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for SDL... yes
checking for OpenGL support... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating SDL2_ttf.spec
config.status: creating SDL2_ttf.pc
config.status: executing libtool commands
config.status: executing depfiles commands
/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2  -I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main  -DHAVE_OPENGL -no-undefined -release 2.0 -version-info 14:0:14 -Wl,version.o  -o libSDL2_ttf.la -rpath /usr/i686-w64-mingw32/lib SDL_ttf.lo  -lfreetype  -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows 
libtool: link: rm -fr  .libs/libSDL2_ttf.dll.a
libtool: link: i686-w64-mingw32-gcc -shared  .libs/SDL_ttf.o   -lfreetype -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2  -Wl,version.o -mwindows   -o .libs/SDL2_ttf.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libSDL2_ttf.dll.a
.libs/SDL_ttf.o:SDL_ttf.c:(.text+0x5c1): undefined reference to `SDL_RWsize'
collect2: error: ld returned 1 exit status
make: *** [Makefile:463: libSDL2_ttf.la] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
2018-07-13 17:10:44,454 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf

config.log:


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was generated by GNU Autoconf 2.69. Invocation command line was

$ ../configure --host=i686-w64-mingw32 --target=i686-w64-mingw32 --build=x86_64-pc-linux-gnu --prefix=/usr/i686-w64-mingw32 --libdir=/usr/i686-w64-mingw32/lib --includedir=/usr/i686-w64-mingw32/include --enable-shared --enable-static --disable-sdltest --with-freetype-prefix=/usr/i686-w64-mingw32

---------
Platform.
---------

hostname = sackville uname -m = x86_64 uname -r = 4.17.3-1-ARCH uname -s = Linux uname -v = #1 SMP PREEMPT Tue Jun 26 04:42:36 UTC 2018

/usr/bin/uname -p = unknown /bin/uname -X = unknown

/bin/arch = unknown /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown

PATH: /usr/local/sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /usr/lib/jvm/default/bin PATH: /usr/bin/site_perl PATH: /usr/bin/vendor_perl PATH: /usr/bin/core_perl

-----------
Core tests.
-----------

configure:2434: checking build system type configure:2448: result: x86_64-pc-linux-gnu configure:2468: checking host system type configure:2481: result: i686-w64-mingw32 configure:2509: checking for i686-w64-mingw32-gcc configure:2525: found /usr/bin/i686-w64-mingw32-gcc configure:2536: result: i686-w64-mingw32-gcc configure:2805: checking for C compiler version configure:2814: i686-w64-mingw32-gcc --version >&5 i686-w64-mingw32-gcc (GCC) 8.1.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2825: $? = 0 configure:2814: i686-w64-mingw32-gcc -v >&5 Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/8.1.0/lto-wrapper Target: i686-w64-mingw32 Configured with: /home/pluto/.cache/aurman/mingw-w64-gcc/src/gcc/configure --prefix=/usr --libexecdir=/usr/lib --target=i686-w64-mingw32 --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes --with-system-zlib --enable-cloog-backend=isl --enable-lto --disable-dw2-exceptions --enable-libgomp --disable-multilib --enable-checking=release Thread model: posix gcc version 8.1.0 (GCC) configure:2825: $? = 0 configure:2814: i686-w64-mingw32-gcc -V >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-V' i686-w64-mingw32-gcc: fatal error: no input files compilation terminated. configure:2825: $? = 1 configure:2814: i686-w64-mingw32-gcc -qversion >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? i686-w64-mingw32-gcc: fatal error: no input files compilation terminated. configure:2825: $? = 1 configure:2845: checking whether the C compiler works configure:2867: i686-w64-mingw32-gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c -lfreetype >&5 configure:2871: $? = 0 configure:2919: result: yes configure:2922: checking for C compiler default output file name configure:2924: result: a.exe configure:2930: checking for suffix of executables configure:2937: i686-w64-mingw32-gcc -o conftest.exe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c -lfreetype >&5 configure:2941: $? = 0 configure:2963: result: .exe configure:2985: checking whether we are cross compiling configure:3023: result: yes configure:3028: checking for suffix of object files configure:3050: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:3054: $? = 0 configure:3075: result: o configure:3079: checking whether we are using the GNU C compiler configure:3098: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:3098: $? = 0 configure:3107: result: yes configure:3116: checking whether i686-w64-mingw32-gcc accepts -g configure:3136: i686-w64-mingw32-gcc -c -g conftest.c >&5 configure:3136: $? = 0 configure:3177: result: yes configure:3194: checking for i686-w64-mingw32-gcc option to accept ISO C89 configure:3257: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:3257: $? = 0 configure:3270: result: none needed configure:3290: checking for a sed that does not truncate output configure:3354: result: /usr/bin/sed configure:3372: checking for grep that handles long lines and -e configure:3430: result: /usr/bin/grep configure:3435: checking for egrep configure:3497: result: /usr/bin/grep -E configure:3502: checking for fgrep configure:3564: result: /usr/bin/grep -F configure:3599: checking for ld used by i686-w64-mingw32-gcc configure:3666: result: /usr/i686-w64-mingw32/bin/ld configure:3673: checking if the linker (/usr/i686-w64-mingw32/bin/ld) is GNU ld configure:3688: result: yes configure:3700: checking for BSD- or MS-compatible name lister (nm) configure:3749: result: /usr/bin/i686-w64-mingw32-nm -B configure:3867: checking the name lister (/usr/bin/i686-w64-mingw32-nm -B) interface configure:3874: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:3877: /usr/bin/i686-w64-mingw32-nm -B "conftest.o" configure:3880: output 00000000 b .bss 00000000 d .data 00000000 N .debug_abbrev 00000000 N .debug_aranges 00000000 N .debug_info 00000000 N .debug_line 00000000 r .rdata$zzz 00000000 t .text 00000000 B some_variable configure:3887: result: BSD nm configure:3890: checking whether ln -s works configure:3894: result: yes configure:3902: checking the maximum length of command line arguments configure:4028: result: 1572864 configure:4045: checking whether the shell understands some XSI constructs configure:4055: result: yes configure:4059: checking whether the shell understands "+=" configure:4065: result: yes configure:4100: checking for /usr/i686-w64-mingw32/bin/ld option to reload object files configure:4107: result: -r configure:4136: checking for i686-w64-mingw32-objdump configure:4152: found /usr/bin/i686-w64-mingw32-objdump configure:4163: result: i686-w64-mingw32-objdump configure:4232: checking how to recognize dependent libraries configure:4430: result: pass_all configure:4450: checking for i686-w64-mingw32-ar configure:4466: found /usr/bin/i686-w64-mingw32-ar configure:4477: result: i686-w64-mingw32-ar configure:4555: checking for i686-w64-mingw32-strip configure:4571: found /usr/bin/i686-w64-mingw32-strip configure:4582: result: i686-w64-mingw32-strip configure:4654: checking for i686-w64-mingw32-ranlib configure:4670: found /usr/bin/i686-w64-mingw32-ranlib configure:4681: result: i686-w64-mingw32-ranlib configure:4811: checking command to parse /usr/bin/i686-w64-mingw32-nm -B output from i686-w64-mingw32-gcc object configure:4929: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:4932: $? = 0 configure:4936: /usr/bin/i686-w64-mingw32-nm -B conftest.o \| sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' > conftest.nm configure:4939: $? = 0 cannot find nm_test_var in conftest.nm configure:4929: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:4932: $? = 0 configure:4936: /usr/bin/i686-w64-mingw32-nm -B conftest.o \| sed -n -e 's/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]_([_A-Za-z][_A-Za-z0-9])$/\1 \2 \2/p' > conftest.nm configure:4939: $? = 0 configure:4993: i686-w64-mingw32-gcc -o conftest.exe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c conftstm.o >&5 configure:4996: $? = 0 configure:5034: result: ok configure:5843: checking how to run the C preprocessor configure:5874: i686-w64-mingw32-gcc -E conftest.c configure:5874: $? = 0 configure:5888: i686-w64-mingw32-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5888: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | / end confdefs.h. / | #include <ac_nonexistent.h> configure:5913: result: i686-w64-mingw32-gcc -E configure:5933: i686-w64-mingw32-gcc -E conftest.c configure:5933: $? = 0 configure:5947: i686-w64-mingw32-gcc -E conftest.c conftest.c:9:10: fatal error: ac_nonexistent.h: No such file or directory #include <ac_nonexistent.h> ^~~~~~~~~~~~~~~~~~ compilation terminated. configure:5947: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | / end confdefs.h. / | #include <ac_nonexistent.h> configure:5976: checking for ANSI C header files configure:5996: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:5996: $? = 0 configure:6080: result: yes configure:6093: checking for sys/types.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for sys/stat.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for stdlib.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for string.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for memory.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for strings.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for inttypes.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for stdint.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6093: checking for unistd.h configure:6093: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:6093: $? = 0 configure:6093: result: yes configure:6107: checking for dlfcn.h configure:6107: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 conftest.c:53:10: fatal error: dlfcn.h: No such file or directory #include <dlfcn.h> ^~~~~~~~~ compilation terminated. configure:6107: $? = 1 configure: failed program was: | / confdefs.h / | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define PACKAGE_URL "" | #define STDC_HEADERS 1 | #define HAVE_SYS_TYPES_H 1 | #define HAVE_SYS_STAT_H 1 | #define HAVE_STDLIB_H 1 | #define HAVE_STRING_H 1 | #define HAVE_MEMORY_H 1 | #define HAVE_STRINGS_H 1 | #define HAVE_INTTYPES_H 1 | #define HAVE_STDINT_H 1 | #define HAVE_UNISTD_H 1 | / end confdefs.h. / | #include <stdio.h> | #ifdef HAVE_SYS_TYPES_H | # include <sys types.h=""> | #endif | #ifdef HAVE_SYS_STAT_H | # include <sys stat.h=""> | #endif | #ifdef STDC_HEADERS | # include <stdlib.h> | # include <stddef.h> | #else | # ifdef HAVE_STDLIB_H | # include <stdlib.h> | # endif | #endif | #ifdef HAVE_STRING_H | # if !defined STDC_HEADERS && defined HAVE_MEMORY_H | # include <memory.h> | # endif | # include <string.h> | #endif | #ifdef HAVE_STRINGS_H | # include <strings.h> | #endif | #ifdef HAVE_INTTYPES_H | # include <inttypes.h> | #endif | #ifdef HAVE_STDINT_H | # include <stdint.h> | #endif | #ifdef HAVE_UNISTD_H | # include <unistd.h> | #endif | | #include <dlfcn.h> configure:6107: result: no configure:6128: checking for i686-w64-mingw32-as configure:6144: found /usr/bin/i686-w64-mingw32-as configure:6155: result: i686-w64-mingw32-as configure:6220: checking for i686-w64-mingw32-dlltool configure:6236: found /usr/bin/i686-w64-mingw32-dlltool configure:6247: result: i686-w64-mingw32-dlltool configure:6312: checking for i686-w64-mingw32-objdump configure:6339: result: i686-w64-mingw32-objdump configure:6589: checking for objdir configure:6604: result: .libs configure:6900: checking if i686-w64-mingw32-gcc supports -fno-rtti -fno-exceptions configure:6918: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 -fno-rtti -fno-exceptions conftest.c >&5 cc1: warning: command line option '-fno-rtti' is valid for C++/ObjC++ but not for C configure:6922: $? = 0 configure:6935: result: no configure:6955: checking for i686-w64-mingw32-gcc option to produce PIC configure:7227: result: -DDLL_EXPORT -DPIC configure:7239: checking if i686-w64-mingw32-gcc PIC flag -DDLL_EXPORT -DPIC works configure:7257: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 -DDLL_EXPORT -DPIC -DPIC conftest.c >&5 configure:7261: $? = 0 configure:7274: result: yes configure:7298: checking if i686-w64-mingw32-gcc static flag -static works configure:7326: result: yes configure:7341: checking if i686-w64-mingw32-gcc supports -c -o file.o configure:7362: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 -o out/conftest2.o conftest.c >&5 configure:7366: $? = 0 configure:7388: result: yes configure:7396: checking if i686-w64-mingw32-gcc supports -c -o file.o configure:7443: result: yes configure:7476: checking whether the i686-w64-mingw32-gcc linker (/usr/i686-w64-mingw32/bin/ld) supports shared libraries configure:8462: result: yes configure:8499: checking whether -lc should be explicitly linked in configure:8504: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 conftest.c >&5 configure:8507: $? = 0 configure:8522: i686-w64-mingw32-gcc -shared conftest.o -v -o ./conftest -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker conftest 2>\&1 \| /usr/bin/grep -lc >/dev/null 2>\&1 configure:8525: $? = 1 configure:8537: result: yes configure:8701: checking dynamic linker characteristics configure:9354: result: Win32 ld.exe configure:9456: checking how to hardcode library paths into programs configure:9481: result: immediate configure:10001: checking whether stripping libraries is possible configure:10006: result: yes configure:10041: checking if libtool supports shared libraries configure:10043: result: yes configure:10046: checking whether to build shared libraries configure:10067: result: yes configure:10070: checking whether to build static libraries configure:10074: result: yes configure:10138: checking for a BSD-compatible install configure:10206: result: /usr/bin/install -c configure:10217: checking whether build environment is sane configure:10272: result: yes configure:10331: checking for i686-w64-mingw32-strip configure:10358: result: i686-w64-mingw32-strip configure:10423: checking for a thread-safe mkdir -p configure:10462: result: /usr/bin/mkdir -p configure:10469: checking for gawk configure:10485: found /usr/bin/gawk configure:10496: result: gawk configure:10507: checking whether make sets $(MAKE) configure:10529: result: yes configure:10559: checking for style of include used by make configure:10587: result: GNU configure:10621: checking whether make supports nested variables configure:10638: result: yes configure:10719: checking dependency style of i686-w64-mingw32-gcc configure:10830: result: gcc3 configure:10856: checking for i686-w64-mingw32-gcc configure:10883: result: i686-w64-mingw32-gcc configure:11152: checking for C compiler version configure:11161: i686-w64-mingw32-gcc --version >&5 i686-w64-mingw32-gcc (GCC) 8.1.0 Copyright (C) 2018 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.</dlfcn.h></unistd.h></stdint.h></inttypes.h></strings.h></string.h></memory.h></stdlib.h></stddef.h></stdlib.h></sys></sys></stdio.h></dlfcn.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h></ac_nonexistent.h>

configure:11172: $? = 0 configure:11161: i686-w64-mingw32-gcc -v >&5 Using built-in specs. COLLECT_GCC=i686-w64-mingw32-gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-w64-mingw32/8.1.0/lto-wrapper Target: i686-w64-mingw32 Configured with: /home/pluto/.cache/aurman/mingw-w64-gcc/src/gcc/configure --prefix=/usr --libexecdir=/usr/lib --target=i686-w64-mingw32 --enable-languages=c,lto,c++,objc,obj-c++,fortran,ada --enable-shared --enable-static --enable-threads=posix --enable-fully-dynamic-string --enable-libstdcxx-time=yes --with-system-zlib --enable-cloog-backend=isl --enable-lto --disable-dw2-exceptions --enable-libgomp --disable-multilib --enable-checking=release Thread model: posix gcc version 8.1.0 (GCC) configure:11172: $? = 0 configure:11161: i686-w64-mingw32-gcc -V >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-V' i686-w64-mingw32-gcc: fatal error: no input files compilation terminated. configure:11172: $? = 1 configure:11161: i686-w64-mingw32-gcc -qversion >&5 i686-w64-mingw32-gcc: error: unrecognized command line option '-qversion'; did you mean '--version'? i686-w64-mingw32-gcc: fatal error: no input files compilation terminated. configure:11172: $? = 1 configure:11176: checking whether we are using the GNU C compiler configure:11204: result: yes configure:11213: checking whether i686-w64-mingw32-gcc accepts -g configure:11274: result: yes configure:11291: checking for i686-w64-mingw32-gcc option to accept ISO C89 configure:11367: result: none needed configure:11388: checking whether make sets $(MAKE) configure:11410: result: yes configure:11428: checking for windres configure:11458: result: no configure:11428: checking for i686-w64-mingw32-windres configure:11444: found /usr/bin/i686-w64-mingw32-windres configure:11455: result: i686-w64-mingw32-windres configure:11731: checking for freetype-config configure:11762: result: /usr/i686-w64-mingw32/bin/freetype-config configure:11788: checking for i686-w64-mingw32-pkg-config configure:11806: found /usr/bin/i686-w64-mingw32-pkg-config configure:11818: result: /usr/bin/i686-w64-mingw32-pkg-config configure:11886: checking pkg-config is at least version 0.9.0 configure:11889: result: yes configure:11927: checking for SDL configure:11935: $PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version" configure:11938: $? = 0 configure:11953: $PKG_CONFIG --exists --print-errors "sdl2 >= $min_sdl_version" configure:11956: $? = 0 configure:11992: result: yes configure:12954: checking for OpenGL support configure:12972: i686-w64-mingw32-gcc -c -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main conftest.c >&5 conftest.c: In function 'SDL_main': conftest.c:29:9: warning: unused variable 'texture' [-Wunused-variable] GLuint texture; ^~~~~~~ configure:12972: $? = 0 configure:12978: result: yes configure:13138: checking that generated files are newer than configure configure:13144: result: done configure:13171: creating ./config.status

----------------------
Running config.status.
----------------------

This file was extended by config.status, which was generated by GNU Autoconf 2.69. Invocation command line was

CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status

on sackville

config.status:1032: creating Makefile config.status:1032: creating SDL2_ttf.spec config.status:1032: creating SDL2_ttf.pc config.status:1189: executing libtool commands config.status:1189: executing depfiles commands

----------------
Cache variables.
----------------

ac_cv_build=x86_64-pc-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set=set ac_cv_env_CFLAGS_value='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2' ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set=set ac_cv_env_LIBS_value=-lfreetype ac_cv_env_PKG_CONFIG_set= ac_cv_env_PKG_CONFIG_value= ac_cv_env_SDL_CFLAGS_set= ac_cv_env_SDL_CFLAGS_value= ac_cv_env_SDL_LIBS_set= ac_cv_env_SDL_LIBS_value= ac_cv_env_XMKMF_set= ac_cv_env_XMKMF_value= ac_cv_env_build_alias_set=set ac_cv_env_build_alias_value=x86_64-pc-linux-gnu ac_cv_env_host_alias_set=set ac_cv_env_host_alias_value=i686-w64-mingw32 ac_cv_env_target_alias_set=set ac_cv_env_target_alias_value=i686-w64-mingw32 ac_cv_exeext=.exe ac_cv_header_dlfcn_h=no ac_cv_header_inttypes_h=yes ac_cv_header_memory_h=yes ac_cv_header_stdc=yes ac_cv_header_stdint_h=yes ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes ac_cv_host=i686-w64-mingw32 ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_FGREP='/usr/bin/grep -F' ac_cv_path_FREETYPE_CONFIG=/usr/i686-w64-mingw32/bin/freetype-config ac_cv_path_GREP=/usr/bin/grep ac_cv_path_PKG_CONFIG=/usr/bin/i686-w64-mingw32-pkg-config ac_cv_path_SED=/usr/bin/sed ac_cv_path_install='/usr/bin/install -c' ac_cv_path_mkdir=/usr/bin/mkdir ac_cv_prog_AR=i686-w64-mingw32-ar ac_cv_prog_AS=i686-w64-mingw32-as ac_cv_prog_AWK=gawk ac_cv_prog_CC=i686-w64-mingw32-gcc ac_cv_prog_CPP='i686-w64-mingw32-gcc -E' ac_cv_prog_DLLTOOL=i686-w64-mingw32-dlltool ac_cv_prog_OBJDUMP=i686-w64-mingw32-objdump ac_cv_prog_RANLIB=i686-w64-mingw32-ranlib ac_cv_prog_STRIP=i686-w64-mingw32-strip ac_cv_prog_WINDRES=i686-w64-mingw32-windres ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes am_cv_CC_dependencies_compiler_type=gcc3 am_cv_make_support_nested_variables=yes lt_cv_deplibs_check_method=pass_all lt_cv_file_magic_cmd=func_win32_libid lt_cv_file_magic_test_file= lt_cv_ld_reload_flag=-r lt_cv_nm_interface='BSD nm' lt_cv_objdir=.libs lt_cv_path_LD=/usr/i686-w64-mingw32/bin/ld lt_cv_path_NM='/usr/bin/i686-w64-mingw32-nm -B' lt_cv_prog_compiler_c_o=yes lt_cv_prog_compiler_pic_works=yes lt_cv_prog_compiler_rtti_exceptions=no lt_cv_prog_compiler_static_works=yes lt_cv_prog_gnu_ld=yes lt_cv_sys_global_symbol_pipe='sed -n -e '\''s/^.[ ]([ABCDGIRSTW][ABCDGIRSTW])[ ][ ]_([_A-Za-z][_A-Za-z0-9])$/\1 _\2 \2/p'\''' lt_cv_sys_global_symbol_to_c_name_address='sed -n -e '\''s/^: ([^ ]) $/ {\"\1\", (void ) 0},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {"\2", (void ) \&\2},/p'\''' lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='sed -n -e '\''s/^: ([^ ]) $/ {\"\1\", (void ) 0},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) (lib[^ ])$/ {"\2", (void ) \&\2},/p'\'' -e '\''s/^[ABCDGIRSTW] ([^ ]) ([^ ])$/ {"lib\2", (void ) \&\2},/p'\''' lt_cv_sys_global_symbol_to_cdecl='sed -n -e '\''s/^T . (.)$/extern int \1();/p'\'' -e '\''s/^[ABCDGIRSTW] . (.*)$/extern char \1;/p'\''' lt_cv_sys_max_cmd_len=1572864 pkg_cv_SDL_CFLAGS='-I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main ' pkg_cv_SDL_LIBS='-L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows '

-----------------
Output variables.
-----------------

ACLOCAL='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/missing aclocal-1.13' ALLOCA='' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' AMTAR='$${TAR-tar}' AM_BACKSLASH='\' AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)' AM_DEFAULT_VERBOSITY='1' AM_V='$(V)' AR='i686-w64-mingw32-ar' AS='i686-w64-mingw32-as' AUTOCONF='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/missing autoconf' AUTOHEADER='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/missing autoheader' AUTOMAKE='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/missing automake-1.13' AWK='gawk' BINARY_AGE='14' CC='i686-w64-mingw32-gcc' CCDEPMODE='depmode=gcc3' CFLAGS='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2 -I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main -DHAVE_OPENGL' CPP='i686-w64-mingw32-gcc -E' CPPFLAGS='' CYGPATH_W='echo' DEFS='-DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL2_ttf\" -DVERSION=\"2.0.14\"' DEPDIR='.deps' DLLTOOL='i686-w64-mingw32-dlltool' DSYMUTIL='' DUMPBIN='' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='.exe' FGREP='/usr/bin/grep -F' FREETYPE_CONFIG='/usr/i686-w64-mingw32/bin/freetype-config' GL_LIBS='-lopengl32' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' INTERFACE_AGE='0' LD='/usr/i686-w64-mingw32/bin/ld' LDFLAGS='' LIBOBJS='' LIBS='-lfreetype -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows ' LIBTOOL='$(SHELL) $(top_builddir)/libtool' LIPO='' LN_S='ln -s' LTLIBOBJS='' LT_AGE='14' LT_CURRENT='14' LT_RELEASE='2.0' LT_REVISION='0' MAJOR_VERSION='2' MAKEINFO='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/missing makeinfo' MATHLIB='' MICRO_VERSION='14' MINOR_VERSION='0' MKDIR_P='/usr/bin/mkdir -p' NM='/usr/bin/i686-w64-mingw32-nm -B' NMEDIT='' OBJDUMP='i686-w64-mingw32-objdump' OBJEXT='o' OTOOL64='' OTOOL='' PACKAGE='SDL2_ttf' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_URL='' PACKAGE_VERSION='' PATH_SEPARATOR=':' PKG_CONFIG='/usr/bin/i686-w64-mingw32-pkg-config' RANLIB='i686-w64-mingw32-ranlib' SDL2_CONFIG='pkg-config sdl2' SDL_CFLAGS='-I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main ' SDL_LIBS='-L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows ' SDL_VERSION='2.0.0' SED='/usr/bin/sed' SET_MAKE='' SHELL='/bin/sh' STRIP='i686-w64-mingw32-strip' USE_VERSION_RC_FALSE='#' USE_VERSION_RC_TRUE='' VERSION='2.0.14' WINDRES='i686-w64-mingw32-windres' XMKMF='' X_CFLAGS='' X_EXTRA_LIBS='' X_LIBS='' X_PRE_LIBS='' ac_ct_CC='' ac_ct_DUMPBIN='' amEXEEXT_FALSE='#' amEXEEXT_TRUE='' amfastdepCC_FALSE='#' amfastdepCC_TRUE='' aminclude='include' amisrc=' -I$(srcdir)' amleading_dot='.' amnodep='_no' amquote='' amtar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -' bindir='${exec_prefix}/bin' build='x86_64-pc-linux-gnu' build_alias='x86_64-pc-linux-gnu' build_cpu='x86_64' build_os='linux-gnu' build_vendor='pc' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host='i686-w64-mingw32' host_alias='i686-w64-mingw32' host_cpu='i686' host_os='mingw32' host_vendor='w64' htmldir='${docdir}' includedir='/usr/i686-w64-mingw32/include' infodir='${datarootdir}/info' install_sh='${SHELL} /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf/src/SDL2_ttf-2.0.14/install-sh' libdir='/usr/i686-w64-mingw32/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' lt_ECHO='echo' mandir='${datarootdir}/man' mkdir_p='$(MKDIR_P)' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr/i686-w64-mingw32' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='i686-w64-mingw32'

-----------
confdefs.h.
-----------

/ confdefs.h /

define PACKAGE_NAME ""
define PACKAGE_TARNAME ""
define PACKAGE_VERSION ""
define PACKAGE_STRING ""
define PACKAGE_BUGREPORT ""
define PACKAGE_URL ""
define STDC_HEADERS 1
define HAVE_SYS_TYPES_H 1
define HAVE_SYS_STAT_H 1
define HAVE_STDLIB_H 1
define HAVE_STRING_H 1
define HAVE_MEMORY_H 1
define HAVE_STRINGS_H 1
define HAVE_INTTYPES_H 1
define HAVE_STDINT_H 1
define HAVE_UNISTD_H 1
define LT_OBJDIR ".libs/"
define PACKAGE "SDL2_ttf"
define VERSION "2.0.14"

configure: exit 0

xantares commented on 2018-07-11 17:55

full logs?

mcerb commented on 2018-07-11 17:21

With the current PKGBUILD I still get this error:


/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/freetype2  -I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main  -DHAVE_OPENGL -no-undefined -release 2.0 -version-info 14:0:14 -Wl,version.o  -o libSDL2_ttf.la -rpath /usr/i686-w64-mingw32/lib SDL_ttf.lo  -lfreetype  -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows 
libtool: link: rm -fr  .libs/libSDL2_ttf.dll.a
libtool: link: i686-w64-mingw32-gcc -shared  .libs/SDL_ttf.o   -lfreetype -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2  -Wl,version.o -mwindows   -o .libs/SDL2_ttf.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libSDL2_ttf.dll.a
.libs/SDL_ttf.o:SDL_ttf.c:(.text+0x5c1): undefined reference to `SDL_RWsize'
collect2: error: ld returned 1 exit status
make: *** [Makefile:463: libSDL2_ttf.la] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
2018-07-11 10:20:44,491 - wrappers - makepkg - ERROR - makepkg query ['makepkg', '-cf', '--noconfirm'] failed in directory /home/pluto/.cache/aurman/mingw-w64-sdl2_ttf

mcerb commented on 2018-07-09 01:18

package fails to compile with the following error:


libtool: compile:  i686-w64-mingw32-gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE_URL=\"\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DLT_OBJDIR=\".libs/\" -DPACKAGE=\"SDL2_ttf\" -DVERSION=\"2.0.14\" -I. -I.. -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions --param=ssp-buffer-size=4 -I/usr/i686-w64-mingw32/include/SDL2 -Dmain=SDL_main -DHAVE_OPENGL -MT SDL_ttf.lo -MD -MP -MF .deps/SDL_ttf.Tpo -c ../SDL_ttf.c  -DDLL_EXPORT -DPIC -o .libs/SDL_ttf.o
../SDL_ttf.c:27:10: fatal error: ft2build.h: No such file or directory
 #include <ft2build.h>
          ^~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:505: SDL_ttf.lo] Error 1
==> ERROR: A failure occurred in build().
    Aborting...
</ft2build.h>

using the following command:


make CFLAGS="-I/usr/x86_64-w64-mingw32/include/freetype2 -I/usr/x86_64-w64-mingw32/include/SDL -lfreetype"
I get past this error to another one:

/bin/sh ./libtool  --tag=CC   --mode=link i686-w64-mingw32-gcc  -I/usr/x86_64-w64-mingw32/include/freetype2 -I/usr/x86_64-w64-mingw32/include/SDL -lfreetype -no-undefined -release 2.0 -version-info 14:0:14 -Wl,version.o  -o libSDL2_ttf.la -rpath /usr/i686-w64-mingw32/lib SDL_ttf.lo  -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2 -mwindows 
libtool: link: rm -fr  .libs/libSDL2_ttf.dll.a
libtool: link: i686-w64-mingw32-gcc -shared  .libs/SDL_ttf.o   -lfreetype -L/usr/i686-w64-mingw32/lib -lmingw32 -lSDL2main -lSDL2  -Wl,version.o -mwindows   -o .libs/SDL2_ttf.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libSDL2_ttf.dll.a
.libs/SDL_ttf.o:SDL_ttf.c:(.text+0x5c1): undefined reference to `SDL_RWsize'
collect2: error: ld returned 1 exit status
make: *** [Makefile:463: libSDL2_ttf.la] Error 1

PureTryOut commented on 2015-08-12 14:59

@xantares Thanks that did the trick!

xantares commented on 2015-08-12 08:34

it should be mingw-w64-freetype2