I am trying to compile SDL_ttf-2.0.6 with MSYS-1.0.9 running under Win98SE.
I use MSYS to build my development tools. (I use Dev-C+±4.9.8.5 as the IDE
for my own apps.) With MSYS I have built wxWindows and SDL-1.2.6
(successfully, I think). I’m testing my SDL build with some demos which
also require SDL_ttf.
I previously installed the Developer files for FreeType 2.1.5 (I used the
FreeType Setup program), and I find libfreetype.a, libfreetype.dll.a, etc.
in the \GnuWin32\lib directory. I unzipped the SDL_ttf files to
\SDL_ttf-2.0.6, but when I use MSYS to run ./configure from that directory,
I get the error message “Unable to find FreeType2 library.”
I’m guessing that ./configure is looking for the libfreetype* files, but is
unable to find them. Do I need to modify the configure script? Add a flag
to the configure script? How does the configure script know where the
FreeType library is located?
The MSYS output from ./configure is copied below. Any assistance is
appreciated. Thanks.
Glenn-----------------------------------
user at COMPUTER /e/sdl_ttf-2.0.6
$ ./configure
loading cache ./config.cache
checking host system type… i686-pc-mingw32
checking target system type… i686-pc-mingw32
checking for a BSD compatible install… (cached) /bin/install -c
checking whether build environment is sane… yes
checking whether make sets ${MAKE}… (cached) yes
checking for working aclocal… missing
checking for working autoconf… missing
checking for working automake… missing
checking for working autoheader… missing
checking for working makeinfo… found
checking build system type… i686-pc-mingw32
checking for ranlib… (cached) ranlib
checking for gcc… (cached) gcc
checking whether the C compiler (gcc ) works… yes
checking whether the C compiler (gcc ) is a cross-compiler… no
checking whether we are using GNU C… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for ld used by GCC… (cached) e:/mingw/mingw32/bin/ld.exe
checking if the linker (e:/mingw/mingw32/bin/ld.exe) is GNU ld… (cached)
yes
checking for BSD-compatible nm… (cached) /mingw/bin/nm
checking whether ln -s works… (cached) no
checking for dlltool… (cached) dlltool
checking for as… (cached) as
checking for objdump… (cached) objdump
loading cache ./config.cache within ltconfig
checking for object suffix… o
checking for executable suffix… (cached) .exe
checking for gcc option to produce PIC… none
checking if gcc supports -c -o file.o… yes
checking if gcc supports -c -o file.lo… yes
checking if gcc supports -fno-rtti -fno-exceptions … yes
checking if gcc static flag -static works… -static
checking if the linker (e:/mingw/mingw32/bin/ld.exe) is GNU ld… yes
checking whether the linker (e:/mingw/mingw32/bin/ld.exe) supports shared
libraries… yes
checking command to parse /mingw/bin/nm output… ok
checking how to hardcode library paths into programs… immediate
checking for e:/mingw/mingw32/bin/ld.exe option to reload object files… -r
checking dynamic linker characteristics… Win32 ld.exe
checking if libtool supports shared libraries… yes
checking if package supports dlls… yes
checking whether to build shared libraries… yes
checking whether to build static libraries… yes
checking for objdir… .libs
creating libtool
loading cache ./config.cache
checking whether make sets ${MAKE}… (cached) yes
checking for gcc… (cached) gcc
checking whether the C compiler (gcc -g -O2 ) works… yes
checking whether the C compiler (gcc -g -O2 ) is a cross-compiler… no
checking whether we are using GNU C… (cached) yes
checking whether gcc accepts -g… (cached) yes
checking for a BSD compatible install… /bin/install -c
checking how to run the C preprocessor… gcc -E
checking for working alloca.h… no
checking for alloca… yes
checking for freetype-config… no
configure: error:
*** Unable to find FreeType2 library (http://www.freetype.org/)