First Compilation

Mike Melanson <[email protected]> Thu, 31 Jul 2003 21:31:11 -0600 (MDT)
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <[email protected]>
Hi,
	Okay, I installed FreeType2 and have been fighting with the libstk
build for a little while. It looks like I built the library. 12 megabytes?
Wow, but it strips to 577 KB which is a bit better. Right now, I am trying
to compile the samples.

	Is this someone's first experience using the autotools? There are
some telltale signs, such as Makefiles lying around in different
directories, not to mention libstk_old.tar.gz in the root, the removal of
which would shrink the archive notably. When the autotools are set up
properly, all that is required is a 'make dist' command in the main
directory and the tools actually create the distribution tarball for you
with all the necessary files (and only the necessary files).

	My biggest problem in compiling the library was that FreeType2
installed itself in /usr/local/include. libstk feels that FT2 should be in
/usr/include, probably because that's what Debian dictates. libstk's
configure script should automatically detect the correct include
directories based on the output of 'freetype-config --cflags'. Eventually,
I had to create a symbolic link from /usr/include/freetype2 ->
/usr/local/include/freetype2 because I could not coerce libstk's build
system to use the correct path.

	I will continue to do battle with the demo programs. I want a
baseline on my Linux machine before moving onto STK on DC.

--
	-Mike Melanson