Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 9826413

Browse files
committed
Add in Andrew's FAQs
1 parent 63481f0 commit 9826413

File tree

2 files changed

+520
-0
lines changed

2 files changed

+520
-0
lines changed

doc/IRIX-FAQ

Lines changed: 120 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,120 @@
1+
====================================================
2+
Frequently Asked Questions (FAQ) for Postgres95
3+
IRIX Specific
4+
TO BE READ IN CONJUNCTION WITH THE NORMAL FAQ
5+
====================================================
6+
last updated: Fri Oct 25 18:40:00 BST 1996
7+
8+
current maintainer: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
9+
original author: Andrew C.R. Martin (martin@biochem.ucl.ac.uk)
10+
11+
12+
Changes in this version (* = modified, + = new, - = removed):
13+
-0.*) Bugs in Postgres95 V1.08
14+
*1.3) What are the references in X11_LIB to libsocket and libnsl in
15+
src/Makefile.global?
16+
17+
This file is divided approximately as follows:
18+
1.*) Installing Postgres95
19+
2.*) Uninstalling Postgres95
20+
3.*) Extending Postgres95
21+
22+
23+
Questions answered:
24+
1.1) What extra items do I need to install Postgres95 under Irix?
25+
1.2) What changes do I need to make to src/Makefile.global?
26+
1.3) What are the references in X11_LIB to libsocket and libnsl in
27+
src/Makefile.global?
28+
1.4) Are there any other changes I should make?
29+
2.1) Why can't I move the executable files?
30+
31+
----------------------------------------------------------------------
32+
Section 1: Installing Postgres95
33+
----------------------------------------------------------------------
34+
35+
1.1) What extra items do I need to install Postgres95 under Irix?
36+
37+
You *must* have the following installed:
38+
a) Gnu make (installed as gmake)
39+
40+
You are recommended to install the following:
41+
a) GNU install (installed as ginstall)
42+
43+
You may choose to install the following:
44+
a) GNU readline library (if you wish psql to have readline
45+
support).
46+
b) tcl/tk (if you wish to compile pgtclsh)
47+
48+
1.2) What changes do I need to make to src/Makefile.global?
49+
50+
You *must* set the following variables:
51+
PORTNAME= irix5
52+
IPCSDIR= /usr/sbin
53+
54+
You will also need to change the following to match your own
55+
installation:
56+
SRCDIR
57+
POSTGRESDIR
58+
59+
If you switch on the USE_TCL option, you will need to set these:
60+
TCL_INCDIR=
61+
TCL_LIBDIR=
62+
TCL_LIB =
63+
TK_INCDIR=
64+
TK_LIBDIR=
65+
TK_LIB =
66+
67+
You may also make any other changes you need as documented in
68+
the INSTALL file and in Makefile.global
69+
70+
1.3) What are the references in X11_LIB to libsocket and libnsl in
71+
src/Makefile.global?
72+
73+
This was a problem in 1.08 (they are Sun Solaris specific).
74+
It is fixed in 1.09.
75+
76+
1.4) Are there any other changes I should make?
77+
78+
If you have installed the GNU install program (ginstall), you
79+
should edit src/mk/port/postgres.mk.irix5
80+
and change the line:
81+
INSTALL=/usr/bin/X11/bsdinst
82+
to
83+
INSTALL=ginstall
84+
85+
For an explanation as to why this is a good idea, see Question 2.1
86+
87+
88+
----------------------------------------------------------------------
89+
Section 2: Deinstalling Postgres95
90+
----------------------------------------------------------------------
91+
92+
2.1) Why can't I move the executable files?
93+
94+
By default, the IRIX port uses the BSD compatible version of
95+
install from /usr/bin/X11. If you read the man page for this
96+
version of install, you will see that it is not meant for
97+
end-user use; it has the interesting side-effect of chowning
98+
files it installs to root.
99+
100+
You should still be able to delete the files as you (the
101+
postgres user) will own the directory in which they are
102+
stored.
103+
104+
The normal IRIX install program cannot be used easily as it
105+
takes its arguments in the reverse order. It is therefore
106+
recommended to use the GNU version of install (ginstall).
107+
See Question 1.4
108+
109+
110+
----------------------------------------------------------------------
111+
Section 3: Extending Postgres95
112+
----------------------------------------------------------------------
113+
3.1) How do I compile a C program to create a function for extending
114+
Postgres95
115+
116+
Here is a sample command line:
117+
118+
cc -I/usr/local/postgres95/include/ -I/usr/local/postgres95/src/backend
119+
-shared -o funcs.so funcs.c
120+

0 commit comments

Comments
 (0)