Past the autogen.sh, onto configure and make

Mike Melanson <[email protected]> Fri, 1 Aug 2003 18:43:44 -0600 (MDT)
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <[email protected]>
Hi,
	Okay, SDL must register its macros with automake when SDL gets
installed. So I seem to be past the autogen.sh phase. ./configure is now
failing. Here are the final lines:


checking for pkg-config... /usr/local/bin/pkg-config
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
Package freetype2 was not found in the pkg-config search path.
Perhaps you should add the directory containing `freetype2.pc'
to the PKG_CONFIG_PATH environment variable
No package 'freetype2' found
 *** Libpng Support enabled
configure: error: No Backend Selected


So it can't find freetype2 even though it is present. Then in complains
about no backend being specified. configure does not offer any apparent
way to specify a backend ("./configure --help | grep backend" turns up
nothing).

	Digging through the configure[.in] script, I see that if I specify
'./configure' with no parameters, it basically has no chance of succeeding
since all of the output targets are disabled by default and it needs a
target. So './configure --enable-sdl' gets me through the configuration.

	Now for the make phase-- bombs out immediately:

[melanson@x-wing libstk]$ make
Making all in libstk
make[1]: Entering directory `/home/projects/libstk/libstk'
make  all-am
make[2]: Entering directory `/home/projects/libstk/libstk'
if /bin/sh ../libtool --mode=compile g++3.2 -DHAVE_CONFIG_H -I. -I. -I.
-I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT
-I/usr/local/include/libpng12   -I..     -g -O2 -MT application.lo -MD -MP
-MF ".deps/application.Tpo" \
  -c -o application.lo `test -f 'application.cpp' || echo
'./'`application.cpp; \
then mv ".deps/application.Tpo" ".deps/application.Plo"; \
else rm -f ".deps/application.Tpo"; exit 1; \
fi
../libtool: ../libtool: No such file or directory
make[2]: *** [application.lo] Error 1
make[2]: Leaving directory `/home/projects/libstk/libstk'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/projects/libstk/libstk'
make: *** [all-recursive] Error 1


--
	-Mike Melanson