Re: First Compilation

Dirk Hörner <[email protected]> Fri, 1 Aug 2003 06:54:48 +0200 (MEST)
Newsgroups gmane.comp.embedded.stk.gui.devel
Message-ID <[email protected]>
> Mike,
> 
> I have added pkg-config configuration support to configure.in for
> freetype2 and libpng.  We still need something for boost though.  Would
Darren, you can check for different header files with
AC_CHECK_HEADERS(headerfile[, headerfile, ...])
in configure.in

For example you could use:
AC_CHECK_HEADERS(boost/signals.hpp, boost/shared_ptr.hpp,
boost/weak_ptr.hpp)

Nice to see some action at the mailinglist again :)

Going to work,
Dirk

> you have a look and let me know what you think (at configure.in
> libstk/Makefile.am and test/Makefile.am).  Is pkg-config the right
> choice, or should we use each libraries' config program
> (freetype2-config, libpng-config, etc..).
> 
> Thanks,
> 
> Darren
> 
> On Thu, 2003-07-31 at 21:31, Mike Melanson wrote:
> > 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
> > 
> > 
> > _______________________________________________
> > Libstk mailing list
> > [email protected]
> > http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk
> 
> 
> _______________________________________________
> Libstk mailing list
> [email protected]
> http://www.dvhart.com/cgi-bin/mailman/listinfo/libstk
> 

-- 
COMPUTERBILD 15/03: Premium-e-mail-Dienste im Test
--------------------------------------------------
1. GMX TopMail - Platz 1 und Testsieger!
2. GMX ProMail - Platz 2 und Preis-Qualitätssieger!
3. Arcor - 4. web.de - 5. T-Online - 6. freenet.de - 7. daybyday - 8. e-Post