File: HACKING

package info (click to toggle)
guile-pg 0.16-4
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 3,592 kB
  • ctags: 465
  • sloc: sh: 9,518; ansic: 1,910; lisp: 1,704; makefile: 142
file content (35 lines) | stat: -rw-r--r-- 1,494 bytes parent folder | download | duplicates (4)
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
Please read the GNU Coding Standards.  We try to conform to these.
If there are any violations of them then please let us know.

One exception is the provision of non-ANSI function prototypes, which
Guile doesn't do.  Since you can't build a working Guile without an ANSI
C compiler it's no great problem that you can't build guile-pg either.

Quick start:

 $ CVSROOT=':pserver:anonymous@cvs.glug.org:/home/ttn/cvsroot'
 $ export CVSROOT
 $ cvs login			# type RET (empty password)
 $ cvs co guile-pg
 $ cd guile-pg
 $ sh -x autogen.sh

See autogen.sh comments for which versions of the auto* tools to install on
your system (minimally -- probably later versions work, too).

To be able to extract (and build) documentation automatically from the source
you need a Guile that installs "guile-tools twerp2texi", such as the 1.4.1.93
(http://www.glug.org/alt/).

Please add test cases to the tests in the test/ directory, and run 'make check'
to test them.  Use script "cov" to see what new tests need to be written.

The `dist' and `distcheck' targets are supremeley useful.  To use distcheck
though you need to make sure that the shared libguile is on the load path
because distcheck runs the tests.  If libguile.so is on the load path anyway
then this is no problem, but if it's not you can use the loader's load path
environment variable.  On Linux, SunOS etc you can say:

       LD_LIBRARY_PATH=/opt/guile/lib make distcheck

Of course the Postgres server must be running when you do this.