
To build on Linux:
------------------

1. make sure you've got the gtk+ libraries installed on your system

2. type 'make' (without the quotes).

3. the resulting binary, 'gtkcookie', can be placed in whatever
directory you like. I recommend /usr/local/bin.

That's it!


To build on other OSes:
-----------------------

I'm still learning the intricacies of make and autoconf, wonderful tools
that they are. gtkcookie would be quite portable, except for one call to
strptime() in sys/time.h, which is not an ANSI-standard call, and therefore
not guaranteed to be on all systems.

On Linux, I know that if you add -D_XOPEN_SOURCE to your compiler flags,
(as I have done in the accompanying Makefile)
the non-ANSI compliant strptime() becomes "visible" to the compiler,
and is placed in the resulting binary.

On the Solaris and Irix systems that I have access to, strptime() is in
sys/time.h, but it appears as though different macros have to be
defined to make strptime() visible to the compiler.

If you get gtkcookie to successfully compile on your favourite OS,
could you please send me details of how you got it to work? Then,
I can include that in future distributions of gtkcookie. My e-mail
address is pq1036@110.net.

Thanks!

-Manni wood

