File: INSTALL

package info (click to toggle)
ygraph 0.15-3.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,124 kB
  • ctags: 1,636
  • sloc: ansic: 13,630; sh: 4,546; makefile: 589; yacc: 288; sed: 16
file content (68 lines) | stat: -rw-r--r-- 2,148 bytes parent folder | download | duplicates (3)
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

Building ygraph from source
===========================

0. If you are using the source tree directly from CVS, then run the
   following commands in the ygraph-directory:
   `gettextize -c --no-changelog --intl'
   `rm ABOUT-NLS'
   `autoreconf -i'
   If you like (or want to build a tarball) you can (should) run
   `find . -name "*~" -exec rm "{}" \;'
   to get the backup files created by this procedure removed.
1. When you got the tarball, untar it and change into the ygraph*-directory.
2. Type `./configure' in this directory.
2. Type `make' to build the executable.
3. Type `make install' to install the executable under /usr.

If you'd like to put the executable somewhere other than /usr, at the
first step use the --prefix option to the configure command, eg.
  `./configure --prefix=/opt'
will put cause the package to be put under /opt when you run `make
install'.

There is test data in the test/ directory. Once you've compiled the
ygraph executable and put it in your path, try:
  ygraph test/*.xl

To list the command-line options, use:
  ygraph --help
The `make install' command will have installed a man-page under
  <prefix>/man/man1
There is an html version of the man-page installed in
  <prefix>/share/doc/ygraph/html


Dependencies
============

To use the souce from CVS you have to have autoconf at least in version 2.57
and a recent version of automake.

The following libraries are recommended to build the ygraph executable:
    glib 1.2
    gtk 1.2
    gdk-imlib 1.9.14
    popt 1.6
    zlib1g 1.1.4
(other version numbers also may work).

In order to create html and man-page documentation,
   docbook2html
   docbook2man
can be used to compile doc/ygraph.sgml.

To produce images from ygraph plots, it may be useful to link:
   libjpeg
   libtiff
   libpng
See src/Makefile.am to include/exclude any of these.
    
Notes
=====
- To update the version number, etc, change configure.ac
- To build a statically linked version, edit src/Makefile.am to include
    ygraph_FLAGS=static
  It seems that it also requires -lpthread and -lX11 on the LIBS line,
  which were not required for the dynamically linked version.