File: INSTALL

package info (click to toggle)
gtkcookie 0.4-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 212 kB
  • ctags: 101
  • sloc: ansic: 1,498; makefile: 83; sh: 1
file content (43 lines) | stat: -rw-r--r-- 1,397 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

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

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

2. edit Makefile, if you choose. The defaults will work for most people.

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

3. type 'make install' to install the binary, cookie icons, and man pages
on your system. If you use the Makefile's defaults, everything will go in
/usr/local/bin, /usr/local/man, etc.

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